POST api/poi/get
Create of edit POIs
Request Information
URI Parameters
None.
Body Parameters
The CreateEditPOIRequestModel made
GetPOIRequestModelName | Description | Type | Additional information |
---|---|---|---|
Token |
The token returned after login used for authentication |
string |
None. |
UserID |
The user id returned after login used for authentication |
unsigned integer |
None. |
POIIDList |
A list of poi ids being requested |
Collection of unsigned integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "UserID": 2, "POIIDList": [ 1, 2 ] }
application/xml, text/xml
Sample:
<GetPOIRequestModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Token>sample string 1</Token> <UserID>2</UserID> <POIIDList> <unsignedLong>1</unsignedLong> <unsignedLong>2</unsignedLong> </POIIDList> </GetPOIRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A CreateEditPOIResponseModel on success
GetPOIResponseModelName | Description | Type | Additional information |
---|---|---|---|
POIList |
The list of POIs requested |
Collection of POI |
None. |
Response Formats
application/json, text/json
Sample:
{ "POIList": [ { "POIID": 1, "POIName": "sample string 2" }, { "POIID": 1, "POIName": "sample string 2" } ] }
application/xml, text/xml
Sample:
<GetPOIResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <POIList> <POI> <POIID>1</POIID> <POIName>sample string 2</POIName> </POI> <POI> <POIID>1</POIID> <POIName>sample string 2</POIName> </POI> </POIList> </GetPOIResponseModel>