Process Bulk Subject

Topics:

Use the following REST call to schedule processing for a specific subject and batchId. This call will return status when the request is scheduled. The processing is carried out by the server, subsequently.

Note: If multiple subjects are loaded into a single OnRamp batch, they need to be processed with separate bulk/process calls, one for each subject. Processing follows the rules of batch_type UPSERT. Process Bulk provides a function similar to Process Ramp, with all defaults taken.

GET: /server/api/v1/server/bulk/process/{subject}?batchId=&subject=

Topics:

Execute the processing of a loaded subject and batch.

  • batchId – Specify the batchId used to load the data.
  • subject – Specify the name of the subject to process.

Example:

GET https://localhost:9514/server/api/v1/server/bulk/process/Facility?batchId=4

-- response --

{
  "status": "OK",
  "code": 0,
  "message": "Scheduled ramp load of Facility with count = 4",
  "developerMessage": null,
  "responseType": "com.ibi.omni.rest.support.ServiceOperationDto",
  "response": {
    "service": "RampProcessing",
    "operation": "processRampData",
    "code": 0,
    "message": "Scheduled ramp load of Facility with count = 4",
    "start": 1500059103385,
    "end": 1500059103427
  },
  "exception": null
}

Use "code" to determine the result of the request. Any value other than zero (0) should be considered an error and the message will contain the reason.

Error Codes

  • 90 – No records in Ramp tables for subject and batch.
  • 100 – Error reading database for subject and batch.
  • 110 – Other error processing error.