How to update a row in a custom object
Audience:
•
Version: 10
Some tooltip text!
• 1 minute to read
• 1 minute to read
Request
To update a row using the DatabaseTable
agent, specify the TableName
, Id
, and Values
as body parameters.
POST https://{{env}}.superoffice.com/{{tenant}}/api/v1/Agents/DatabaseTable/UpdateRow HTTP/1.1
Authorization: Bearer {{token}}
Accept: application/json; charset=utf-8
Content-Type: application/json
{
"TableName": "y_equipment",
"Id": "2",
"Values": {
"x_company": 1,
"x_name": "printer"
}
}
For details, see the DatabaseTable agent reference.
Response
HTTP/1.1 204 No Content