POST api/ItemData/Change/{id}

Deprecated endpoint. It will be removed in the upcoming versions.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DataChange
NameDescriptionTypeAdditional information
Data

Operations that should be performed with specified media objects

Collection of DataChangeItem

None.

Request Formats

application/json, text/json

Sample:
{
  "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

ObjResultOfBoolean
NameDescriptionTypeAdditional 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
Data (DataChangeItem[])
Operations that should be performed with specified media objects