Skip to main content
POST
/
api
/
v1
/
resources
/
{resourceId}
/
updateItem
Update resource item.
curl --request POST \
  --url https://api.revong.com/api/v1/resources/{resourceId}/updateItem \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "old": {
    "itemId": "<string>",
    "key": "<string>",
    "key1": "<string>",
    "key2": "<string>",
    "intval1": 123,
    "intval2": 123,
    "intval3": 123,
    "intval4": 123,
    "intval5": 123,
    "intval6": 123,
    "intval7": 123,
    "intval8": 123,
    "intval9": 123,
    "intval10": 123,
    "bolval1": true,
    "bolval2": true,
    "bolval3": true,
    "bolval4": true,
    "bolval5": true,
    "bolval6": true,
    "bolval7": true,
    "bolval8": true,
    "bolval9": true,
    "bolval10": true,
    "numval1": 123,
    "numval2": 123,
    "numval3": 123,
    "numval4": 123,
    "numval5": 123,
    "numval6": 123,
    "numval7": 123,
    "numval8": 123,
    "numval9": 123,
    "numval10": 123,
    "numval11": 123,
    "numval12": 123,
    "numval13": 123,
    "numval14": 123,
    "numval15": 123,
    "numval16": 123,
    "numval17": 123,
    "numval18": 123,
    "numval19": 123,
    "numval20": 123,
    "strval1": "<string>",
    "strval2": "<string>",
    "strval3": "<string>",
    "strval4": "<string>",
    "strval5": "<string>",
    "strval6": "<string>",
    "strval7": "<string>",
    "strval8": "<string>",
    "strval9": "<string>",
    "strval10": "<string>",
    "strval11": "<string>",
    "strval12": "<string>",
    "strval13": "<string>",
    "strval14": "<string>",
    "strval15": "<string>",
    "strval16": "<string>",
    "strval17": "<string>",
    "strval18": "<string>",
    "strval19": "<string>",
    "strval20": "<string>",
    "strval21": "<string>",
    "strval22": "<string>",
    "strval23": "<string>",
    "strval24": "<string>",
    "strval25": "<string>",
    "strval26": "<string>",
    "strval27": "<string>",
    "strval28": "<string>",
    "strval29": "<string>",
    "strval30": "<string>",
    "dtzval1": "2023-11-07T05:31:56Z",
    "dtzval2": "2023-11-07T05:31:56Z",
    "dtzval3": "2023-11-07T05:31:56Z",
    "dtzval4": "2023-11-07T05:31:56Z",
    "dtzval5": "2023-11-07T05:31:56Z",
    "dtzval6": "2023-11-07T05:31:56Z",
    "dtzval7": "2023-11-07T05:31:56Z",
    "dtzval8": "2023-11-07T05:31:56Z",
    "dtzval9": "2023-11-07T05:31:56Z",
    "dtzval10": "2023-11-07T05:31:56Z",
    "special1": {},
    "special2": {},
    "special3": {},
    "special4": {},
    "special5": {},
    "special6": {},
    "special7": {},
    "special8": {},
    "special9": {},
    "special10": {},
    "version": 123
  },
  "new": {
    "itemId": "<string>",
    "key": "<string>",
    "key1": "<string>",
    "key2": "<string>",
    "intval1": 123,
    "intval2": 123,
    "intval3": 123,
    "intval4": 123,
    "intval5": 123,
    "bolval1": true,
    "bolval2": true,
    "bolval3": true,
    "bolval4": true,
    "bolval5": true,
    "numval1": 123,
    "numval2": 123,
    "numval3": 123,
    "numval4": 123,
    "numval5": 123,
    "numval6": 123,
    "numval7": 123,
    "numval8": 123,
    "numval9": 123,
    "numval10": 123,
    "numval11": 123,
    "numval12": 123,
    "numval13": 123,
    "numval14": 123,
    "numval15": 123,
    "strval1": "<string>",
    "strval2": "<string>",
    "strval3": "<string>",
    "strval4": "<string>",
    "strval5": "<string>",
    "strval6": "<string>",
    "strval7": "<string>",
    "strval8": "<string>",
    "strval9": "<string>",
    "strval10": "<string>",
    "strval11": "<string>",
    "strval12": "<string>",
    "strval13": "<string>",
    "strval14": "<string>",
    "strval15": "<string>",
    "dtzval1": "2023-11-07T05:31:56Z",
    "dtzval2": "2023-11-07T05:31:56Z",
    "dtzval3": "2023-11-07T05:31:56Z",
    "dtzval4": "2023-11-07T05:31:56Z",
    "dtzval5": "2023-11-07T05:31:56Z",
    "special1": {},
    "special2": {},
    "special3": {},
    "special4": {},
    "special5": {}
  },
  "return": true
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Path Parameters

resourceId
string
required

Body

application/json
old
object
required

Provide old object to replace.

new
object
required

Provide new object to replace.

return
boolean
required

Provide if you want to fetch new item as response.

Response

OK.