Waiting for engine...
Skip to main content

Bulk UPDATE operations

The Bulk UPDATE operation updates multiple API objects based on the supplied object IDs.

With a Bulk UPDATE operation, you specify the object type and up to a specific number of object IDs. The operation updates all objects having the specified IDs.

Important

Typically, the Bulk UPDATE operation can apply updates up to 100 object IDs. However, only the Process Schedules object currently supports the Bulk UPDATE operation and is limited to 15 objects.

The following example Bulk UPDATE requests are for the Process Schedules object.

Implementation

UPDATE operation

Send an HTTP POST to:

https://api.boomi.com/api/rest/v1/{accountId}/ProcessSchedules/bulk

where accountId is the ID of the authenticating account for the request.

For a JSON request, send the request with the following HTTP header:

Content-Type: application/json

Request:

{
"type": "UPDATE",
"request": [
{
"Schedule": [
{
"minutes": "20",
"hours": "8",
"daysOfWeek": "5,6",
"daysOfMonth": "*",
"months": "*",
"years": "*"
},
{
"minutes": "1",
"hours": "8",
"daysOfWeek": "5,6",
"daysOfMonth": "*",
"months": "*",
"years": "*"
}
],
"Retry": {
"Schedule": [],
"maxRetry": 2
},
"processId": "123456ab-cdef-7891-0123-45abcdef6789",
"atomId": "1a234f35-6b78-901c-2d34-f5e678f90123"
},
{
"Schedule": [],
"processId": "123456ab-cdef-7891-0123-45abcdef6789",
"atomId": "abc12345-6def-7g8h-90ij-k1l2mn345678"
}
]
}

For a JSON response, send the request with the following HTTP header:

Accept: application/json

Response:

{
"@type": "BulkResult",
"response": [
{
"@type": "BulkResponse",
"Result": {
"@type": "ProcessSchedules",
"Schedule": [
{
"@type": "Schedule",
"minutes": "20",
"hours": "8",
"daysOfWeek": "5,6",
"daysOfMonth": "*",
"months": "*",
"years": "*"
},
{
"@type": "Schedule",
"minutes": "1",
"hours": "8",
"daysOfWeek": "5,6",
"daysOfMonth": "*",
"months": "*",
"years": "*"
}
],
"Retry": {
"@type": "ScheduleRetry",
"Schedule": [],
"maxRetry": 2
},
"processId": "123456ab-cdef-7891-0123-45abcdef6789",
"atomId": "1a234f35-6b78-901c-2d34-f5e678f90123"
},
"statusCode": 200
},
{
"@type": "BulkResponse",
"Result": {
"@type": "ProcessSchedules",
"Schedule": [],
"processId": "123456ab-cdef-7891-0123-45abcdef6789",
"atomId": "abc12345-6def-7g8h-90ij-k1l2mn345678"
},
"statusCode": 200
}
]
}
On this Page