POST api/GtLocate/get-branches
Request Information
URI Parameters
None.
Body Parameters
LocationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Distance | integer |
Required Matching regular expression pattern: ^[0-9]+$ |
|
| Longitude | decimal number |
Required |
|
| Latitude | decimal number |
Required |
|
| TotalNumber | integer |
None. |
|
| BranchTypeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BranchTypeId": 5,
"Distance": 1,
"Latitude": 3.1,
"Longitude": 2.1,
"TotalNumber": 4
}
text/xml
Sample:
<LocationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GTWorldApp.dto"> <BranchTypeId>5</BranchTypeId> <Distance>1</Distance> <Latitude>3.1</Latitude> <Longitude>2.1</Longitude> <TotalNumber>4</TotalNumber> </LocationDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |