cdec-ei-referral-eapi
home
Purpose
The cdec-ei-referral-eapi Experience API provides a Mule-based REST API for submitting EI referral / patient information to Salesforce. This Experience API enables the automated processing of EHR data from Contexture, which previously was manually processed. Data submitted to this Experience API will be forwarded to the EI Referral Salesforce System API, with any required transformations taking place within Mule. Case record IDs are returned back to the user if the upload was successful, and error details are returned if the upload failed (either due to a Salesforce issue, or if an error was thrown by the Mule process). Daily process note updates will be submitted to Contexture using a separate batch process.
URLs
Sandbox: https://test-api.state.co.us/ext-dev-cdec-ei-referral-eapi/api/ping
QA: https://test-api.state.co.us/ext-qa-cdec-ei-referral-eapi/api/ping
Production: https://api.state.co.us/ext-cdec-ei-referral-eapi/api/ping
Headers
This experience API requires a Client Id and Client Secret to be passed through the Headers of the GET request.
client_id: XXXXXX
client_secret: XXXXXX
Example Request
Each of the following examples assumes that you have the Headers configured as described in the Headers section above.
URL
External Dedicated Load Balancer
https://test-api.state.co.us/ext-dev-cdec-ei-referral-eapi/api/cases
Internal Dedicated Load Balancer
https://int-test-api.oit.colorado.lcl/ext-dev-cdec-ei-referral-eapi/api/cases
Full HTTPS Request / Code
External Dedicated Load Balancer
POST /ext-dev-cdec-ei-referral-eapi/api/cases HTTP/1.1
Host: test-api.state.co.us
client_id: XXXXXX
client_secret: XXXXXX
Internal Dedicated Load Balancer
POST /ext-dev-cdec-ei-referral-eapi/api/cases HTTP/1.1
Host: int-test-api.oit.colorado.lcl
client_id: XXXXXX
client_secret: XXXXXX