Batch Operations (v4 API)
Relative URL
HTTP Request Method
Parameters
Operation
Parameters
Response
{
"stop_on_error": false,
"operations": [
{
"method": "put",
"object": {
"type": "asset",
"id": "eacb4836-f1b9-11e1-9750-001cc01904e3"
},
"success": true
},
{
"method": "patch",
"object": {
"type": "asset",
"id": "44218dfe-7c3f-11e2-95e1-0026189d9dc0"
},
"success": false,
"error": {
"type": "INVALID_VALUE",
"title": "Invalid value specified.",
"detail": "Invalid option \"adsghjsd\" for field 'make'.",
"see": "https://docs.journeyapps.com/reference/backend-api/api-reference/error-responses#INVALID_VALUE"
}
},
{
"method": "delete",
"object": {
"type": "asset",
"id": "efa3886d-d9a6-4383-a2c0-c7e28a6c21d0"
},
"success": false,
"error": {
"type": "OBJECT_NOT_FOUND",
"title": "Object not found.",
"detail": "No aseset found with ID: 'efa3886d-d9a6-4383-a2c0-c7e28a6c21d0'",
"see": "https://docs.journeyapps.com/reference/backend-api/api-reference/error-responses#OBJECT_NOT_FOUND"
}
}
]
}Example
Stop on error
Last updated