POST api/CustomerPOI
Request Information
URI Parameters
None.
Body Parameters
POICreate| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| Tag | string |
None. |
|
| Name | string |
None. |
|
| Remarks | string |
None. |
|
| PostalAddress | string |
None. |
|
| IconId | integer |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Owner | integer |
None. |
|
| Radius | integer |
None. |
|
| ProximityRadius | integer |
None. |
|
| SecurityRadius | integer |
None. |
|
| SpeedLimit | integer |
None. |
|
| SendSpeedLimitAlert | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Tag": "sample string 2",
"Name": "sample string 3",
"Remarks": "sample string 4",
"PostalAddress": "sample string 5",
"IconId": 6,
"Latitude": 7.0,
"Longitude": 8.0,
"Owner": 9,
"Radius": 10,
"ProximityRadius": 11,
"SecurityRadius": 12,
"SpeedLimit": 1,
"SendSpeedLimitAlert": true
}
Response Information
Resource Description
POIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| POIs | Collection of POI |
None. |
|
| Error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"POIs": [
{
"CustomerPlacemarkId": 1,
"Id": "9113f150-28c9-458a-b287-dde74719c937",
"Tag": "sample string 3",
"Name": "sample string 4",
"IconType": "sample string 5",
"Icon": "sample string 6",
"Latitude": 7.0,
"Longitude": 8.0,
"Owner": 9,
"MarkplaceRadius": 10,
"MarkplaceProximityRadius": 11,
"Proximity": 12.1
},
{
"CustomerPlacemarkId": 1,
"Id": "9113f150-28c9-458a-b287-dde74719c937",
"Tag": "sample string 3",
"Name": "sample string 4",
"IconType": "sample string 5",
"Icon": "sample string 6",
"Latitude": 7.0,
"Longitude": 8.0,
"Owner": 9,
"MarkplaceRadius": 10,
"MarkplaceProximityRadius": 11,
"Proximity": 12.1
}
],
"Error": "sample string 1"
}