Bulk Create Process API
DevelopingPOST
/v1/ext/procedure/{procedureShortId}/process/bulk-createThis API allows you to create multiple processes in a single API call. This API is asynchronous - meaning the request is accepted and an acknowledgment is returned while the creates are carried out in the background. Use this API when you have to update 1000s of processes in one go.
Request Body
In the request body you need to pass a collection of process objects which are to be created. A single process object will be same as for the Create Process API.
Request
Path Params
procedureShortId
string
required
The short if of the procedure to which this process belongs
Example:
lead
Body Params application/json
array of:
lead_id
string
optional
data
object
optional
score
string
optional
city
string
optional
state
string
optional
Example
[
{
"lead_id": "EXT-TEST-143",
"data": {
"score": "105"
}
},
{
"lead_id": "EXT-TEST-164",
"data": {
"city": "Goa"
},
"state": "IN_PROGRESS"
}
]
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 3 months ago