Difference between revisions of "API Method QueueRetrieve"

From Updox API
Jump to: navigation, search
 
(11 intermediate revisions by one user not shown)
Line 1: Line 1:
A method to obtain a specific item from the Integration Queue.
+
A method to retrieve a specific item from the Integration Queue.  Usually called after obtaining a queued item's messageId by calling [[API Method QueueList|/QueueList]].  All items identified by this method as available for processing will remain on the Integration Queue until a call is made to the [[API Method QueueUpdate|/QueueUpdate]] method.
 
    
 
    
 
== Fields ==
 
== Fields ==
Please refer to the [https://updoxqa.com/iodox/updox-iodox Interactive API] for a list of the fields for this method.
+
Please refer to the [https://updoxqa.com/iodox/updox-iodox Interactive API] for a list of the fields for this method.
 
+
  
 
== Sample Request and Response ==
 
== Sample Request and Response ==
  
 
==== Request ====
 
==== Request ====
REQUEST
+
 
 
   {
 
   {
 
   "auth":{
 
   "auth":{
Line 20: Line 19:
 
==== Responses ====
 
==== Responses ====
  
===== Fax Response =====
+
[[Integration Queue Processing - Faxes]]
 
+
  {
+
    "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 Fax =====
+
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:
+
 
+
<code>_UpdoxIntegrationKey:{PracticeIntegrationKey}</code>
+
 
+
3. For a practice with an integration key of hmFj-ZgUFz-WRYH-]fpW, for example, the Authorization header would look like:
+
 
+
<code>Authorization: Basic X1VwZG94SW50ZWdyYXRpb25LZXk6aG1Gai1aZ1VGei1XUllILV1mcFc=</code>
+
 
+
4. The GET Url was provided in the response:
+
 
+
<code>https://{environment}/udb/import/bb3c394f-adc0-4fbc-b91a-c005b2f09fc9.pdf</code>
+
 
+
5. Sending the properly headed GET request will cause the file to be downloaded.
+
  
6. The file will remain downloadable for (unknown).
+
[[Integration Queue Processing - CCD]]

Latest revision as of 13:57, 10 August 2015

A method to retrieve a specific item from the Integration Queue. Usually called after obtaining a queued item's messageId by calling /QueueList. All items identified by this method as available for processing will remain on the Integration Queue until a call is made to the /QueueUpdate method.

Contents

Fields

Please refer to the Interactive API for a list of the fields for this method.

Sample Request and Response

Request

 {
 "auth":{
   "applicationId":"updox",
   "applicationPassword":"password",
   "accountId":"100"
   },
 "messageId":"474030c0-a57e-4386-a377-c1eebfa7a084"
 }

Responses

Integration Queue Processing - Faxes

Integration Queue Processing - CCD