Bulk Create Records

POST /ws/rest/service/v2/bp/record/bulk

Purpose

To create bulk BP records of Simple and Line Item BP (non-workflow) type.

There are a couple of optimizations done in this service with reference to existing v1/v2 BP Create services.

Note: The RAP will not be triggered upon creation of the records. (since 19.12.13.1)

Request Format

Authentication

Integration user authorization token is required as part of Authorization header with necessary BP Create service permission for that integration user.

The integration user token can be generated by using the Unifier Admin UI or by using API (for more information, see REST Services V1).

Header

Authorization:Bearer eyJ0eXAiOiJEQiJ9.eyJ1c2VybmFtZSI6IiQkaW50ZWcxIn0=.43E4736D-37C2-60AF-E643-C6B648DE07DD26CDA133C93F3DF5B37D129FA40232F6

Content-Type:application/json

Both input & output in JSON format in the body.

Notes:

Response Format

A JSON object is returned in the following format.

{

"data": [],

"message": [],

"status": <REST status code value>

}

A successful response displays a status code 200.

A failed response displays a message with a status code.

Sample Request

{

"options":{

"project_number":"P-0001",

"bpname":"Areas Bulk Create",

"async": true

},

"data":[

{"ugenProjectName": "P-002", "Quantity": 1.0, "uMatCost": 1.0, "ugenVendorBP": "VEN-0001","title": "AreasBulkCreate1","uem_rate": 1.0,"Assigned_To": "Company Administrator","ugenProjectNumber": "P-0001", "uriEnvironImpactPD": "Yes","CPLGrossAreaND": 0.0,"creator_id": "Company Administrator","uPracqSiteVisDateDOP": "06-05-2020 00:00:00","WaterMeterBPDP": "uwm-0000","status": "Active"},

{"ugenProjectName": "P-002", "Quantity": 2.0, "uMatCost": 1.0, "ugenVendorBP": "VEN-0001","title": "AreasBulkCreate2","uem_rate": 1.0,"Assigned_To": "Company Administrator","ugenProjectNumber": "P-0001", "uriEnvironImpactPD": "Yes","CPLGrossAreaND": 0.0,"creator_id": "Company Administrator","uPracqSiteVisDateDOP": "06-05-2020 00:00:00","WaterMeterBPDP": "uwm-0001","status": "Active"},

{"ugenProjectName": "P-002", "Quantity": 3.0, "uMatCost": 1.0, "ugenVendorBP": "VEN-0001","title": "AreasBulkCreate3","uem_rate": 1.0,"Assigned_To": "Company Administrator","ugenProjectNumber": "P-0001", "uriEnvironImpactPD": "Yes","CPLGrossAreaND": 0.0,"creator_id": "Company Administrator","uPracqSiteVisDateDOP": "06-05-2020 00:00:00","WaterMeterBPDP": "uwm-0000","status": "Active"}

]

}

Sample Response

{

"message": {

"@uri": "/ws/rest/service/status/job/115",

"job_id": "115"

},

"status": "202"

}

Sample Response

For when async parameter is false or not available in options.

{

"data":

[

],

"message":

[ "success"

],

"status":200

}

Related Topics

Business Processes

Create BP Record

Update BP Record

Create BP Record with Attachment

Update BP Record with Attachment

Payment Application with Auto-populate from SOV and Commits

Get BP Record Permission

Update BP Record Permission

Add Assignees to Workflow BP Records

Task Reassignment of Workflow Records

Bulk Create Workflow BPs

Bulk Update Records

Bulk Reverse Auto-populate Records

Get Schedule of Values (SOVs) For Base Commit Type BPs

Terminate Workflow and Non-Workflow BP Records

Response Error Codes



Last Published Wednesday, April 9, 2025