Asynchronous Bulk BP Operations

Purpose

To make these operations Asynchronous:

See the pertinent topics for details.

Note:

The destination BP must be of Simple type BP or Line Item type BP.

Request Format

Both input & output in JSON format in the body.

When input JSON contains "async" : "true" inside "options", the REST call will become asynchronous. The REST call will return URL to check status of BP operation.

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":

{

"async" : "true",

"bpname" : "Source BP name",

"project_number" :"P-0001"

}

}

Sample Response

{

"message": {

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

"job_id": "110"

},

"status": "202"

}