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. |
|
| IconId | integer |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Owner | integer |
None. |
|
| Radius | integer |
None. |
|
| ProximityRadius | integer |
None. |
|
| SecurityRadius | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Tag": "sample string 2",
"Name": "sample string 3",
"Remarks": "sample string 4",
"IconId": 5,
"Latitude": 6.0,
"Longitude": 7.0,
"Owner": 8,
"Radius": 9,
"ProximityRadius": 10,
"SecurityRadius": 11
}
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": "b8421c58-5c8b-45f1-92b5-2a27b05749b3",
"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": "b8421c58-5c8b-45f1-92b5-2a27b05749b3",
"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"
}