POST api/values/GetDistanceFromMyLocation
Request Information
URI Parameters
None.
Body Parameters
ForLAtitudeLongitudeData| Name | Description | Type | Additional information |
|---|---|---|---|
| numUserid | integer |
None. |
|
| distence | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"numUserid": 1,
"distence": 2.1,
"Latitude": 3.1,
"Longitude": 4.1
}
application/xml, text/xml
Sample:
<EntityObject.ForLAtitudeLongitudeData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bta_WebApi.Models"> <Latitude>3.1</Latitude> <Longitude>4.1</Longitude> <distence>2.1</distence> <numUserid>1</numUserid> </EntityObject.ForLAtitudeLongitudeData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result13OfForLAtitudeLongitudeData| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Data": [
{
"sample string 1": {},
"sample string 3": {}
},
{
"sample string 1": {},
"sample string 3": {}
}
]
}
application/xml, text/xml
Sample:
<EntityObject.Result13OfEntityObject.ForLAtitudeLongitudeDataj8zdX7jq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bta_WebApi.Models">
<Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
</Data>
<Message>sample string 2</Message>
<Status>true</Status>
</EntityObject.Result13OfEntityObject.ForLAtitudeLongitudeDataj8zdX7jq>