Process Immediate

Topics:

Use the following REST call to synchronously load and process an Omni Interface Document (OID).

Note: policy = (merge/replace/delete) is respected. See the Omni-HealthData Integration Services User's Guide for more detailed information.

Example:

POST https://localhost:9514/server/api/v1/server/processImmediateService

<Facility version="1.1.7">
 <SourceName>test_system</SourceName>
 <SourceInstanceId>1499870996285_86_3</SourceInstanceId>
 <Type sourceName="test_system" codeSet="Types">type_code</Type>
 <Name>TestHospitalName</Name>
</Facility>

-- response --

{
  "status": "OK",
  "code": 0,
  "message": "Processed OID Immediately",
  "developerMessage": null,
  "responseType": "com.ibi.omni.rest.support.ServiceOperationDto",
  "response": {
    "service": "DataProcessing",
    "operation": "processImmediate",
    "code": 0,
    "message": "Processed OID Immediately",
    "start": 1574113093346,
    "end": 1574113107599
  },
  "exception": null
}

Error Codes

  • 400 – Unable to load OID to ramp. See message for more information.