POST api/Maps/Set
Placing Media Items on the map
Request Information
URI Parameters
None.
Body Parameters
Media Items coordinates
IdListGPSName | Description | Type | Additional information |
---|---|---|---|
Lng |
Longitude |
decimal number |
None. |
Lat |
Latitude |
decimal number |
None. |
Ids |
List of IDs |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "lng": 1.1, "lat": 2.1, "ids": [ 1, 2 ] }
Response Information
Resource Description
Result containing the flag of successful operation
ObjResultOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Data | boolean |
None. |
|
Error |
Error description |
string |
None. |
Success |
Flag of successful operation |
boolean |
None. |
ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": true, "error": "sample string 2", "success": true, "errorCode": 4 }
Parameter Information
data
Media Items coordinates
Property | Description |
---|---|
Lng (Double) |
Longitude |
Lat (Double) |
Latitude |
Ids (Int64[]) |
List of IDs |