Difference between revisions of "Integration Queue Processing - Faxes"

From Updox API
Jump to: navigation, search
(Created page with " ====== Fax Response ====== { "successful": true, "responseMessage": "OK", "responseCode": 2000, "summary": { "messageId": "474030c0-a57e-4386-a377-...")
 
(Retrieving the Document)
 
Line 73: Line 73:
  
 
6. The file will remain downloadable for (unknown).
 
6. The file will remain downloadable for (unknown).
 +
 +
 +
Here's a sample of a raw call:
 +
 +
    GET /udb/import/bb3c394f-adc0-4fbc-b91a-c005b2f09fc9.pdf HTTP/1.1
 +
    Host: {environment}
 +
    Authorization: Basic X1VwZG94SW50ZWdyYXRpb25LZXk6Vk1gYGBuLUtkW0tPUy1xXFJdY3Utakx0clJa
 +
    Cache-Control: no-cache

Latest revision as of 14:46, 10 August 2015

Fax Response
 {
   "successful": true,
   "responseMessage": "OK",
   "responseCode": 2000,
   "summary": {
       "messageId": "474030c0-a57e-4386-a377-c1eebfa7a084",
       "messageType": "ImportPDFRequest",
       "queuedDateTime": 1438710151000,
       "processAttemptCount": 1,
       "processed": false,
       "statusText": "sending to EHR acct #100232"
   },
   "message": {
       "patientZipCode": "",
       "patientFaxNumber": "",
       "patientEmail": "nate@updox.com",
       "patientUid": "UPDOX142885",
       "patientMarital": "",
       "documentUrl": "https://{environment}/udb/import/bb3c394f-adc0-4fbc-b91a-c005b2f09fc9.pdf",
       "patientState": "HI",
       "addedByName": "Nathan Enhanced",
       "patientAddress2": "",
       "signOff": "false",
       "patientLastName": "Dewport",
       "patientId": "0232",
       "patientAddress1": "",
       "patientSuffix": "",
       "name": "fsfsdf",
       "patientPrimaryDocId": "",
       "patientChartNumber": "232",
       "addedBy": "NATE",
       "patientWorkPhone": "",
       "patientHomePhone": "6149600067",
       "patientGender": "m",
       "patientFirstName": "Ritch",
       "patientCity": "",
       "category": "abc",
       "importType": "pdf",
       "patientMiddleName": "",
       "importDate": "2015-08-04",
       "patientSsn": "",
       "patientTitle": "",
       "patientDob": "19900120",
       "actionId": "70",
       "comments": "I am a comment"
   }
 }
Retrieving the Document

1. An HTTP GET call with aBasic authorization header is made to the provided URL.


2. The Authorization header is formed by base64-encoding the following values:

_UpdoxIntegrationKey:{PracticeIntegrationKey}


3. For a practice with an integration key of hmFj-ZgUFz-WRYH-]fpW, for example, the Authorization header would look like:

Authorization: Basic X1VwZG94SW50ZWdyYXRpb25LZXk6aG1Gai1aZ1VGei1XUllILV1mcFc=


4. The GET Url was provided in the response:

https://{environment}/udb/import/bb3c394f-adc0-4fbc-b91a-c005b2f09fc9.pdf


5. Sending the properly headed GET request will cause the file to be downloaded.


6. The file will remain downloadable for (unknown).


Here's a sample of a raw call:

   GET /udb/import/bb3c394f-adc0-4fbc-b91a-c005b2f09fc9.pdf HTTP/1.1
   Host: {environment}
   Authorization: Basic X1VwZG94SW50ZWdyYXRpb25LZXk6Vk1gYGBuLUtkW0tPUy1xXFJdY3Utakx0clJa
   Cache-Control: no-cache