POST api/auth/Location
Request Information
URI Parameters
None.
Body Parameters
GeoCodeReqName | Description | Type | Additional information |
---|---|---|---|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Latitude": 1.1, "Longitude": 2.1 }
application/xml, text/xml
Sample:
<GeoCodeReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.auth"> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </GeoCodeReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CountryResponseModelName | Description | Type | Additional information |
---|---|---|---|
CountryId | integer |
None. |
|
CountryName | string |
None. |
|
CountryCode | string |
None. |
|
ISOCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CountryId": 1, "CountryName": "sample string 2", "CountryCode": "sample string 3", "ISOCode": "sample string 4" }
application/xml, text/xml
Sample:
<CountryResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer.Response"> <CountryCode>sample string 3</CountryCode> <CountryId>1</CountryId> <CountryName>sample string 2</CountryName> <ISOCode>sample string 4</ISOCode> </CountryResponseModel>