Push data

Make a POST request to integrate data into Clinical One via a real-time integration configured in Digital Gateway..

Note:

  • To run these Oracle Clinical One Platform API calls, you need to include an authentication token. For instructions on how to generate your authentication token, see Get a token for authentication and Use the token to make an API request.
  • For every API call make sure you construct the URL using the correct server URL and path parameters values.

Step 1: Create the request payload file

The JSON file below contains a sample payload file to map data to a unschedule visit using GUID mapping.

Create a JSON file called SampleCall.json and copy the following:

Note:

Make sure you replace the sample values with the defined configuration identifiers (tenant, study name, study mode, vendor name), as well as your credentials and the ODM you constructed for the input data.
Request body
{
    "ibIntegrationType": "IbIvrsIntegration",
    "studyName": "StudyABC",
    "studyMode": "test",
    "secretKey": "INTEGRATIONUSER",
    "vendorName": "vendor1",
    "inputQualifier": "12345678998765432112345678qwertyytrewq12345111",
    "userName": "ae-digital-gateway",
    "inputData": "<IRTData><EventType>UnSchedVisit_RF</EventType><ClinicalData><SubjectData><AuditRecord/><Signature/><InvestigatorRef/><SiteRef><LocationOID>84EE8610B5E6466D9B7B64FE99F6606A</LocationOID><Name/></SiteRef><StudyEventData><AuditRecord/><Signature/><FormData><AuditRecord/><Signature/><ArchiveLayoutRef/><ItemGroupData><AuditRecord/><Signature/><Items><ItemOID>2F6E5C889639439EBBC8A80D240E23F1</ItemOID><Value>2</Value></Items><Items><ItemOID>3F5F1602BF674D32AE4D9B18DA175CD2</ItemOID><Value>23</Value></Items><ItemGroupOID/><ItemGroupRepeatKey/><TransactionType/></ItemGroupData><FormOID>808387D999134836B7B2C3CA6B007BAE</FormOID><FormRepeatKey/></FormData><StudyEventOID>4D9ABE7BA9184AD99B799C90F196A77A</StudyEventOID><StudyEventRepeatKey/></StudyEventData><SubjectKey>1238</SubjectKey><TransactionType>INSERT</TransactionType><Initials>ABC</Initials></SubjectData><StudyOID>6516CC36A0E949989021A22633177C90</StudyOID><MetaDataVersionOID/></ClinicalData></IRTData>"
}

Step 2: Integrate data into Clinical One using payload file

Run the following cURL call to push data into Oracle Clinical One Platform via Digital Gateway:

curl -X POST "https://tenant.clinicalone.oraclecloud.com/ib/ib-ext-svc/rest/v2.0/integrationdata" -d "@SampleCall.json"

For more information on this API see Push data into ClinicalOne via real-time integration configured in Digital Gateway.