POST api/business/{applicationId}/setgeolocation
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| applicationId | integer |
Required |
Body Parameters
BuisnessGeoLocationRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| ApplicationId | integer |
None. |
|
| AddressId | integer |
None. |
|
| GeoLocation | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Latitude": 1.0,
"Longitude": 1.0,
"ApplicationId": 1,
"AddressId": 2,
"GeoLocation": "sample string 3"
}
application/xml, text/xml
Sample:
<BuisnessGeoLocationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.ApplicanProgramInterface.Models"> <AddressId>2</AddressId> <ApplicationId>1</ApplicationId> <GeoLocation>sample string 3</GeoLocation> <Id>1</Id> <Latitude>1</Latitude> <Longitude>1</Longitude> </BuisnessGeoLocationRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.