Create rows in batch
POST {{baseUrl}}/cms/v3/hubdb/tables/:tableIdOrName/rows/draft/batch/create
Creates rows in the draft
version of the specified table, given an array of row objects. Maximum of 100 row object per call. See the overview section for more details with an example.
Request Body
{"inputs"=>[{"path"=>"<string>", "name"=>"<string>", "childTableId"=>"<long>", "displayIndex"=>"<integer>"}, {"path"=>"<string>", "name"=>"<string>", "childTableId"=>"<long>", "displayIndex"=>"<integer>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status":"PENDING","results":[{"values":{"ade4":{}},"id":"\u003cstring\u003e","path":"\u003cstring\u003e","name":"\u003cstring\u003e","childTableId":"\u003cstring\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","publishedAt":"\u003cdateTime\u003e"},{"values":{"Lorem_495":{}},"id":"\u003cstring\u003e","path":"\u003cstring\u003e","name":"\u003cstring\u003e","childTableId":"\u003cstring\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","publishedAt":"\u003cdateTime\u003e"}],"requestedAt":"\u003cdateTime\u003e","startedAt":"\u003cdateTime\u003e","completedAt":"\u003cdateTime\u003e","links":{"dolore_f85":"\u003cstring\u003e"}}