POST api/Maps/SetPlace
Setting the Place tag for Media Items
Request Information
URI Parameters
None.
Body Parameters
Parameters of the batch operation
DataChangeBatchName | Description | Type | Additional information |
---|---|---|---|
Ids |
Identifiers of media objects for which the operations should be performed |
Collection of integer |
None. |
Delete |
Flag of items deletion |
boolean |
None. |
Data |
Operations that should be performed with specified media objects |
Collection of DataChangeItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "ids": [ 1, 2 ], "delete": true, "data": [ { "guid": "sample string 1", "value": "sample string 2", "id": 3, "remove": true }, { "guid": "sample string 1", "value": "sample string 2", "id": 3, "remove": true } ] }
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
Property | Description |
---|---|
Ids (Int64[]) |
Identifiers of media objects for which the operations should be performed |
Delete (Boolean) |
Flag of items deletion |
Data (DataChangeItem[]) |
Operations that should be performed with specified media objects |