Delivery Service API

https://developer.bestrxconnect.com/TestDeliveryService

https://developer.bestrxconnect.com/TestDeliveryService
Operations
Device
POST /Device/SyncData
POST /Device/RegisterDevice
GET /Device/SyncDriversAndPharmacies
GET /Device/GetAccessToken
POST /Device/ProcessPayment
POST /Device/SyncDeviceLocation
POST /Device/GetDeviceLocation
GET /Device/TestUnregisterDevice
POST /Device/TestUpdateItemStatus
POST - SyncData
POST /Device/SyncData

This endpoint is used to sync data like Rxs , otc etc. mobile device from delivery queue in BestRx or BestPOS application

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded

DeviceDataSyncRequestInfo

Example:
{
    "DriverID": 1,
    "SelectedPharmacyID": 1,
    "ListOfBarcodes": [
        ""
    ],
    "ListOfDataSyncInfo": [
        {
            "PharmacyID": 1,
            "RXs": [
                {
                    "DriverID": 1,
                    "RxID": 1,
                    "RxNo": 1,
                    "DeliveryQueueRecNo": 1,
                    "FillDate": "",
                    "AmountPaid": 1,
                    "DeliveryDateTime": "",
                    "DeclineCounselling": true,
                    "Status": "Delivered",
                    "StatusRemarks": "",
                    "DeviceSignatureID": 1,
                    "DeviceSignerInfoID": 1,
                    "DevicePaymentTxnIds": [
                        1
                    ],
                    "InvoiceNo": 1,
                    "PaymentPending": true
                }
            ],
            "OTCs": [
                {
                    "InvoiceNo": 1,
                    "DriverID": 1,
                    "ItemSeqNo": 1,
                    "ItemRecNo": 1,
                    "DeliveryQueueRecNo": 1,
                    "Item_SKU_UPC": "",
                    "QtyAccepted": 1,
                    "SalesTaxAmount": 1,
                    "CityTaxAmount": 1,
                    "CountyTaxAmount": 1,
                    "DeliveryDateTime": "",
                    "AmountPaid": 1,
                    "DeviceSignerInfoID": 1,
                    "DeviceSignatureID": 1,
                    "DevicePaymentTxnIds": [
                        1
                    ],
                    "Status": "ReadyForDelivery",
                    "StatusRemarks": "",
                    "PaymentPending": true
                }
            ],
            "Signatures": [
                {
                    "Signature": "",
                    "DeviceSignatureID": 1
                }
            ],
            "Signers": [
                {
                    "SignerLast_Name": "",
                    "SignerFirst_Name": "",
                    "Signer_ID_Jurisdiction": "",
                    "Signer_ID_Qualifier": "Other",
                    "Signer_Identification_Number": "",
                    "Signer_Relation": "Spouse",
                    "DeviceSignerInfoID": 1
                }
            ],
            "PaymentTxns": [
                {
                    "PaymentCardToken": "",
                    "PaymentType": "",
                    "Amount": 1,
                    "CheckNo": "",
                    "CustomerName": "",
                    "LicenseNo": "",
                    "PhoneNo": "",
                    "BankName": "",
                    "RoutingNo": "",
                    "AccountNo": "",
                    "DevicePaymentTxnId": 1,
                    "PaymentId": 1
                }
            ],
            "Patients": [
                {
                    "PatientID": 1,
                    "UpdatedCellPhone": "",
                    "UpdatedEmail": "",
                    "AutoRefillReply": "",
                    "MessagingReply": ""
                }
            ]
        }
    ],
    "IsOnewaySync": true
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "DeviceSerialNo": "",
        "UnlockPin": "",
        "PharmacyInfoList": [
            {
                "PharmacyId": 1,
                "PharmacyUniqueId": "",
                "PharmacyName": "",
                "PharmacyNPI": "",
                "PharmacyNCPDP": "",
                "PharmacyDEA": "",
                "IsActive": true,
                "PharmacySettingsInfo": {
                    "AcceptCards": true,
                    "AcceptChecks": true,
                    "UsingAppInOnlineMode": true,
                    "RxExpirationDays": 1
                },
                "HeaderInfo": {
                    "HeaderID": 1,
                    "PharmacyID": 1,
                    "Version": "",
                    "HipaaMessage": "",
                    "PromptForSignerInfo": true,
                    "CalcualteTaxOn": "SalePrice",
                    "ConsentList": [
                        {
                            "PharmacyRecNo": 1,
                            "Type": "Custom",
                            "Header": "",
                            "Message": "",
                            "PharmacyID": 1,
                            "IsActive": true
                        }
                    ]
                },
                "PaymentMerchantInfoList": [
                    {
                        "PharmacyID": 1,
                        "Processor_Type": "CardKnox",
                        "ClientID": "",
                        "UserID": "",
                        "UserPassword": "",
                        "Merchant_Key": "",
                        "LicenseID": "",
                        "SiteID": "",
                        "HeartlandDeviceID": ""
                    }
                ]
            }
        ],
        "PharmacyGroupInfo": {
            "GroupId": 1,
            "GroupName": ""
        },
        "HeaderInfoList": [
            {
                "HeaderID": 1,
                "PharmacyID": 1,
                "Version": "",
                "HipaaMessage": "",
                "PromptForSignerInfo": true,
                "CalcualteTaxOn": "RegularPrice",
                "ConsentList": [
                    {
                        "PharmacyRecNo": 1,
                        "Type": "Healthix_RHIO",
                        "Header": "",
                        "Message": "",
                        "PharmacyID": 1,
                        "IsActive": true
                    }
                ]
            }
        ],
        "Drivers": [
            {
                "DriverID": 1,
                "UserName": "",
                "Pin": "",
                "GroupByFamily": true,
                "ShowRxScreen": true,
                "AllowDelete": true
            }
        ],
        "DeliveryGroups": [
            {
                "GroupID": 1,
                "PharmacyID": 1,
                "GroupName": "",
                "ContactName": "",
                "Address1": "",
                "Address2": "",
                "City": "",
                "State": "",
                "ZipCode": "",
                "PhoneNo": "",
                "Alt_PhoneNo": "",
                "Remarks": ""
            }
        ],
        "Families": [
            {
                "FamilyID": 1,
                "PharmacyID": 1,
                "First_Name": "",
                "Last_Name": "",
                "Address1": "",
                "Address2": "",
                "City": "",
                "State": "",
                "Zip_Code": "",
                "PhoneNo": "",
                "Remarks": ""
            }
        ],
        "Patients": [
            {
                "PatientID": 1,
                "PharmacyID": 1,
                "FamilyID": 1,
                "First_Name": "",
                "Middle_Name": "",
                "Last_Name": "",
                "Patient_DOB": "",
                "Patient_Gender": "",
                "HomePhone": "",
                "CellPhone": "",
                "WorkPhone": "",
                "Email": "",
                "Signed_HIPAA": true,
                "Prompt_AutoRefill": true,
                "Prompt_Messaging": true,
                "Updated_CellPhone": "",
                "Updated_Email": "",
                "AutoRefill_Reply": "",
                "Messaging_Reply": ""
            }
        ],
        "Rxs": [
            {
                "PharmacyID": 1,
                "PatientID": 1,
                "DriverID": 1,
                "RxID": 1,
                "DeliveryQueueRecNo": 1,
                "RxNo": 1,
                "FillDate": "",
                "DrugName": "",
                "DriverPharmacyID": 1,
                "QtyDispensed": 1,
                "AmountDue": 1,
                "PaymentPending": true,
                "SignerInfoRequired": true,
                "InvoiceNo": 1,
                "ItemSeqNumber": 1,
                "InvoiceDate": "",
                "PassCodePhoneIn": "",
                "AmountPaid": 1,
                "DeliveryDateTime": "",
                "SignatureID": 1,
                "DeclineCounselling": true,
                "SignerInfoID": 1,
                "PaymentTxnIds": [
                    1
                ],
                "Status": "NotFound",
                "StatusRemarks": "",
                "Barcode": "",
                "DeviceSerialNo": "",
                "GroupID": 1
            }
        ],
        "OTCs": [
            {
                "PharmacyID": 1,
                "DeliveryQueueRecNo": 1,
                "InvoiceNo": 1,
                "InvoiceDate": "",
                "PatientID": 1,
                "DriverID": 1,
                "ItemSeqNo": 1,
                "ItemRecNo": 1,
                "ItemDescription": "",
                "Item_SKU_UPC": "",
                "QtyRequested": 1,
                "QtyAccepted": 1,
                "RegularPrice": 1,
                "SalePrice": 1,
                "AmountDue": 1,
                "SalesTaxAmount": 1,
                "SalesTaxRate": 1,
                "CityTaxAmount": 1,
                "CountyTaxAmount": 1,
                "IDCheck": true,
                "AgeforIDCheck": 1,
                "PromotionRecNo": 1,
                "PromotionFormula": "",
                "PaymentPending": true,
                "PassCodePhoneIn": "",
                "DeliveryDateTime": "",
                "AmountPaid": 1,
                "SignerInfoID": 1,
                "SignatureID": 1,
                "PaymentTxnIds": [
                    1
                ],
                "Status": "OutForDelivery",
                "StatusRemarks": "",
                "Barcode": "",
                "DeviceSerialNo": "",
                "GroupID": 1,
                "DriverPharmacyID": 1,
                "IsHealthCareItem": true
            }
        ],
        "PaymentCardTokens": [
            {
                "Token": "",
                "PaymentCardName": "",
                "Last4Digits": "",
                "FamilyID": 1,
                "PharmacyID": 1,
                "PaymentCardType": "",
                "IsPrimaryCard": true,
                "IsExpired": true
            }
        ],
        "RemoveRxList": [
            {
                "PharmacyID": 1,
                "RxID": 1,
                "RxNo": 1,
                "FillDate": "",
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "DeliveryQueueRecNo": 1,
                "Status": "ReturnedByDevice"
            }
        ],
        "RemoveOtcList": [
            {
                "PharmacyID": 1,
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "Item_SKU_UPC": "",
                "DeliveryQueueRecNo": 1,
                "Status": "NotFound"
            }
        ],
        "ErrorRXList": [
            {
                "PharmacyID": 1,
                "RxID": 1,
                "RxNo": 1,
                "FillDate": "",
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "DeliveryQueueRecNo": 1,
                "Status": "OutForDelivery",
                "ErrorMsg": ""
            }
        ],
        "ErrorOtcList": [
            {
                "PharmacyID": 1,
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "Item_SKU_UPC": "",
                "DeliveryQueueRecNo": 1,
                "Status": "Cancelled",
                "ErrorMsg": ""
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
Example with response data

{
  "Data": {
    "DeviceSerialNo": "11b90457497d0dc5",
    "UnlockPin": "NkpNcTHvvJs=",
    "PharmacyInfoList": [
      {
        "PharmacyId": 1817,
        "PharmacyUniqueId": "ef0a4740-0be9-44f7-b89d-9e66eeba0b9a",
        "PharmacyName": "BestRx Test Pharmacy 3",
        "PharmacyNPI": "TEMP538564",
        "PharmacyNCPDP": "8899557",
        "PharmacyDEA": "BR1234563",
        "IsActive": true,
        "PharmacySettingsInfo": {
          "AcceptCards": true,
          "AcceptChecks": true,
          "UsingAppInOnlineMode": false,
          "RxExpirationDays": 0
        },
        "HeaderInfo": null,
        "PaymentMerchantInfoList": null
      },
      {
        "PharmacyId": 1818,
        "PharmacyUniqueId": "7fca7f55-2943-4feb-9d8c-58bfaed4468b",
        "PharmacyName": "REYNOLDS APOTHECARY",
        "PharmacyNPI": "TEMP676583",
        "PharmacyNCPDP": "8899557",
        "PharmacyDEA": "BR1234563",
        "IsActive": true,
        "PharmacySettingsInfo": {
          "AcceptCards": true,
          "AcceptChecks": false,
          "UsingAppInOnlineMode": true,
          "RxExpirationDays": 4
        },
        "HeaderInfo": null,
        "PaymentMerchantInfoList": null
      },
      {
        "PharmacyId": 1819,
        "PharmacyUniqueId": "be4a9087-75c3-482c-9d84-fd290f6bc259",
        "PharmacyName": "BestRx Pharmacy",
        "PharmacyNPI": "TEMP546015",
        "PharmacyNCPDP": "8899111",
        "PharmacyDEA": "BR1234563",
        "IsActive": true,
        "PharmacySettingsInfo": {
          "AcceptCards": false,
          "AcceptChecks": false,
          "UsingAppInOnlineMode": false,
          "RxExpirationDays": 0
        },
        "HeaderInfo": null,
        "PaymentMerchantInfoList": null
      },
      {
        "PharmacyId": 1820,
        "PharmacyUniqueId": "7e09d8c1-e559-477a-9f07-df9dff7f7e7f",
        "PharmacyName": "BestRx Pharmacy",
        "PharmacyNPI": "TEMP394829",
        "PharmacyNCPDP": "0000001",
        "PharmacyDEA": "BR1234563",
        "IsActive": true,
        "PharmacySettingsInfo": {
          "AcceptCards": false,
          "AcceptChecks": false,
          "UsingAppInOnlineMode": true,
          "RxExpirationDays": 6
        },
        "HeaderInfo": null,
        "PaymentMerchantInfoList": null
      }
    ],
    "PharmacyGroupInfo": {
      "GroupId": 3,
      "GroupName": "Testing Group"
    },
    "HeaderInfoList": [
      {
        "HeaderID": 16,
        "PharmacyID": 1817,
        "Version": "1.0.0",
        "HipaaMessage": "*********************This is the Hippa Privacy Notice Message added by use of Custom Message setting to Change this Navigate to Dispens/Delievery Tab -> Hippa Privacy Notice screen**************************\u0003\u0002\u0003\u0002\u0003\u0002\u0003\u0002Notice of Privacy Practices\u0003\u0002\u0003\u0002This notice describes how medical information about you may be used and disclosed and how you can get access to this information. Please review it carefully.\u0003\u0002\u0003\u0002As part of the federal Health Insurance Portability and Accountability Act of 1996, known as HIPAA, the Facility has created this Notice of Privacy Practices (Notice). This Notice describes the Facility’s privacy practices and the rights you, the individual, have as they relate to the privacy of your Protected Health Information (PHI). Your PHI is information about you, or that could be used to identify you, as it relates to your past and present physical and mental health care services. The HIPAA regulations require that the Facility protect the privacy of your PHI that the Facility has received or created.\u0003\u0002\u0003\u0002This Facility will abide by the terms presented within this Notice. For any uses or disclosures that are not listed below (Including Marketing and Selling of PHI), the Facility will obtain a written authorization from you for that use or disclosure, which you will have the right to revoke at any time, as explained in more detail below. The Facility reserves the right to change the Facility’s privacy practices and this Notice.\u0003\u0002\u0003\u0002--------------------\u0003\u0002HOW THE FACILITY MAY USE AND DISCLOSE YOUR PHI:\u0003\u0002\u0003\u0002The following is an accounting of the ways that the Facility is permitted, by law, to use and disclose your PHI.\u0003\u0002\u0003\u0002Treatment: We will use the PHI that we receive from you to fill your prescription and coordinate or manage your health care.\u0003\u0002\u0003\u0002Payment: The Facility will disclose your PHI to obtain payment or reimbursement from insurers for your health care services.\u0003\u0002\u0003\u0002Health Care Operations: The Facility may use the minimum necessary amount of your PHI to conduct quality assessments, improvement activities, and evaluate the Facility workforce.\u0003\u0002\u0003\u0002As required by law: The Facility is required to use or disclose PHI about you as required and as limited by law.\u0003\u0002\u0003\u0002Public Health Activities: The Facility may use or disclose PHI about you to a public health authority that is authorized by law to collect for the purpose of preventing or controlling disease, injury, or disability. This includes the FDA so that it may monitor any adverse effects of drugs, foods, nutritional supplements and other products as required by law.\u0003\u0002\u0003\u0002Victims of abuse, neglect or domestic violence: The Facility may use or disclose PHI about you to a government authority if it is reasonably believed you are a victim of abuse, neglect or domestic violence.\u0003\u0002\u0003\u0002Health Oversight Activities: The Facility may use or disclose PHI about you to a health oversight agency for oversight activities which may include audits, investigations, inspections as necessary for licensure, compliance with civil laws, or other activities the health oversight agency is authorized by law to conduct.\u0003\u0002\u0003\u0002Individuals Involved in your Care: The Facility may disclose PHI about you to individuals involved in your care.\u0003\u0002\u0003\u0002Judicial and Administrative Proceedings: The Facility may disclose PHI about you in the course of any judicial or administrative proceedings, provided that proper documentation is presented to the Facility.\u0003\u0002\u0003\u0002Law Enforcement Purposes: The Facility may disclose PHI about you to law enforcement officials for authorized purposes as required by law or in response to a court order or subpoena.\u0003\u0002\u0003\u0002About the Deceased: The Facility may disclose PHI about a deceased, or prior to, and in reasonable anticipation of an individual’s death, to coroners, medical examiners, and funeral directors.\u0003\u0002\u0003\u0002Cadaveric organ, eye or tissue donation purposes: The Facility may use and disclose PHI for the purpose of procurement, banking, or transplantation of cadaveric organs, eyes, or tissues for donation purposes.\u0003\u0002\u0003\u0002Research Purposes: The Facility may use and disclose PHI about you for research purposes with a valid waiver of authorization approved by an institutional review board or a privacy board. Otherwise, the Facility will request a signed authorization by the individual for all other research purposes.\u0003\u0002\u0003\u0002To avert a serious threat to health or safety: The Facility may use or disclose PHI about you, if it believed in good faith, and is consistent with any applicable law and standards of ethical conduct, to avert a serious threat to health or safety.\u0003\u0002\u0003\u0002Specialized Government Functions: The Facility may use or disclose PHI about you for specialized government functions including; military and veteran’s activities, national security and intelligence, protective services, department of state functions, and correctional institutions and law enforcement custodial situations.\u0003\u0002\u0003\u0002Workers’ Compensation: The Facility may disclose PHI about you as authorized by and to the extent necessary to comply with workers’ compensation laws or programs established by law.\u0003\u0002\u0003\u0002Disaster Relief Purposes: The Facility may disclose PHI about you as authorized by law to a public or private entity to assist in disaster relief efforts and for family and personal representative notification.\u0003\u0002\u0003\u0002Business Associates: The Facility may disclose PHI about you to the Facility’s business associates for services that they may provide to or for the Facility to assist the Facility to provide quality health care. To ensure the privacy of your PHI, we require all business associates to apply appropriate safeguards to any PHI they receive or create.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002OTHER USES AND DISCLOSURES:\u0003\u0002\u0003\u0002The Facility may contact you for the following purposes:\u0003\u0002\u0003\u0002Information about treatment alternatives: The Facility may contact you to notify you of alternative treatments and/or products.\u0003\u0002\u0003\u0002Health related benefits or services: The Facility may use your PHI to notify you of benefits and services the Facility provides.\u0003\u0002\u0003\u0002Fundraising: If the Facility participates in a fundraising activity, the Facility may use demographic PHI to send you a fundraising packet, or the Facility may disclose demographic PHI about you to its business associate or an institutionally related foundation to send you a fundraising packet. No further disclosure will be allowed by the business associates or an institutionally related foundation without your written authorization. You will be provided with an opportunity to opt-out of all future fundraising activities.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002YOUR HEALTH INFORMATION RIGHTS:\u0003\u0002\u0003\u0002The following are a list of your rights in respect to your PHI. Please contact the pharmacist for more information about the below.\u0003\u0002\u0003\u0002You have the right to request additional restrictions of the Facility’s uses and disclosures of your PHI; however, the Facility is not required to accommodate a request. This includes the right to restrict disclosures to Insurances for those products and services you pay out-of-pocket for.\u0003\u0002\u0003\u0002You have the right to request that the Facility communicate confidentially with you using an address or phone number other than your residence. However, state and federal laws require the Facility to have an accurate address and home phone number in case of emergencies. The Facility will consider all reasonable requests.\u0003\u0002\u0003\u0002You have the right to request access and/or obtain a copy of your PHI that is contained in the Facility for the duration the Facility maintains PHI about you. There may be a reasonable cost-based charge for providing these documents. You will be notified in advance of incurring such charges, if any.\u0003\u0002\u0003\u0002You have the right to request an amendment of the PHI the Facility maintains about you, if you feel that the PHI the Facility has maintained about you is incorrect or otherwise incomplete. Under certain circumstances we may deny your request for amendment. If we do deny the request, you will have the right to have the denial reviewed by someone we designate who was not involved in the initial review. You may also ask the Secretary, United States Department of Health and Human Services (\"HHS\"), or their appropriate designee, to review such a denial.\u0003\u0002\u0003\u0002You have the right to receive an accounting of certain disclosures of your PHI made by the Facility.\u0003\u0002\u0003\u0002You have the right to receive additional paper copies of this Notice, upon request, even if you initially agreed to receive the Notice electronically\u0003\u0002You will be notified of any breaches that have compromised the privacy of your PHI.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002REVISIONS TO THE NOTICE OF PRIVACY PRACTICES:\u0003\u0002\u0003\u0002The Facility reserves the right to change and/or revise this Notice and make the new revised version applicable to all PHI received prior to its effective date. The Facility will also post the revised version of the Notice in the Facility.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002COMPLAINTS:\u0003\u0002\u0003\u0002If you believe your privacy rights have been violated, you may file a complaint with the Facility and/or to the Secretary of HHS, or his designee. If you wish to file a complaint with the Facility, please contact the pharmacist-in-charge. If you wish to file a complaint with the Secretary, please write to: http://www.hhs.gov/ocr/office/about/rgn-hqaddresses.html\u0003\u0002\u0003\u0002The Facility will not take any adverse action against you as a result of your filing of a complaint.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002CONTACT INFORMATION:\u0003\u0002\u0003\u0002If you have any questions on the Facility’s privacy practices or for clarification on anything contained within the Notice, please contact:\u0003\u0002\u0003\u0002BestRx Test Pharmacy 3\u0003\u00021200 Jorie Blvd Suite 310\u0003\u0002Oak Brook, IL 60523\u0003\u0002630-893-9210\u0003\u0002",
        "PromptForSignerInfo": false,
        "CalcualteTaxOn": 1,
        "ConsentList": [
          {
            "PharmacyRecNo": 1,
            "Type": 3,
            "Header": "Enroll in Text/Email Reminders?",
            "Message": "Would you like to receive text or email notifications from the pharmacy?\r\n\r\nNotifications would include things such as refill reminders and notifications for when your prescriptions are ready to be picked up",
            "PharmacyID": 1817,
            "IsActive": true
          }
        ]
      },
      {
        "HeaderID": 17,
        "PharmacyID": 1818,
        "Version": "1.0.0",
        "HipaaMessage": "Notice of Privacy Practices\u0003\u0002\u0003\u0002This notice describes how medical information about you may be used and disclosed and how you can get access to this information. Please review it carefully.\u0003\u0002\u0003\u0002As part of the federal Health Insurance Portability and Accountability Act of 1996, known as HIPAA, the Facility has created this Notice of Privacy Practices (Notice). This Notice describes the Facility’s privacy practices and the rights you, the individual, have as they relate to the privacy of your Protected Health Information (PHI). Your PHI is information about you, or that could be used to identify you, as it relates to your past and present physical and mental health care services. The HIPAA regulations require that the Facility protect the privacy of your PHI that the Facility has received or created.\u0003\u0002\u0003\u0002This Facility will abide by the terms presented within this Notice. For any uses or disclosures that are not listed below (Including Marketing and Selling of PHI), the Facility will obtain a written authorization from you for that use or disclosure, which you will have the right to revoke at any time, as explained in more detail below. The Facility reserves the right to change the Facility’s privacy practices and this Notice.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002HOW THE FACILITY MAY USE AND DISCLOSE YOUR PHI:\u0003\u0002\u0003\u0002The following is an accounting of the ways that the Facility is permitted, by law, to use and disclose your PHI.\u0003\u0002\u0003\u0002Treatment: We will use the PHI that we receive from you to fill your prescription and coordinate or manage your health care.\u0003\u0002\u0003\u0002Payment: The Facility will disclose your PHI to obtain payment or reimbursement from insurers for your health care services.\u0003\u0002\u0003\u0002Health Care Operations: The Facility may use the minimum necessary amount of your PHI to conduct quality assessments, improvement activities, and evaluate the Facility workforce.\u0003\u0002\u0003\u0002As required by law: The Facility is required to use or disclose PHI about you as required and as limited by law.\u0003\u0002\u0003\u0002Public Health Activities: The Facility may use or disclose PHI about you to a public health authority that is authorized by law to collect for the purpose of preventing or controlling disease, injury, or disability. This includes the FDA so that it may monitor any adverse effects of drugs, foods, nutritional supplements and other products as required by law.\u0003\u0002\u0003\u0002Victims of abuse, neglect or domestic violence: The Facility may use or disclose PHI about you to a government authority if it is reasonably believed you are a victim of abuse, neglect or domestic violence.\u0003\u0002\u0003\u0002Health Oversight Activities: The Facility may use or disclose PHI about you to a health oversight agency for oversight activities which may include audits, investigations, inspections as necessary for licensure, compliance with civil laws, or other activities the health oversight agency is authorized by law to conduct.\u0003\u0002\u0003\u0002Individuals Involved in your Care: The Facility may disclose PHI about you to individuals involved in your care.\u0003\u0002\u0003\u0002Judicial and Administrative Proceedings: The Facility may disclose PHI about you in the course of any judicial or administrative proceedings, provided that proper documentation is presented to the Facility.\u0003\u0002\u0003\u0002Law Enforcement Purposes: The Facility may disclose PHI about you to law enforcement officials for authorized purposes as required by law or in response to a court order or subpoena.\u0003\u0002\u0003\u0002About the Deceased: The Facility may disclose PHI about a deceased, or prior to, and in reasonable anticipation of an individual’s death, to coroners, medical examiners, and funeral directors.\u0003\u0002\u0003\u0002Cadaveric organ, eye or tissue donation purposes: The Facility may use and disclose PHI for the purpose of procurement, banking, or transplantation of cadaveric organs, eyes, or tissues for donation purposes.\u0003\u0002\u0003\u0002Research Purposes: The Facility may use and disclose PHI about you for research purposes with a valid waiver of authorization approved by an institutional review board or a privacy board. Otherwise, the Facility will request a signed authorization by the individual for all other research purposes.\u0003\u0002\u0003\u0002To avert a serious threat to health or safety: The Facility may use or disclose PHI about you, if it believed in good faith, and is consistent with any applicable law and standards of ethical conduct, to avert a serious threat to health or safety.\u0003\u0002\u0003\u0002Specialized Government Functions: The Facility may use or disclose PHI about you for specialized government functions including; military and veteran’s activities, national security and intelligence, protective services, department of state functions, and correctional institutions and law enforcement custodial situations.\u0003\u0002\u0003\u0002Workers’ Compensation: The Facility may disclose PHI about you as authorized by and to the extent necessary to comply with workers’ compensation laws or programs established by law.\u0003\u0002\u0003\u0002Disaster Relief Purposes: The Facility may disclose PHI about you as authorized by law to a public or private entity to assist in disaster relief efforts and for family and personal representative notification.\u0003\u0002\u0003\u0002Business Associates: The Facility may disclose PHI about you to the Facility’s business associates for services that they may provide to or for the Facility to assist the Facility to provide quality health care. To ensure the privacy of your PHI, we require all business associates to apply appropriate safeguards to any PHI they receive or create.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002OTHER USES AND DISCLOSURES:\u0003\u0002\u0003\u0002The Facility may contact you for the following purposes:\u0003\u0002\u0003\u0002Information about treatment alternatives: The Facility may contact you to notify you of alternative treatments and/or products.\u0003\u0002\u0003\u0002Health related benefits or services: The Facility may use your PHI to notify you of benefits and services the Facility provides.\u0003\u0002\u0003\u0002Fundraising: If the Facility participates in a fundraising activity, the Facility may use demographic PHI to send you a fundraising packet, or the Facility may disclose demographic PHI about you to its business associate or an institutionally related foundation to send you a fundraising packet. No further disclosure will be allowed by the business associates or an institutionally related foundation without your written authorization. You will be provided with an opportunity to opt-out of all future fundraising activities.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002YOUR HEALTH INFORMATION RIGHTS:\u0003\u0002\u0003\u0002The following are a list of your rights in respect to your PHI. Please contact the pharmacist for more information about the below.\u0003\u0002\u0003\u0002You have the right to request additional restrictions of the Facility’s uses and disclosures of your PHI; however, the Facility is not required to accommodate a request. This includes the right to restrict disclosures to Insurances for those products and services you pay out-of-pocket for.\u0003\u0002\u0003\u0002You have the right to request that the Facility communicate confidentially with you using an address or phone number other than your residence. However, state and federal laws require the Facility to have an accurate address and home phone number in case of emergencies. The Facility will consider all reasonable requests.\u0003\u0002\u0003\u0002You have the right to request access and/or obtain a copy of your PHI that is contained in the Facility for the duration the Facility maintains PHI about you. There may be a reasonable cost-based charge for providing these documents. You will be notified in advance of incurring such charges, if any.\u0003\u0002\u0003\u0002You have the right to request an amendment of the PHI the Facility maintains about you, if you feel that the PHI the Facility has maintained about you is incorrect or otherwise incomplete. Under certain circumstances we may deny your request for amendment. If we do deny the request, you will have the right to have the denial reviewed by someone we designate who was not involved in the initial review. You may also ask the Secretary, United States Department of Health and Human Services (\"HHS\"), or their appropriate designee, to review such a denial.\u0003\u0002\u0003\u0002You have the right to receive an accounting of certain disclosures of your PHI made by the Facility.\u0003\u0002\u0003\u0002You have the right to receive additional paper copies of this Notice, upon request, even if you initially agreed to receive the Notice electronically\u0003\u0002You will be notified of any breaches that have compromised the privacy of your PHI.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002REVISIONS TO THE NOTICE OF PRIVACY PRACTICES:\u0003\u0002\u0003\u0002The Facility reserves the right to change and/or revise this Notice and make the new revised version applicable to all PHI received prior to its effective date. The Facility will also post the revised version of the Notice in the Facility.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002COMPLAINTS:\u0003\u0002\u0003\u0002If you believe your privacy rights have been violated, you may file a complaint with the Facility and/or to the Secretary of HHS, or his designee. If you wish to file a complaint with the Facility, please contact the pharmacist-in-charge. If you wish to file a complaint with the Secretary, please write to: http://www.hhs.gov/ocr/office/about/rgn-hqaddresses.html\u0003\u0002\u0003\u0002The Facility will not take any adverse action against you as a result of your filing of a complaint.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002CONTACT INFORMATION:\u0003\u0002\u0003\u0002If you have any questions on the Facility’s privacy practices or for clarification on anything contained within the Notice, please contact:\u0003\u0002\u0003\u0002REYNOLDS APOTHECARY\u0003\u0002121 Fairfield Way Suite 330\u0003\u0002Bloomingdale, VA 60108\u0003\u0002312-893-9210",
        "PromptForSignerInfo": false,
        "CalcualteTaxOn": 1,
        "ConsentList": [
          {
            "PharmacyRecNo": 1,
            "Type": 3,
            "Header": "Enroll in Text/Email Reminders?",
            "Message": "Would you like to receive text or email notifications from the pharmacy?\r\n\r\nNotifications would include things such as refill reminders and notifications for when your prescriptions are ready to be picked up",
            "PharmacyID": 1818,
            "IsActive": true
          },
          {
            "PharmacyRecNo": 3,
            "Type": 1,
            "Header": "Auto-Refill Consent",
            "Message": "Do you want to sign-up for Auto-Refill of Rxs?",
            "PharmacyID": 1818,
            "IsActive": true
          }
        ]
      },
      {
        "HeaderID": 19,
        "PharmacyID": 1819,
        "Version": "1.0.0",
        "HipaaMessage": "Notice of Privacy Practices\u0003\u0002\u0003\u0002This notice describes how medical information about you may be used and disclosed and how you can get access to this information. Please review it carefully.\u0003\u0002\u0003\u0002As part of the federal Health Insurance Portability and Accountability Act of 1996, known as HIPAA, the Facility has created this Notice of Privacy Practices (Notice). This Notice describes the Facility’s privacy practices and the rights you, the individual, have as they relate to the privacy of your Protected Health Information (PHI). Your PHI is information about you, or that could be used to identify you, as it relates to your past and present physical and mental health care services. The HIPAA regulations require that the Facility protect the privacy of your PHI that the Facility has received or created.\u0003\u0002\u0003\u0002This Facility will abide by the terms presented within this Notice. For any uses or disclosures that are not listed below (Including Marketing and Selling of PHI), the Facility will obtain a written authorization from you for that use or disclosure, which you will have the right to revoke at any time, as explained in more detail below. The Facility reserves the right to change the Facility’s privacy practices and this Notice.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002HOW THE FACILITY MAY USE AND DISCLOSE YOUR PHI:\u0003\u0002\u0003\u0002The following is an accounting of the ways that the Facility is permitted, by law, to use and disclose your PHI.\u0003\u0002\u0003\u0002Treatment: We will use the PHI that we receive from you to fill your prescription and coordinate or manage your health care.\u0003\u0002\u0003\u0002Payment: The Facility will disclose your PHI to obtain payment or reimbursement from insurers for your health care services.\u0003\u0002\u0003\u0002Health Care Operations: The Facility may use the minimum necessary amount of your PHI to conduct quality assessments, improvement activities, and evaluate the Facility workforce.\u0003\u0002\u0003\u0002As required by law: The Facility is required to use or disclose PHI about you as required and as limited by law.\u0003\u0002\u0003\u0002Public Health Activities: The Facility may use or disclose PHI about you to a public health authority that is authorized by law to collect for the purpose of preventing or controlling disease, injury, or disability. This includes the FDA so that it may monitor any adverse effects of drugs, foods, nutritional supplements and other products as required by law.\u0003\u0002\u0003\u0002Victims of abuse, neglect or domestic violence: The Facility may use or disclose PHI about you to a government authority if it is reasonably believed you are a victim of abuse, neglect or domestic violence.\u0003\u0002\u0003\u0002Health Oversight Activities: The Facility may use or disclose PHI about you to a health oversight agency for oversight activities which may include audits, investigations, inspections as necessary for licensure, compliance with civil laws, or other activities the health oversight agency is authorized by law to conduct.\u0003\u0002\u0003\u0002Individuals Involved in your Care: The Facility may disclose PHI about you to individuals involved in your care.\u0003\u0002\u0003\u0002Judicial and Administrative Proceedings: The Facility may disclose PHI about you in the course of any judicial or administrative proceedings, provided that proper documentation is presented to the Facility.\u0003\u0002\u0003\u0002Law Enforcement Purposes: The Facility may disclose PHI about you to law enforcement officials for authorized purposes as required by law or in response to a court order or subpoena.\u0003\u0002\u0003\u0002About the Deceased: The Facility may disclose PHI about a deceased, or prior to, and in reasonable anticipation of an individual’s death, to coroners, medical examiners, and funeral directors.\u0003\u0002\u0003\u0002Cadaveric organ, eye or tissue donation purposes: The Facility may use and disclose PHI for the purpose of procurement, banking, or transplantation of cadaveric organs, eyes, or tissues for donation purposes.\u0003\u0002\u0003\u0002Research Purposes: The Facility may use and disclose PHI about you for research purposes with a valid waiver of authorization approved by an institutional review board or a privacy board. Otherwise, the Facility will request a signed authorization by the individual for all other research purposes.\u0003\u0002\u0003\u0002To avert a serious threat to health or safety: The Facility may use or disclose PHI about you, if it believed in good faith, and is consistent with any applicable law and standards of ethical conduct, to avert a serious threat to health or safety.\u0003\u0002\u0003\u0002Specialized Government Functions: The Facility may use or disclose PHI about you for specialized government functions including; military and veteran’s activities, national security and intelligence, protective services, department of state functions, and correctional institutions and law enforcement custodial situations.\u0003\u0002\u0003\u0002Workers’ Compensation: The Facility may disclose PHI about you as authorized by and to the extent necessary to comply with workers’ compensation laws or programs established by law.\u0003\u0002\u0003\u0002Disaster Relief Purposes: The Facility may disclose PHI about you as authorized by law to a public or private entity to assist in disaster relief efforts and for family and personal representative notification.\u0003\u0002\u0003\u0002Business Associates: The Facility may disclose PHI about you to the Facility’s business associates for services that they may provide to or for the Facility to assist the Facility to provide quality health care. To ensure the privacy of your PHI, we require all business associates to apply appropriate safeguards to any PHI they receive or create.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002OTHER USES AND DISCLOSURES:\u0003\u0002\u0003\u0002The Facility may contact you for the following purposes:\u0003\u0002\u0003\u0002Information about treatment alternatives: The Facility may contact you to notify you of alternative treatments and/or products.\u0003\u0002\u0003\u0002Health related benefits or services: The Facility may use your PHI to notify you of benefits and services the Facility provides.\u0003\u0002\u0003\u0002Fundraising: If the Facility participates in a fundraising activity, the Facility may use demographic PHI to send you a fundraising packet, or the Facility may disclose demographic PHI about you to its business associate or an institutionally related foundation to send you a fundraising packet. No further disclosure will be allowed by the business associates or an institutionally related foundation without your written authorization. You will be provided with an opportunity to opt-out of all future fundraising activities.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002YOUR HEALTH INFORMATION RIGHTS:\u0003\u0002\u0003\u0002The following are a list of your rights in respect to your PHI. Please contact the pharmacist for more information about the below.\u0003\u0002\u0003\u0002You have the right to request additional restrictions of the Facility’s uses and disclosures of your PHI; however, the Facility is not required to accommodate a request. This includes the right to restrict disclosures to Insurances for those products and services you pay out-of-pocket for.\u0003\u0002\u0003\u0002You have the right to request that the Facility communicate confidentially with you using an address or phone number other than your residence. However, state and federal laws require the Facility to have an accurate address and home phone number in case of emergencies. The Facility will consider all reasonable requests.\u0003\u0002\u0003\u0002You have the right to request access and/or obtain a copy of your PHI that is contained in the Facility for the duration the Facility maintains PHI about you. There may be a reasonable cost-based charge for providing these documents. You will be notified in advance of incurring such charges, if any.\u0003\u0002\u0003\u0002You have the right to request an amendment of the PHI the Facility maintains about you, if you feel that the PHI the Facility has maintained about you is incorrect or otherwise incomplete. Under certain circumstances we may deny your request for amendment. If we do deny the request, you will have the right to have the denial reviewed by someone we designate who was not involved in the initial review. You may also ask the Secretary, United States Department of Health and Human Services (\"HHS\"), or their appropriate designee, to review such a denial.\u0003\u0002\u0003\u0002You have the right to receive an accounting of certain disclosures of your PHI made by the Facility.\u0003\u0002\u0003\u0002You have the right to receive additional paper copies of this Notice, upon request, even if you initially agreed to receive the Notice electronically\u0003\u0002You will be notified of any breaches that have compromised the privacy of your PHI.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002REVISIONS TO THE NOTICE OF PRIVACY PRACTICES:\u0003\u0002\u0003\u0002The Facility reserves the right to change and/or revise this Notice and make the new revised version applicable to all PHI received prior to its effective date. The Facility will also post the revised version of the Notice in the Facility.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002COMPLAINTS:\u0003\u0002\u0003\u0002If you believe your privacy rights have been violated, you may file a complaint with the Facility and/or to the Secretary of HHS, or his designee. If you wish to file a complaint with the Facility, please contact the pharmacist-in-charge. If you wish to file a complaint with the Secretary, please write to: http://www.hhs.gov/ocr/office/about/rgn-hqaddresses.html\u0003\u0002\u0003\u0002The Facility will not take any adverse action against you as a result of your filing of a complaint.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002CONTACT INFORMATION:\u0003\u0002\u0003\u0002If you have any questions on the Facility’s privacy practices or for clarification on anything contained within the Notice, please contact:\u0003\u0002\u0003\u0002BestRx Pharmacy\u0003\u00021200 Jorie Blvd Suite 310\u0003\u0002Oak Brook, NY 60523\u0003\u0002630-893-9210",
        "PromptForSignerInfo": false,
        "CalcualteTaxOn": 1,
        "ConsentList": [
          {
            "PharmacyRecNo": 1,
            "Type": 3,
            "Header": "Enroll in Text/Email Reminders?",
            "Message": "Would you like to receive text or email notifications from the pharmacy?\r\n\r\nNotifications would include things such as refill reminders and notifications for when your prescriptions are ready to be picked up",
            "PharmacyID": 1819,
            "IsActive": true
          },
          {
            "PharmacyRecNo": 3,
            "Type": 1,
            "Header": "Auto Refill Consent",
            "Message": "Auto Refil consent",
            "PharmacyID": 1819,
            "IsActive": true
          }
        ]
      },
      {
        "HeaderID": 20,
        "PharmacyID": 1820,
        "Version": "1.0.0",
        "HipaaMessage": "Notice of Privacy Practices\u0003\u0002\u0003\u0002This notice describes how medical information about you may be used and disclosed and how you can get access to this information. Please review it carefully.\u0003\u0002\u0003\u0002As part of the federal Health Insurance Portability and Accountability Act of 1996, known as HIPAA, the Facility has created this Notice of Privacy Practices (Notice). This Notice describes the Facility’s privacy practices and the rights you, the individual, have as they relate to the privacy of your Protected Health Information (PHI). Your PHI is information about you, or that could be used to identify you, as it relates to your past and present physical and mental health care services. The HIPAA regulations require that the Facility protect the privacy of your PHI that the Facility has received or created.\u0003\u0002\u0003\u0002This Facility will abide by the terms presented within this Notice. For any uses or disclosures that are not listed below (Including Marketing and Selling of PHI), the Facility will obtain a written authorization from you for that use or disclosure, which you will have the right to revoke at any time, as explained in more detail below. The Facility reserves the right to change the Facility’s privacy practices and this Notice.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002HOW THE FACILITY MAY USE AND DISCLOSE YOUR PHI:\u0003\u0002\u0003\u0002The following is an accounting of the ways that the Facility is permitted, by law, to use and disclose your PHI.\u0003\u0002\u0003\u0002Treatment: We will use the PHI that we receive from you to fill your prescription and coordinate or manage your health care.\u0003\u0002\u0003\u0002Payment: The Facility will disclose your PHI to obtain payment or reimbursement from insurers for your health care services.\u0003\u0002\u0003\u0002Health Care Operations: The Facility may use the minimum necessary amount of your PHI to conduct quality assessments, improvement activities, and evaluate the Facility workforce.\u0003\u0002\u0003\u0002As required by law: The Facility is required to use or disclose PHI about you as required and as limited by law.\u0003\u0002\u0003\u0002Public Health Activities: The Facility may use or disclose PHI about you to a public health authority that is authorized by law to collect for the purpose of preventing or controlling disease, injury, or disability. This includes the FDA so that it may monitor any adverse effects of drugs, foods, nutritional supplements and other products as required by law.\u0003\u0002\u0003\u0002Victims of abuse, neglect or domestic violence: The Facility may use or disclose PHI about you to a government authority if it is reasonably believed you are a victim of abuse, neglect or domestic violence.\u0003\u0002\u0003\u0002Health Oversight Activities: The Facility may use or disclose PHI about you to a health oversight agency for oversight activities which may include audits, investigations, inspections as necessary for licensure, compliance with civil laws, or other activities the health oversight agency is authorized by law to conduct.\u0003\u0002\u0003\u0002Individuals Involved in your Care: The Facility may disclose PHI about you to individuals involved in your care.\u0003\u0002\u0003\u0002Judicial and Administrative Proceedings: The Facility may disclose PHI about you in the course of any judicial or administrative proceedings, provided that proper documentation is presented to the Facility.\u0003\u0002\u0003\u0002Law Enforcement Purposes: The Facility may disclose PHI about you to law enforcement officials for authorized purposes as required by law or in response to a court order or subpoena.\u0003\u0002\u0003\u0002About the Deceased: The Facility may disclose PHI about a deceased, or prior to, and in reasonable anticipation of an individual’s death, to coroners, medical examiners, and funeral directors.\u0003\u0002\u0003\u0002Cadaveric organ, eye or tissue donation purposes: The Facility may use and disclose PHI for the purpose of procurement, banking, or transplantation of cadaveric organs, eyes, or tissues for donation purposes.\u0003\u0002\u0003\u0002Research Purposes: The Facility may use and disclose PHI about you for research purposes with a valid waiver of authorization approved by an institutional review board or a privacy board. Otherwise, the Facility will request a signed authorization by the individual for all other research purposes.\u0003\u0002\u0003\u0002To avert a serious threat to health or safety: The Facility may use or disclose PHI about you, if it believed in good faith, and is consistent with any applicable law and standards of ethical conduct, to avert a serious threat to health or safety.\u0003\u0002\u0003\u0002Specialized Government Functions: The Facility may use or disclose PHI about you for specialized government functions including; military and veteran’s activities, national security and intelligence, protective services, department of state functions, and correctional institutions and law enforcement custodial situations.\u0003\u0002\u0003\u0002Workers’ Compensation: The Facility may disclose PHI about you as authorized by and to the extent necessary to comply with workers’ compensation laws or programs established by law.\u0003\u0002\u0003\u0002Disaster Relief Purposes: The Facility may disclose PHI about you as authorized by law to a public or private entity to assist in disaster relief efforts and for family and personal representative notification.\u0003\u0002\u0003\u0002Business Associates: The Facility may disclose PHI about you to the Facility’s business associates for services that they may provide to or for the Facility to assist the Facility to provide quality health care. To ensure the privacy of your PHI, we require all business associates to apply appropriate safeguards to any PHI they receive or create.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002OTHER USES AND DISCLOSURES:\u0003\u0002\u0003\u0002The Facility may contact you for the following purposes:\u0003\u0002\u0003\u0002Information about treatment alternatives: The Facility may contact you to notify you of alternative treatments and/or products.\u0003\u0002\u0003\u0002Health related benefits or services: The Facility may use your PHI to notify you of benefits and services the Facility provides.\u0003\u0002\u0003\u0002Fundraising: If the Facility participates in a fundraising activity, the Facility may use demographic PHI to send you a fundraising packet, or the Facility may disclose demographic PHI about you to its business associate or an institutionally related foundation to send you a fundraising packet. No further disclosure will be allowed by the business associates or an institutionally related foundation without your written authorization. You will be provided with an opportunity to opt-out of all future fundraising activities.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002YOUR HEALTH INFORMATION RIGHTS:\u0003\u0002\u0003\u0002The following are a list of your rights in respect to your PHI. Please contact the pharmacist for more information about the below.\u0003\u0002\u0003\u0002You have the right to request additional restrictions of the Facility’s uses and disclosures of your PHI; however, the Facility is not required to accommodate a request. This includes the right to restrict disclosures to Insurances for those products and services you pay out-of-pocket for.\u0003\u0002\u0003\u0002You have the right to request that the Facility communicate confidentially with you using an address or phone number other than your residence. However, state and federal laws require the Facility to have an accurate address and home phone number in case of emergencies. The Facility will consider all reasonable requests.\u0003\u0002\u0003\u0002You have the right to request access and/or obtain a copy of your PHI that is contained in the Facility for the duration the Facility maintains PHI about you. There may be a reasonable cost-based charge for providing these documents. You will be notified in advance of incurring such charges, if any.\u0003\u0002\u0003\u0002You have the right to request an amendment of the PHI the Facility maintains about you, if you feel that the PHI the Facility has maintained about you is incorrect or otherwise incomplete. Under certain circumstances we may deny your request for amendment. If we do deny the request, you will have the right to have the denial reviewed by someone we designate who was not involved in the initial review. You may also ask the Secretary, United States Department of Health and Human Services (\"HHS\"), or their appropriate designee, to review such a denial.\u0003\u0002\u0003\u0002You have the right to receive an accounting of certain disclosures of your PHI made by the Facility.\u0003\u0002\u0003\u0002You have the right to receive additional paper copies of this Notice, upon request, even if you initially agreed to receive the Notice electronically\u0003\u0002You will be notified of any breaches that have compromised the privacy of your PHI.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002REVISIONS TO THE NOTICE OF PRIVACY PRACTICES:\u0003\u0002\u0003\u0002The Facility reserves the right to change and/or revise this Notice and make the new revised version applicable to all PHI received prior to its effective date. The Facility will also post the revised version of the Notice in the Facility.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002COMPLAINTS:\u0003\u0002\u0003\u0002If you believe your privacy rights have been violated, you may file a complaint with the Facility and/or to the Secretary of HHS, or his designee. If you wish to file a complaint with the Facility, please contact the pharmacist-in-charge. If you wish to file a complaint with the Secretary, please write to: http://www.hhs.gov/ocr/office/about/rgn-hqaddresses.html\u0003\u0002\u0003\u0002The Facility will not take any adverse action against you as a result of your filing of a complaint.\u0003\u0002\u0003\u0002--------------------\u0003\u0002\u0003\u0002CONTACT INFORMATION:\u0003\u0002\u0003\u0002If you have any questions on the Facility’s privacy practices or for clarification on anything contained within the Notice, please contact:\u0003\u0002\u0003\u0002BestRx Pharmacy\u0003\u00021200 Jorie Blvd Suite 310\u0003\u0002Oak Brook, NY 60523\u0003\u0002630-893-9210",
        "PromptForSignerInfo": false,
        "CalcualteTaxOn": 1,
        "ConsentList": [
          {
            "PharmacyRecNo": 1,
            "Type": 3,
            "Header": "Enroll in Text/Email Reminders?",
            "Message": "Would you like to receive text or email notifications from the pharmacy?\r\n\r\nNotifications would include things such as refill reminders and notifications for when your prescriptions are ready to be picked up",
            "PharmacyID": 1820,
            "IsActive": true
          },
          {
            "PharmacyRecNo": 3,
            "Type": 1,
            "Header": "Auto Refill Consent",
            "Message": "Auto Refil consent",
            "PharmacyID": 1820,
            "IsActive": true
          }
        ]
      }
    ],
    "Drivers": [
      {
        "DriverID": 22,
        "UserName": "BHAUTIK",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 41,
        "UserName": "MEHUL",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 57,
        "UserName": "SAM_TEST11",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": false,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 58,
        "UserName": "SAM_SECOND_TEST",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 62,
        "UserName": "KEN",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 63,
        "UserName": "AYMAN",
        "Pin": "NsY+t1xkUu4=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 64,
        "UserName": "BLUE",
        "Pin": "l+a0VWPRqAU=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 67,
        "UserName": "NIRAV123",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 68,
        "UserName": "JOHNK",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 69,
        "UserName": "TEST_KINDLE",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 71,
        "UserName": "AMIT",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 74,
        "UserName": "SHB",
        "Pin": "pXinr/NgRQ4=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 78,
        "UserName": "BECKY",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 79,
        "UserName": "SAUMIL",
        "Pin": "jllsSrycLGI=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 86,
        "UserName": "COMMON_DRIVER",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 87,
        "UserName": "NOT_COMMON_TEST",
        "Pin": "hCaiwLDQ+NE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 88,
        "UserName": "COMMON_TEST",
        "Pin": "hCaiwLDQ+NE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 89,
        "UserName": "SZ_NOT_COMMON",
        "Pin": "rx+3MGAts68=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 90,
        "UserName": "SZ_COMMON",
        "Pin": "rx+3MGAts68=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 91,
        "UserName": "BD_NOT_COMMON",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 92,
        "UserName": "BD_COMMON",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 94,
        "UserName": "DRIVERM",
        "Pin": "jllsSrycLGI=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 95,
        "UserName": "HV_DRIVER",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 97,
        "UserName": "HEYMAN",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 99,
        "UserName": "EVNEW",
        "Pin": "rx+3MGAts68=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 100,
        "UserName": "JOHN",
        "Pin": "Qozlbat1gY0=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 101,
        "UserName": "PR",
        "Pin": "Qozlbat1gY0=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 102,
        "UserName": "SAUMIL11",
        "Pin": "kLDHUWLqokA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 105,
        "UserName": "RD DB",
        "Pin": "kLDHUWLqokA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 108,
        "UserName": "OZA",
        "Pin": "8WjZYzFC7IA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 109,
        "UserName": "JACK",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 110,
        "UserName": "BESTRX",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 113,
        "UserName": "MANISH",
        "Pin": "8WjZYzFC7IA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 114,
        "UserName": "DAL",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 115,
        "UserName": "BCSQA",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 116,
        "UserName": "OZAP",
        "Pin": "h/nnlhvpxPE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 118,
        "UserName": "TEST1",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 119,
        "UserName": "VISHNU",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 120,
        "UserName": "BOND",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      }
    ],
    "DeliveryGroups": [],
    "Families": [],
    "Patients": [],
    "Rxs": [],
    "OTCs": [],
    "PaymentCardTokens": [],
    "RemoveRxList": [],
    "RemoveOtcList": [],
    "ErrorRXList": [],
    "ErrorOtcList": []
  },
  "IsValid": true,
  "Messages": []
}
POST - RegisterDevice
POST /Device/RegisterDevice

This endpoint is used to register a android or IOS device for delivery.

Request headers

Authorization
string optional

Basic Auth

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded

RegisterDeviceRequestInfo

Example:
{
    "Pin": "",
    "DeviceName": "",
    "DeviceType": "ScriptDrop",
    "SerialNo": ""
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "AccessToken": "",
        "UnlockPin": "",
        "ListOfDrivers": [
            {
                "DriverID": 1,
                "UserName": "",
                "Pin": "",
                "GroupByFamily": true,
                "ShowRxScreen": true,
                "AllowDelete": true
            }
        ],
        "ListOfPharmacies": [
            {
                "pharmacyId": 1,
                "pharmacyName": ""
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
Example with response data

{{
  "Data": {
    "AccessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IlBoYXJtYWN5IiwibmJmIjoxNjQ3ODU0NzIyLCJleHAiOjE2NDc5NDExMjIsImlhdCI6MTY0Nzg1NDcyMiwiaXNzIjoiQXV0aFNydmMiLCJhdWQiOiJDbG91ZERlbGl2ZXJ5In0.dlPBVYysvfovLqUv-lrCDryX3ZsrqTEyl2tAs08c4-A",
    "UnlockPin": "Oa71xKUv+b4=",
    "ListOfDrivers": [
      {
        "DriverID": 22,
        "UserName": "BHAUTIK",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 41,
        "UserName": "MEHUL",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 57,
        "UserName": "SAM_TEST11",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": false,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 58,
        "UserName": "SAM_SECOND_TEST",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 62,
        "UserName": "KEN",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 63,
        "UserName": "AYMAN",
        "Pin": "NsY+t1xkUu4=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 64,
        "UserName": "BLUE",
        "Pin": "l+a0VWPRqAU=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 67,
        "UserName": "NIRAV123",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 68,
        "UserName": "JOHNK",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 69,
        "UserName": "TEST_KINDLE",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 71,
        "UserName": "AMIT",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 74,
        "UserName": "SHB",
        "Pin": "pXinr/NgRQ4=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 78,
        "UserName": "BECKY",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 79,
        "UserName": "SAUMIL",
        "Pin": "jllsSrycLGI=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 86,
        "UserName": "COMMON_DRIVER",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 87,
        "UserName": "NOT_COMMON_TEST",
        "Pin": "hCaiwLDQ+NE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 88,
        "UserName": "COMMON_TEST",
        "Pin": "hCaiwLDQ+NE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 89,
        "UserName": "SZ_NOT_COMMON",
        "Pin": "rx+3MGAts68=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 90,
        "UserName": "SZ_COMMON",
        "Pin": "rx+3MGAts68=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 91,
        "UserName": "BD_NOT_COMMON",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 92,
        "UserName": "BD_COMMON",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 94,
        "UserName": "DRIVERM",
        "Pin": "jllsSrycLGI=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 95,
        "UserName": "HV_DRIVER",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 97,
        "UserName": "HEYMAN",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 99,
        "UserName": "EVNEW",
        "Pin": "rx+3MGAts68=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 100,
        "UserName": "JOHN",
        "Pin": "Qozlbat1gY0=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 101,
        "UserName": "PR",
        "Pin": "Qozlbat1gY0=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 102,
        "UserName": "SAUMIL11",
        "Pin": "kLDHUWLqokA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 105,
        "UserName": "RD DB",
        "Pin": "kLDHUWLqokA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 108,
        "UserName": "OZA",
        "Pin": "8WjZYzFC7IA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 109,
        "UserName": "JACK",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 110,
        "UserName": "BESTRX",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 113,
        "UserName": "MANISH",
        "Pin": "8WjZYzFC7IA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 114,
        "UserName": "DAL",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 115,
        "UserName": "BCSQA",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 116,
        "UserName": "OZAP",
        "Pin": "h/nnlhvpxPE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 118,
        "UserName": "TEST1",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 119,
        "UserName": "VISHNU",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      }
    ],
    "ListOfPharmacies": [
      {
        "pharmacyId": 1817,
        "pharmacyName": "BestRx Test Pharmacy 3"
      },
      {
        "pharmacyId": 1818,
        "pharmacyName": "REYNOLDS APOTHECARY"
      },
      {
        "pharmacyId": 1819,
        "pharmacyName": "BestRx Pharmacy"
      },
      {
        "pharmacyId": 1820,
        "pharmacyName": "BestRx Pharmacy"
      }
    ]
  },
  "IsValid": true,
  "Messages": []
}}
GET - SyncDriversAndPharmacies
GET /Device/SyncDriversAndPharmacies

This endpoint is used to sync a driver and pharmacies detail in Mobile delivery application from BestRx win application.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "ListOfDrivers": [
            {
                "DriverID": 1,
                "UserName": "",
                "Pin": "",
                "GroupByFamily": true,
                "ShowRxScreen": true,
                "AllowDelete": true
            }
        ],
        "ListOfPharmacies": [
            {
                "pharmacyId": 1,
                "pharmacyName": ""
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Unknown"
        }
    ]
}
Example with response data

{
  "Data": {
    "ListOfDrivers": [
      {
        "DriverID": 22,
        "UserName": "BHAUTIK",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 41,
        "UserName": "MEHUL",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 57,
        "UserName": "SAM_TEST11",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": false,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 58,
        "UserName": "SAM_SECOND_TEST",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 62,
        "UserName": "KEN",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 63,
        "UserName": "AYMAN",
        "Pin": "NsY+t1xkUu4=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      
      {
        "DriverID": 91,
        "UserName": "BD_NOT_COMMON",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 92,
        "UserName": "BD_COMMON",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 94,
        "UserName": "DRIVERM",
        "Pin": "jllsSrycLGI=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 95,
        "UserName": "HV_DRIVER",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 97,
        "UserName": "HEYMAN",
        "Pin": "Ee4NAvtXZQs=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 99,
        "UserName": "EVNEW",
        "Pin": "rx+3MGAts68=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 100,
        "UserName": "JOHN",
        "Pin": "Qozlbat1gY0=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 101,
        "UserName": "PR",
        "Pin": "Qozlbat1gY0=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 102,
        "UserName": "SAUMIL11",
        "Pin": "kLDHUWLqokA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 105,
        "UserName": "RD DB",
        "Pin": "kLDHUWLqokA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 108,
        "UserName": "OZA",
        "Pin": "8WjZYzFC7IA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 109,
        "UserName": "JACK",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 110,
        "UserName": "BESTRX",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 113,
        "UserName": "MANISH",
        "Pin": "8WjZYzFC7IA=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 114,
        "UserName": "DAL",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 115,
        "UserName": "BCSQA",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 116,
        "UserName": "OZAP",
        "Pin": "h/nnlhvpxPE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 118,
        "UserName": "TEST1",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      },
      {
        "DriverID": 119,
        "UserName": "VISHNU",
        "Pin": "EBQb3rGy4UE=",
        "GroupByFamily": true,
        "ShowRxScreen": true,
        "AllowDelete": true
      }
    ],
    "ListOfPharmacies": [
      {
        "pharmacyId": 1817,
        "pharmacyName": "BestRx Test Pharmacy 3"
      },
      {
        "pharmacyId": 1818,
        "pharmacyName": "REYNOLDS APOTHECARY"
      },
      {
        "pharmacyId": 1819,
        "pharmacyName": "BestRx Pharmacy"
      },
      {
        "pharmacyId": 1820,
        "pharmacyName": "BestRx Pharmacy"
      }
    ]
  },
  "IsValid": true,
  "Messages": []
}
GET - GetAccessToken
GET /Device/GetAccessToken

This endpoint is used to get JWT authentication token for delivery device.

Request parameters

deviceSerialNo
string required

Request headers

Authorization
string optional

Basic Auth

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "AccessToken": ""
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Success"
        }
    ]
}
Example with response data

{
  "Data": {
    "AccessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IlBoYXJtYWN5IiwibmJmIjoxNjM4MTY4MDE3LCJleHAiOjE2MzgyNTQ0MTcsImlhdCI6MTYzODE2ODAxNywiaXNzIjoiQXV0aFNydmMiLCJhdWQiOiJDbG91ZERlbGl2ZXJ5In0.At3Q8udRDGWxud-nXg1z9fazkJDyc54c5ln5SW9oe3k"
  },
  "IsValid": true,
  "Messages": []
}
POST - ProcessPayment
POST /Device/ProcessPayment

This endpoint is used to process a paymnet.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "DriverID": 1,
    "PaymentTokenList": [
        {
            "CloudTransactionId": 1,
            "Token": "00000000-0000-0000-0000-000000000000",
            "Amount": 1,
            "HCAmount": 1,
            "RXAmount": 1
        }
    ],
    "PharmacyID": 1,
    "RXDQRecNoList": [
        1
    ],
    "OTCDQRecNoList": [
        1
    ],
    "PaymentID": 1,
    "TransactionType": "ReturnTxn"
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {
        "PaymentTokenList": [
            {
                "CloudTransactionId": 1,
                "Token": "00000000-0000-0000-0000-000000000000",
                "Amount": 1,
                "Status": "PaymentExists",
                "StatusMsg": ""
            }
        ],
        "PaymentID": 1,
        "MissMatchData": [
            {
                "DQRecNo": 1,
                "ItemType": "RX",
                "MessageCode": "PARTIALPAYMENTERROR",
                "Message": "",
                "PaymentID": 1
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Warning"
        }
    ]
}
POST - SyncDeviceLocation
POST /Device/SyncDeviceLocation

This endpoint is used to sync a current mobile device location from background for live location tracking.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "deviceserialno": "",
    "latitude": 1,
    "longitude": 1,
    "lastloggedindriver": "",
    "lastloggedindatetime": ""
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": true,
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Warning"
        }
    ]
}
Example with response data

{
    "Data": true,
    "IsValid": true,
    "Messages": []
}
POST - GetDeviceLocation
POST /Device/GetDeviceLocation

This endpoint is used to get a device current location.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "deviceid": 1,
        "devicename": "",
        "deviceserialno": "",
        "lastloggedindriver": "",
        "lastloggedindatetime": "",
        "latitude": 1,
        "longitude": 1
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Warning"
        }
    ]
}
Example with response data

{
    "Data": {
        "deviceid": 1,
        "devicename": "SM-A515SF",
        "deviceserialno": "11b90457497d0dc5",
        "lastloggedindriver": "Test,Driver",
        "lastloggedindatetime": "",
        "latitude": 23.045454545,
        "longitude": 72.34354545
    },
    "IsValid": true,
    "Messages": []
}
GET - TestUnregisterDevice
GET /Device/TestUnregisterDevice

Request parameters

PharmacyID
integer int32 required

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": true,
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Success"
        }
    ]
}
POST - TestUpdateItemStatus
POST /Device/TestUpdateItemStatus

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "PharmacyID": 1,
    "InvoiceNoList": [
        1
    ],
    "RxNoList": [
        1
    ]
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {
        "PharmacyID": 1,
        "UpdatedInvoiceNoList": [
            1
        ],
        "UpdatedRxNoList": [
            1
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
Pharmacy
POST /Pharmacy/UpdatePharmacyInformation
POST /Pharmacy/UpdatePharmacyProcessorInformation
POST /Pharmacy/UpdateDriverInfoFromPharmacy
GET /Pharmacy/GetPinForDeviceRegistration
GET /Pharmacy/GetUnlockPinForDevice
GET /Pharmacy/UnregisterDevice
GET /Pharmacy/GetListOfDevices
POST /Pharmacy/SendDeliveryData
GET /Pharmacy/GetUpdatedData
POST /Pharmacy/MoveQueueRecordsToLog
POST /Pharmacy/CancelDeliveryRequest
GET /Pharmacy/GetStatus
POST /Pharmacy/GetAccessToken
GET /Pharmacy/GetLogInfo
GET /Pharmacy/GetDriverDetails
POST /Pharmacy/ProcessOnlinePayment
POST /Pharmacy/GetInvoiceStatus
POST /Pharmacy/DataCleanup
POST - UpdatePharmacyInformation
POST /Pharmacy/UpdatePharmacyInformation

This endpoint is used to update pharmacy information.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "PharmacyId": 1,
    "PharmacyUniqueId": "",
    "PharmacyName": "",
    "PharmacyNPI": "",
    "PharmacyNCPDP": "",
    "PharmacyDEA": "",
    "IsActive": true,
    "PharmacySettingsInfo": {
        "AcceptCards": true,
        "AcceptChecks": true,
        "UsingAppInOnlineMode": true,
        "RxExpirationDays": 1
    },
    "HeaderInfo": {
        "HeaderID": 1,
        "PharmacyID": 1,
        "Version": "",
        "HipaaMessage": "",
        "PromptForSignerInfo": true,
        "CalcualteTaxOn": "SalePrice",
        "ConsentList": [
            {
                "PharmacyRecNo": 1,
                "Type": "Healthix_RHIO",
                "Header": "",
                "Message": "",
                "PharmacyID": 1,
                "IsActive": true
            }
        ]
    },
    "PaymentMerchantInfoList": [
        {
            "PharmacyID": 1,
            "Processor_Type": "HtpsPorticoGateway",
            "ClientID": "",
            "UserID": "",
            "UserPassword": "",
            "Merchant_Key": "",
            "LicenseID": "",
            "SiteID": "",
            "HeartlandDeviceID": ""
        }
    ]
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": true,
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Unknown"
        }
    ]
}
Example with response data

{
    "Data": true,
    "IsValid": true,
    "Messages": []
}
POST - UpdatePharmacyProcessorInformation
POST /Pharmacy/UpdatePharmacyProcessorInformation

This endpoint is used to get updated pharmacy information.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "PharmacyId": 1,
    "PharmacyUniqueId": "",
    "PharmacyName": "",
    "PharmacyNPI": "",
    "PharmacyNCPDP": "",
    "PharmacyDEA": "",
    "IsActive": true,
    "PharmacySettingsInfo": {
        "AcceptCards": true,
        "AcceptChecks": true,
        "UsingAppInOnlineMode": true,
        "RxExpirationDays": 1
    },
    "HeaderInfo": {
        "HeaderID": 1,
        "PharmacyID": 1,
        "Version": "",
        "HipaaMessage": "",
        "PromptForSignerInfo": true,
        "CalcualteTaxOn": "SalePrice",
        "ConsentList": [
            {
                "PharmacyRecNo": 1,
                "Type": "Healthix_RHIO",
                "Header": "",
                "Message": "",
                "PharmacyID": 1,
                "IsActive": true
            }
        ]
    },
    "PaymentMerchantInfoList": [
        {
            "PharmacyID": 1,
            "Processor_Type": "PcCharge",
            "ClientID": "",
            "UserID": "",
            "UserPassword": "",
            "Merchant_Key": "",
            "LicenseID": "",
            "SiteID": "",
            "HeartlandDeviceID": ""
        }
    ]
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": true,
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Success"
        }
    ]
}
Example with response data

{
    "Data": true,
    "IsValid": true,
    "Messages": []
}
POST - UpdateDriverInfoFromPharmacy
POST /Pharmacy/UpdateDriverInfoFromPharmacy

This endpoint is used to update driver detail from BestRx win application.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "DriverInfoList": [
        {
            "DriverID": 1,
            "UserName": "",
            "Pin": "",
            "FirstName": "",
            "LastName": "",
            "Email": "",
            "CellNo": "",
            "PharmacyDriverID": 1,
            "GroupByFamily": true,
            "ShowRxScreen": true,
            "AllowDelete": true,
            "Status": "locked",
            "Action": "Delete"
        }
    ],
    "PharmacyID": 1
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": [
        {
            "DriverID": 1,
            "Status": "locked",
            "FirstName": "",
            "LastName": "",
            "Email": "",
            "CellNo": "",
            "ActionStatus": "Inserted",
            "ActionMessage": "",
            "PharmacyDriverID": 1,
            "IsAddedToGroup": 1
        }
    ],
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Information"
        }
    ]
}
Example with response data

{
  "Data": [
    {
      "DriverID": 121,
      "Status": 1,
      "FirstName": "LOCAL1",
      "LastName": "NEW",
      "Email": "LOCAL1@gmail.com",
      "CellNo": "",
      "ActionStatus": 1,
      "ActionMessage": "",
      "PharmacyDriverID": 9,
      "IsAddedToGroup": 0
    }
  ],
  "IsValid": true,
  "Messages": []
}
GET - GetPinForDeviceRegistration
GET /Pharmacy/GetPinForDeviceRegistration

This endpoint is used to get pin for device Registration.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "Pin": ""
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Unknown"
        }
    ]
}
Example with response data

{
  "Data": {
    "Pin": "+0nicJgr0jc="
  },
  "IsValid": true,
  "Messages": [
    {
      "MessageCode": "9",
      "Message": "Decrypted Pin: 351424",
      "MessageType": "Error"
    }
  ]
}
GET - GetUnlockPinForDevice
GET /Pharmacy/GetUnlockPinForDevice

This endpoint is used to get unlock pin for locked mobile device.

Request parameters

deviceID
integer int32 required

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "UnlockPinNo": "",
        "PinNo": "",
        "DriverUserName": ""
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Warning"
        }
    ]
}
Example with resposne data

{
  "Data": {
    "UnlockPinNo": "1apBU42SAQM=",
    "PinNo": null,
    "DriverUserName": "Test,Driver"
  },
  "IsValid": true,
  "Messages": []
}
GET - UnregisterDevice
GET /Pharmacy/UnregisterDevice

This endpoint is used to unregister a delivery device mobile application.

Request parameters

deviceId
integer int32 required

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": true,
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Warning"
        }
    ]
}
Example with response data

{
    "Data": true,
    "IsValid": true,
    "Messages": []
}
GET - GetListOfDevices
GET /Pharmacy/GetListOfDevices

This endpoint is used to get list of delivery mobile device.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": [
        {
            "DeviceID": 1,
            "Mac_Address": "",
            "Device_Name": "",
            "Device_Type": "ScriptDrop",
            "Device_Status": "InActive",
            "IsPrimary": true
        }
    ],
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Unknown"
        }
    ]
}
Example with response data

{
  "Data": [
    {
      "DeviceID": 51,
      "Mac_Address": "22e79724b8c7cc78",
      "Device_Name": "G011A",
      "Device_Type": 2,
      "Device_Status": 2,
      "IsPrimary": true
    },
    {
      "DeviceID": 52,
      "Mac_Address": "45e79745c8c7cc60",
      "Device_Name": "SM-A515SF",
      "Device_Type": 2,
      "Device_Status": 2,
      "IsPrimary": true
    },
    {
      "DeviceID": 53,
      "Mac_Address": "12e79745b5g7cd67",
      "Device_Name": "SM-A525df",
      "Device_Type": 2,
      "Device_Status": 2,
      "IsPrimary": true
    }
  ],
  "IsValid": true,
  "Messages": []
}
POST - SendDeliveryData
POST /Pharmacy/SendDeliveryData

This endpoint is used to send delivery data to mobile delivery application.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "Version": "",
    "DriverID": 1,
    "DeliveryGroupList": [
        {
            "GroupID": 1,
            "PharmacyID": 1,
            "GroupName": "",
            "ContactName": "",
            "Address1": "",
            "Address2": "",
            "City": "",
            "State": "",
            "ZipCode": "",
            "PhoneNo": "",
            "Alt_PhoneNo": "",
            "Remarks": ""
        }
    ],
    "FamilyList": [
        {
            "FamilyID": 1,
            "PharmacyID": 1,
            "First_Name": "",
            "Last_Name": "",
            "Address1": "",
            "Address2": "",
            "City": "",
            "State": "",
            "Zip_Code": "",
            "PhoneNo": "",
            "Remarks": ""
        }
    ],
    "PatientList": [
        {
            "PatientID": 1,
            "PharmacyID": 1,
            "FamilyID": 1,
            "First_Name": "",
            "Middle_Name": "",
            "Last_Name": "",
            "Patient_DOB": "",
            "Patient_Gender": "",
            "HomePhone": "",
            "CellPhone": "",
            "WorkPhone": "",
            "Email": "",
            "Signed_HIPAA": true,
            "Prompt_AutoRefill": true,
            "Prompt_Messaging": true,
            "Updated_CellPhone": "",
            "Updated_Email": "",
            "AutoRefill_Reply": "",
            "Messaging_Reply": ""
        }
    ],
    "RxList": [
        {
            "PharmacyID": 1,
            "PatientID": 1,
            "DriverID": 1,
            "RxID": 1,
            "DeliveryQueueRecNo": 1,
            "RxNo": 1,
            "FillDate": "",
            "DrugName": "",
            "DriverPharmacyID": 1,
            "QtyDispensed": 1,
            "AmountDue": 1,
            "PaymentPending": true,
            "SignerInfoRequired": true,
            "InvoiceNo": 1,
            "ItemSeqNumber": 1,
            "InvoiceDate": "",
            "PassCodePhoneIn": "",
            "AmountPaid": 1,
            "DeliveryDateTime": "",
            "SignatureID": 1,
            "DeclineCounselling": true,
            "SignerInfoID": 1,
            "PaymentTxnIds": [
                1
            ],
            "Status": "Delivered",
            "StatusRemarks": "",
            "Barcode": "",
            "DeviceSerialNo": "",
            "GroupID": 1
        }
    ],
    "OtcList": [
        {
            "PharmacyID": 1,
            "DeliveryQueueRecNo": 1,
            "InvoiceNo": 1,
            "InvoiceDate": "",
            "PatientID": 1,
            "DriverID": 1,
            "ItemSeqNo": 1,
            "ItemRecNo": 1,
            "ItemDescription": "",
            "Item_SKU_UPC": "",
            "QtyRequested": 1,
            "QtyAccepted": 1,
            "RegularPrice": 1,
            "SalePrice": 1,
            "AmountDue": 1,
            "SalesTaxAmount": 1,
            "SalesTaxRate": 1,
            "CityTaxAmount": 1,
            "CountyTaxAmount": 1,
            "IDCheck": true,
            "AgeforIDCheck": 1,
            "PromotionRecNo": 1,
            "PromotionFormula": "",
            "PaymentPending": true,
            "PassCodePhoneIn": "",
            "DeliveryDateTime": "",
            "AmountPaid": 1,
            "SignerInfoID": 1,
            "SignatureID": 1,
            "PaymentTxnIds": [
                1
            ],
            "Status": "Delivered",
            "StatusRemarks": "",
            "Barcode": "",
            "DeviceSerialNo": "",
            "GroupID": 1,
            "DriverPharmacyID": 1,
            "IsHealthCareItem": true
        }
    ],
    "PaymentCardInfoList": [
        {
            "PharmacyId": 1,
            "FamilyId": 1,
            "SequenceNo": 1,
            "CardName": "",
            "CardType": "",
            "IsPrimaryCard": true,
            "CardNumber": "",
            "CardExpirationDate": "",
            "CardLast4Digits": "",
            "CardHolderName": "",
            "BillinAddress": "",
            "BillingZip": "",
            "PaymentCardAction": "",
            "IsActive": true
        }
    ]
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {
        "ReturnRxList": [
            {
                "PharmacyID": 1,
                "RxID": 1,
                "RxNo": 1,
                "FillDate": "",
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "DeliveryQueueRecNo": 1,
                "Status": "Undelivered"
            }
        ],
        "ReturnOtcList": [
            {
                "PharmacyID": 1,
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "Item_SKU_UPC": "",
                "DeliveryQueueRecNo": 1,
                "Status": "ReturnedByDevice"
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Information"
        }
    ]
}
GET - GetUpdatedData
GET /Pharmacy/GetUpdatedData

This endpoint is used to get all updated details including Rx, otc, signature, signer, payment detail etc.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {
        "RxList": [
            {
                "PharmacyID": 1,
                "PatientID": 1,
                "DriverID": 1,
                "RxID": 1,
                "DeliveryQueueRecNo": 1,
                "RxNo": 1,
                "FillDate": "",
                "DriverPharmacyID": 1,
                "QtyDispensed": 1,
                "PaymentPending": true,
                "AmountPaid": 1,
                "DeliveryDateTime": "",
                "SignatureID": 1,
                "DeclineCounselling": true,
                "SignerInfoID": 1,
                "PaymentTxnIds": [
                    1
                ],
                "Status": "NotFound",
                "StatusRemarks": "",
                "Barcode": "",
                "DeviceSerialNo": "",
                "PaymentID": 1,
                "InvoiceNo": 1,
                "GroupID": 1,
                "ItemSeqNo": 1,
                "InvoiceDt": "",
                "AmountDue": 1,
                "ModifiedDate": ""
            }
        ],
        "OTCList": [
            {
                "PharmacyID": 1,
                "DeliveryQueRecNo": 1,
                "InvoiceNo": 1,
                "InvoiceDate": "",
                "PatientID": 1,
                "DriverID": 1,
                "ItemSeqNo": 1,
                "ItemRecNo": 1,
                "Item_SKU_UPC": "",
                "QtyAccepted": 1,
                "IDCheck": true,
                "AgeforIDCheck": 1,
                "PromotionRecNo": 1,
                "PromotionFormula": "",
                "DeliveryDateTime": "",
                "AmountPaid": 1,
                "SignerInfoID": 1,
                "SignatureID": 1,
                "PaymentID": 1,
                "PaymentTxnIds": [
                    1
                ],
                "Status": "ReadyForDelivery",
                "StatusRemarks": "",
                "Barcode": "",
                "DeviceSerialNo": "",
                "DriverPharmacyID": 1,
                "GroupID": 1,
                "QtyRequested": 1,
                "RegPrice": 1,
                "SalePrice": 1,
                "SaleTaxRate": 1,
                "CityTaxAmt": 1,
                "CountyTaxAmt": 1,
                "SalesTaxAmount": 1,
                "IsHealthCareItem": true,
                "ModifiedDate": ""
            }
        ],
        "SignatureList": [
            {
                "SignatureID": 1,
                "Signature": ""
            }
        ],
        "SignerList": [
            {
                "SignerInfoID": 1,
                "SignerLastName": "",
                "SignerFirstName": "",
                "SignerIDJurisdiction": "",
                "SignerIDQualifier": "UniqueSystemID",
                "SignerIdentificationNumber": "",
                "SignerRelation": "Caregiver"
            }
        ],
        "PaymentList": [
            {
                "PaymentTxnID": 1,
                "Payment_Card_Token": "",
                "Payment_Type": "",
                "Amount": 1,
                "Check_No": "",
                "Customer_Name": "",
                "License_No": "",
                "Phone_No": "",
                "Bank_Name": "",
                "Routing_No": "",
                "Account_No": "",
                "Processor_TxnID": "",
                "Result_Code": "",
                "Result": "",
                "Auth_Code": "",
                "Reference": "",
                "FS_HC_Amount": 1,
                "FS_RX_Amount": 1,
                "CreatedDate": "",
                "ModifiedDate": "",
                "DevicePaymentTxnId": 1,
                "PaymentID": 1,
                "Transaction_Type": "ReturnTxn",
                "Payment_Command_Type": "Credit_AccRec_Return",
                "SequenceNo": "",
                "Ticket": "",
                "Payment_Card_Type": "",
                "CardNumber": "",
                "ExpDate": "",
                "CardholderName": "",
                "BillingAddress": "",
                "BillingZip": "",
                "Payment_Card_Name": "",
                "InvoiceTotalAmt": 1
            }
        ],
        "PatientList": [
            {
                "PatientID": 1,
                "PharmacyID": 1,
                "FamilyID": 1,
                "First_Name": "",
                "Middle_Name": "",
                "Last_Name": "",
                "Patient_DOB": "",
                "Patient_Gender": "",
                "HomePhone": "",
                "CellPhone": "",
                "WorkPhone": "",
                "Email": "",
                "Signed_HIPAA": true,
                "Prompt_AutoRefill": true,
                "Prompt_Messaging": true,
                "Updated_CellPhone": "",
                "Updated_Email": "",
                "AutoRefill_Reply": "",
                "Messaging_Reply": ""
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Information"
        }
    ]
}
POST - MoveQueueRecordsToLog
POST /Pharmacy/MoveQueueRecordsToLog

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "RxList": [
        {
            "RxNo": 1,
            "FillDate": "",
            "DeliveryQueueRecNo": 1
        }
    ],
    "OtcList": [
        {
            "InvoiceNo": 1,
            "ItemSeqNo": 1,
            "DeliveryQueueRecNo": 1
        }
    ]
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {
        "RxList": [
            {
                "RxNo": 1,
                "FillDate": "",
                "DeliveryQueueRecNo": 1
            }
        ],
        "OtcList": [
            {
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "DeliveryQueueRecNo": 1
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Success"
        }
    ]
}
POST - CancelDeliveryRequest
POST /Pharmacy/CancelDeliveryRequest

This endpoint is used to do cancel delivery request in delivery queue from BestRx win application.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "RxList": [
        {
            "RxNo": 1,
            "FillDate": "",
            "DeliveryQueueRecNo": 1,
            "Status": "ReturnedByPatient",
            "InvoiceNo": 1,
            "ItemSeqNo": 1
        }
    ],
    "OtcList": [
        {
            "InvoiceNo": 1,
            "ItemSeqNo": 1,
            "DeliveryQueueRecNo": 1,
            "Status": "Undelivered"
        }
    ]
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "RxList": [
            {
                "RxNo": 1,
                "FillDate": "",
                "DeliveryQueueRecNo": 1,
                "Status": "Undelivered",
                "InvoiceNo": 1,
                "ItemSeqNo": 1
            }
        ],
        "OtcList": [
            {
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "DeliveryQueueRecNo": 1,
                "Status": "PickedUpByPatient"
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Information"
        }
    ]
}
Example with response data

{
  "Data": {
    "RxList": [],
    "OtcList": [
      {
        "InvoiceNo": 5381,
        "ItemSeqNo": 1,
        "DeliveryQueueRecNo": 1046,
        "Status": 0
      },
      {
        "InvoiceNo": 5381,
        "ItemSeqNo": 2,
        "DeliveryQueueRecNo": 1047,
        "Status": 0
      },
      {
        "InvoiceNo": 5381,
        "ItemSeqNo": 3,
        "DeliveryQueueRecNo": 1048,
        "Status": 0
      }
    ]
  },
  "IsValid": true,
  "Messages": []
}
GET - GetStatus
GET /Pharmacy/GetStatus

This endpoint is used to get delivery status of Rxs and otc item.

Request parameters

deliveryQueueRecNo
integer int32 required

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {
        "RxList": [
            {
                "RxNo": 1,
                "FillDate": "",
                "DeliveryQueueRecNo": 1,
                "Status": "ReturnedByDevice",
                "InvoiceNo": 1,
                "ItemSeqNo": 1
            }
        ],
        "OtcList": [
            {
                "InvoiceNo": 1,
                "ItemSeqNo": 1,
                "DeliveryQueueRecNo": 1,
                "Status": "ReturnedByDevice"
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Success"
        }
    ]
}
POST - GetAccessToken
POST /Pharmacy/GetAccessToken

This endpoint is used to get JWT auth token base on pharmacy unique id for pharmacy authentication.

Request headers

Authorization
string optional

Basic Auth

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "PharmacyUniqueId": "",
    "IsEncrypted": true
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "AuthToken": "",
        "ExpirationTime": ""
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Success"
        }
    ]
}
Example with response data

{
  "Data": {
    "AuthToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IlBoYXJtYWN5IiwibmJmIjoxNjM4MTY4MDE3LCJleHAiOjE2MzgyNTQ0MTcsImlhdCI6MTYzODE2ODAxNywiaXNzIjoiQXV0aFNydmMiLCJhdWQiOiJDbG91ZERlbGl2ZXJ5In0.At3Q8udRDGWxud-nXg1z9fazkJDyc54c5ln5SW9oe3k",
    "ExpirationTime": "2022-03-21T20:22:29.5186987+05:30"
  },
  "IsValid": true,
  "Messages": []
}
GET - GetLogInfo
GET /Pharmacy/GetLogInfo

Request parameters

LogId
integer int64 required
strType
string required

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {},
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Unknown"
        }
    ]
}
GET - GetDriverDetails
GET /Pharmacy/GetDriverDetails

This endpoint is used to get all driver details.

Request parameters

DriverID
integer int32 required

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": [
        {
            "DriverID": 1,
            "UserName": "",
            "Pin": "",
            "FirstName": "",
            "LastName": "",
            "Email": "",
            "CellNo": "",
            "PharmacyDriverID": 1,
            "GroupByFamily": true,
            "ShowRxScreen": true,
            "AllowDelete": true,
            "Status": "Inactive",
            "Action": "Delete"
        }
    ],
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
Example with response data
{
    "Data": [
        {
            "DriverID": 1,
            "UserName": "TEST_12356",
            "Pin": "Dtr+2VD3gtA=",
            "FirstName": "TEST",
            "LastName": "TEST123456",
            "Email": "",
            "CellNo": "",
            "PharmacyDriverID": 14,
            "GroupByFamily": true,
            "ShowRxScreen": true,
            "AllowDelete": true,
            "Status": "Inactive",
            "Action": "Insert"
        },
        {
            "DriverID": 2,
            "UserName": "TEST 333",
            "Pin": "Dtr+2VD3gtA=",
            "FirstName": "TEST 333",
            "LastName": "TEST 333",
            "Email": "",
            "CellNo": "",
            "PharmacyDriverID": 14,
            "GroupByFamily": true,
            "ShowRxScreen": true,
            "AllowDelete": true,
            "Status": "Inactive",
            "Action": "Insert"
        },
        {
            "DriverID": 2,
            "UserName": "DANIEL",
            "Pin": "0H/LeTs+sRw=",
            "FirstName": "DANIEL",
            "LastName": "SMITH",
            "Email": "DANIELSMITH@TEST.COM",
            "CellNo": "",
            "PharmacyDriverID": 14,
            "GroupByFamily": true,
            "ShowRxScreen": true,
            "AllowDelete": true,
            "Status": "Inactive",
            "Action": "Insert"
        }
    ],
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Unknown"
        }
    ]
}
POST - ProcessOnlinePayment
POST /Pharmacy/ProcessOnlinePayment

This endpoint is used to do process online payment.

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "PharmacyID": 1,
    "InvoiceNo": 1,
    "Amount": 1,
    "HealthCareAmount": 1,
    "RxAmount": 1,
    "Payment_Card_Type": "",
    "CardNumber": "",
    "ExpDate": "",
    "CardholderName": "",
    "BillingZip": "",
    "PatientId": 1,
    "InvoiceTotalAmount": 1
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {
        "PaymentType": "",
        "PaymentAmt": 1,
        "PaymentCardName": "",
        "PaymentCardHolderName": "",
        "PaymentRefNumber": "",
        "PaymentTxnID": "",
        "PaymentResultCode": "",
        "PaymentResultText": "",
        "FSAHealthCareAmt": 1,
        "FSARxAmt": 1,
        "isSuccess": true,
        "Last4DigitCCNumber": "",
        "ProcessType": "",
        "ProcessedDate": ""
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
POST - GetInvoiceStatus
POST /Pharmacy/GetInvoiceStatus

This endpoint is used to get a status of Rx,Otc Item’s invoice.

Request parameters

invoiceNo
integer int32 required

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "RxList": [
            {
                "RXQ_PharmacyID": 1,
                "RXQ_PatientID": 1,
                "RXQ_DriverID": 1,
                "RXQ_RxID": 1,
                "RXQ_Delivery_Que_RecNo": 1,
                "RXQ_RxNo": 1,
                "RXQ_Fill_Date": "",
                "RXQ_Drug_Name": "",
                "RXQ_Driver_PharmacyID": 1,
                "RXQ_Qty_Dispensed": 1,
                "RXQ_Amount_Due": 1,
                "RXQ_Payment_Pending": true,
                "RXQ_Signer_Info_Required": true,
                "RXQ_Invoice_No": 1,
                "RXQ_Item_Seq_Number": 1,
                "RXQ_Invoice_Date": "",
                "RXQ_PassCode_Phone_In": "",
                "RXQ_Amount_Paid": 1,
                "RXQ_Delivery_DateTime": "",
                "RXQ_SignatureID": 1,
                "RXQ_Decline_Counselling": true,
                "RXQ_SignerInfoID": 1,
                "RXQ_PaymentID": 1,
                "RXQ_Status": "Undelivered",
                "RXQ_Status_Remarks": "",
                "RXQ_Barcode": "",
                "RXQ_Device_MacAddress": "",
                "RXQ_CreatedDate": "",
                "RXQ_ModifiedDate": "",
                "RXQ_GroupID": 1
            }
        ],
        "OtcList": [
            {
                "OTCQ_PharmacyID": 1,
                "OTCQ_Delivery_Que_RecNo": 1,
                "OTCQ_Invoice_No": 1,
                "OTCQ_Invoice_Date": "",
                "OTCQ_PatientID": 1,
                "OTCQ_DriverID": 1,
                "OTCQ_Item_Seq_No": 1,
                "OTCQ_Item_Rec_No": 1,
                "OTCQ_Item_Description": "",
                "OTCQ_Item_SKU_UPC": "",
                "OTCQ_Qty_Requested": 1,
                "OTCQ_Qty_Accepted": 1,
                "OTCQ_Regular_Price": 1,
                "OTCQ_Sale_Price": 1,
                "OTCQ_Amount_Due": 1,
                "OTCQ_Sales_Tax_Amount": 1,
                "OTCQ_Sales_Tax_Rate": 1,
                "OTCQ_City_Tax_Amount": 1,
                "OTCQ_County_Tax_Amount": 1,
                "OTCQ_ID_Check": true,
                "OTCQ_Age_for_ID_Check": 1,
                "OTCQ_Promotion_RecNo": 1,
                "OTCQ_Promotion_Formula": "",
                "OTCQ_Payment_Pending": true,
                "OTCQ_PassCode_Phone_In": "",
                "OTCQ_Delivery_DateTime": "",
                "OTCQ_Amount_Paid": 1,
                "OTCQ_SignerInfoID": 1,
                "OTCQ_SignatureID": 1,
                "OTCQ_PaymentID": 1,
                "OTCQ_Status": "Undelivered",
                "OTCQ_Status_Remarks": "",
                "OTCQ_Barcode": "",
                "OTCQ_Device_MacAddress": "",
                "OTCQ_CreatedDate": "",
                "OTCQ_ModifiedDate": "",
                "OTCQ_GroupID": 1,
                "OTCQ_Driver_PharmacyID": 1,
                "OTCQ_Is_HealthCare_Item": true
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
Example with response data

{
    "Data": {
        "RxList": [
            {
               "RXQ_PharmacyID": 1820,
                "RXQ_PatientID": 13,
                "RXQ_DriverID": 101,
                "RXQ_RxID": 20487,
                "RXQ_Delivery_Que_RecNo": 132,
                "RXQ_RxNo": 100394,
                "RXQ_Fill_Date": "2020-11-05",
                "RXQ_Drug_Name": "TYLENOL EXTRA STRENGTH 500MG TABLET",
                "RXQ_Driver_PharmacyID": 1,
                "RXQ_Qty_Dispensed": 30.0000,
                "RXQ_Amount_Due": 1,
                "RXQ_Payment_Pending": true,
                "RXQ_Signer_Info_Required": true,
                "RXQ_Invoice_No": 432,
                "RXQ_Item_Seq_Number": 2,
                "RXQ_Invoice_Date": "",
                "RXQ_PassCode_Phone_In": "2645",
                "RXQ_Amount_Paid": 1,
                "RXQ_Delivery_DateTime": "2021-08-27 17:53:47.383",
                "RXQ_SignatureID": 1,
                "RXQ_Decline_Counselling": true,
                "RXQ_SignerInfoID": 123,
                "RXQ_PaymentID": 34,
                "RXQ_Status": "Undelivered",
                "RXQ_Status_Remarks": "",
                "RXQ_Barcode": "493650725",
                "RXQ_Device_MacAddress": "391e62fe18d2378a",
                "RXQ_CreatedDate": "2021-08-13 03:58:32.100",
                "RXQ_ModifiedDate": "",
                "RXQ_GroupID": 1
            }
        ],
        "OtcList": [
            {
                "OTCQ_PharmacyID": 1,
                "OTCQ_Delivery_Que_RecNo": 1,
                "OTCQ_Invoice_No": 1234,
                "OTCQ_Invoice_Date": "",
                "OTCQ_PatientID": 134,
                "OTCQ_DriverID": 12,
                "OTCQ_Item_Seq_No": 17,
                "OTCQ_Item_Rec_No": 14,
                "OTCQ_Item_Description": "sweet",
                "OTCQ_Item_SKU_UPC": "",
                "OTCQ_Qty_Requested": 1,
                "OTCQ_Qty_Accepted": 1,
                "OTCQ_Regular_Price": 1,
                "OTCQ_Sale_Price": 1,
                "OTCQ_Amount_Due": 1,
                "OTCQ_Sales_Tax_Amount": 234.00,
                "OTCQ_Sales_Tax_Rate": 10,
                "OTCQ_City_Tax_Amount": 1454,
                "OTCQ_County_Tax_Amount": 367.00,
                "OTCQ_ID_Check": true,
                "OTCQ_Age_for_ID_Check": 1,
                "OTCQ_Promotion_RecNo": 1,
                "OTCQ_Promotion_Formula": "",
                "OTCQ_Payment_Pending": true,
                "OTCQ_PassCode_Phone_In": "3456",
                "OTCQ_Delivery_DateTime": "2021-08-27 17:53:47.383",
                "OTCQ_Amount_Paid": 100.00,
                "OTCQ_SignerInfoID": 34,
                "OTCQ_SignatureID": 13,
                "OTCQ_PaymentID": 123,
                "OTCQ_Status": "Undelivered",
                "OTCQ_Status_Remarks": "",
                "OTCQ_Barcode": "5345333",
                "OTCQ_Device_MacAddress": "391e62fe18d2378a",
                "OTCQ_CreatedDate": "2021-08-13 03:58:32.100",
                "OTCQ_ModifiedDate": "2021-08-13 03:58:32.100",
                "OTCQ_GroupID": 1,
                "OTCQ_Driver_PharmacyID": 1,
                "OTCQ_Is_HealthCare_Item": true
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
POST - DataCleanup
POST /Pharmacy/DataCleanup

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": true,
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
Example with response data

{
    "Data": true,
    "IsValid": true,
    "Messages": []
}
User
POST /User/Login
GET /User/GetUser
GET /User/Compression
POST - Login
POST /User/Login

Request parameters

userName
string required
password
string required

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": "",
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
Example with response data

{
    "Data": "",
    "IsValid": true,
    "Messages": []
}
GET - GetUser
GET /User/GetUser

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Example:
{
    "Data": {
        "UserId": 1,
        "UserName": "",
        "Password": "",
        "GroupId": 1,
        "PharmacyId": "",
        "FirstName": "",
        "LastName": "",
        "Email": "",
        "CellNo": "",
        "IsActive": true,
        "AccessToken": "",
        "LastAccessDate": ""
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Unknown"
        }
    ]
}
GET - Compression
GET /User/Compression

Request headers

Authorization
string optional

Basic Auth

x-access-token
string optional

Access Token

x-device-serial-no
string optional

Device Serial Number

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Object
Type Definitions
DeviceDataSyncRequestInfo
Object
DriverID
integer int32 required
Min: 0
Max: 2,147,483,647
SelectedPharmacyID
integer int32 required

Selected pharmacyID only required while scanning barcodes

Min: 0
Max: 2,147,483,647
ListOfBarcodes
Array of string
ListOfDataSyncInfo
IsOnewaySync
boolean

For AutoSync this value must be sent as true.

DeviceDataSyncInfo
Object
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
RXs
Array of DeviceDataSyncRequestRxQueue required
Signatures
Array of SignatureInfo
Signers
Array of SignerInfo
PaymentTxns

Send Patients updated information like CellNo and Email.

DeviceDataSyncRequestRxQueue
Object
DriverID
integer int32 required
Min: 1
Max: 2,147,483,647
RxID
integer int64
RxNo
integer int64 required
Min: 1
DeliveryQueueRecNo
integer int32 required
Min: 1
Max: 2,147,483,647
FillDate
string date-time required
AmountPaid
number double
DeliveryDateTime
string date-time
DeclineCounselling
boolean
Status
string required
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
StatusRemarks
string
Min length: 0
Max length: 5,000
DeviceSignatureID
integer int32
Min: 0
Max: 2,147,483,647
DeviceSignerInfoID
integer int32
Min: 0
Max: 2,147,483,647
DevicePaymentTxnIds
Array

DevicePaymentTxnIds generated on device side to track all transactions linked to RX

integer int64
InvoiceNo
integer int32
PaymentPending
boolean required

PaymentPending determines if payment is due or not for OTC

DeviceDataSyncRequestOtcQueue
Object
InvoiceNo
integer int32 required
Min: 0
Max: 2,147,483,647
DriverID
integer int32 required
Min: 1
Max: 2,147,483,647
ItemSeqNo
integer int32 required
Min: 1
Max: 2,147,483,647
ItemRecNo
integer int32
Min: 0
Max: 2,147,483,647
DeliveryQueueRecNo
integer int32 required
Min: 1
Max: 2,147,483,647
Item_SKU_UPC
string required
Min length: 0
Max length: 20
QtyAccepted
number double
SalesTaxAmount
number double
CityTaxAmount
number double
CountyTaxAmount
number double
DeliveryDateTime
string date-time
AmountPaid
number double

Amountpaid should be provided if item is delivered and paid at the time of delivery

Min: -100
DeviceSignerInfoID
integer int32
Min: 0
Max: 2,147,483,647
DeviceSignatureID
integer int32
Min: 0
Max: 2,147,483,647
DevicePaymentTxnIds
Array

DevicePaymentTxnIds generated on device side to track all transactions linked to OTC

integer int64
Status
string required
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
StatusRemarks
string
Min length: 0
Max length: 5,000
PaymentPending
boolean required

PaymentPending determines if payment is due or not for OTC.

SignatureInfo
Object
Signature
string required
DeviceSignatureID
integer int32 required
Min: 1
Max: 2,147,483,647
SignerInfo
Object
SignerLast_Name
string required
Min length: 0
Max length: 1,000
SignerFirst_Name
string required
Min length: 0
Max length: 1,000
Signer_ID_Jurisdiction
string required
Min length: 0
Max length: 3
Signer_ID_Qualifier
string required
Enumeration:
MilitaryID
StateIssueID
UniqueSystemID
PermanentResidentCard
Passport
DriverLicenseID
SocialSecurityNumber
TribalID
Other
Signer_Identification_Number
string required
Min length: 0
Max length: 100
Signer_Relation
string required
Enumeration:
Patient
ParentOrLegalGuardian
Spouse
Caregiver
Other
DeviceSignerInfoID
integer int32 required
Min: 1
Max: 2,147,483,647
DeviceDataSyncRequestPaymentTxn
Object
PaymentCardToken
string
Min length: 0
Max length: 250
PaymentType
string required

PaymentType must be K (for Check), C (for Credit), D (for Debit), F (for FSA), M (for Cash)

Min length: 0
Max length: 1
Amount
number double
CheckNo
string
Min length: 0
Max length: 100
CustomerName
string
Min length: 0
Max length: 1,000
LicenseNo
string
Min length: 0
Max length: 1,000
PhoneNo
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
BankName
string
Min length: 0
Max length: 1,000
RoutingNo
string
Min length: 0
Max length: 100
AccountNo
string
Min length: 0
Max length: 100
DevicePaymentTxnId
integer int32 required

DeliveTransactionId is unique id generated on device side to find out which Transaction is attached to which RXs and OTCs

Min: 1
Max: 2,147,483,647
PaymentId
integer int32

This is the UniqueId send by cloud in case of Real-time payment.

Min: 0
Max: 2,147,483,647
DeviceDataSyncRequestPatientInfo
Object
PatientID
integer int32 required
Min: 1
Max: 2,147,483,647
UpdatedCellPhone
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
UpdatedEmail
string
Min length: 0
Max length: 1,000
AutoRefillReply
string

AutoRefill reply should be “Y” or “N” or Empty

Min length: 0
Max length: 1
MessagingReply
string

Messaging Notification reply should be “Y” or “N” or Empty

Min length: 0
Max length: 1
ResponseGenericInfo[DeviceDataSyncResponseInfo]
Object
IsValid
boolean
Messages
Array of MessageInfo
DeviceDataSyncResponseInfo
Object
DeviceSerialNo
string
UnlockPin
string
PharmacyInfoList
Array of PharmacyInfo
PharmacyGroupInfo
HeaderInfoList
Array of HeaderInfo
Drivers
Array of DriverDTO
DeliveryGroups
Families
Array of FamilyInfo
Patients
Array of PatientInfo
Rxs
Array of RxQueueDTO
OTCs
Array of OtcQueueDTO
PaymentCardTokens
RemoveRxList
Array of RemoveRxQueue
RemoveOtcList
Array of RemoveOtcQueue
ErrorRXList
Array of ErrorRxQueue
ErrorOtcList
Array of ErrorOtcQueue
MessageInfo
Object
MessageCode
string
Message
string
MessageType
string
Enumeration:
Information
Warning
Error
Success
Unknown
PharmacyInfo
Object
PharmacyId
integer int32 required
Min: 1
Max: 2,147,483,647
PharmacyUniqueId
string required
PharmacyName
string required
PharmacyNPI
string required
Min length: 10
Max length: 10
PharmacyNCPDP
string required
Min length: 6
Max length: 15
PharmacyDEA
string required
Min length: 9
Max length: 10
IsActive
boolean
PharmacySettingsInfo
HeaderInfo
PaymentMerchantInfoList
PharmacyGroupInfo
Object
GroupId
integer int32
GroupName
string
HeaderInfo
Object
HeaderID
integer int32
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
Version
string required
HipaaMessage
string required

Hipaa message to display it on consent screen

PromptForSignerInfo
boolean
CalcualteTaxOn
string
Enumeration:
RegularPrice
SalePrice
ConsentList
Array of ConsentFormInfo

Consent form objects

DriverDTO
Object
DriverID
integer int32
UserName
string
Pin
string
GroupByFamily
boolean
ShowRxScreen
boolean
AllowDelete
boolean
DeliveryGroupInfo
Object
GroupID
integer int32 required
Min: 1
Max: 2,147,483,647
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
GroupName
string required
Min length: 0
Max length: 1,000
ContactName
string required
Min length: 0
Max length: 1,000
Address1
string
Min length: 0
Max length: 1,000
Address2
string
Min length: 0
Max length: 1,000
City
string
Min length: 0
Max length: 250
State
string
Min length: 0
Max length: 2
ZipCode
string
Min length: 0
Max length: 20
PhoneNo
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
Alt_PhoneNo
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
Remarks
string
Min length: 0
Max length: 5,000
FamilyInfo
Object
FamilyID
integer int32 required
Min: 1
Max: 2,147,483,647
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
First_Name
string required
Min length: 0
Max length: 1,000
Last_Name
string required
Min length: 0
Max length: 1,000
Address1
string
Min length: 0
Max length: 1,000
Address2
string
Min length: 0
Max length: 1,000
City
string
Min length: 0
Max length: 250
State
string
Min length: 0
Max length: 2
Zip_Code
string
Min length: 0
Max length: 20
PhoneNo
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
Remarks
string
Min length: 0
Max length: 5,000
PatientInfo
Object
PatientID
integer int32 required
Min: 1
Max: 2,147,483,647
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
FamilyID
integer int32
Min: 0
Max: 2,147,483,647
First_Name
string required
Min length: 0
Max length: 1,000
Middle_Name
string
Min length: 0
Max length: 1,000
Last_Name
string required
Min length: 0
Max length: 1,000
Patient_DOB
string date-time
Patient_Gender
string
Min length: 0
Max length: 1
HomePhone
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
CellPhone
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
WorkPhone
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
Email
string
Min length: 0
Max length: 1,000
Signed_HIPAA
boolean
Prompt_AutoRefill
boolean

This field determines AutoRefill consent form should be visible to user or not

Prompt_Messaging
boolean

This field determines Messaging Notification consent form should be visible to user or not

Updated_CellPhone
string
Min length: 0
Max length: 25
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
Updated_Email
string
Min length: 0
Max length: 1,000
AutoRefill_Reply
string

AutoRefill reply should be “Y” or “N” or Empty

Min length: 0
Max length: 1
Messaging_Reply
string

Messaging Notification reply should be “Y” or “N” or Empty

Min length: 0
Max length: 1
RxQueueDTO
Object
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
PatientID
integer int32 required
Min: 1
Max: 2,147,483,647
DriverID
integer int32 required
Min: 0
Max: 2,147,483,647
RxID
integer int64
Min: 0
Max: 2,147,483,647
DeliveryQueueRecNo
integer int32
Min: 1
Max: 2,147,483,647
RxNo
integer int64 required
Min: 1
FillDate
string date-time required
DrugName
string required
Min length: 0
Max length: 1,000
DriverPharmacyID
integer int32
Min: 0
Max: 2,147,483,647
QtyDispensed
number double
AmountDue
number double
PaymentPending
boolean
SignerInfoRequired
boolean
InvoiceNo
integer int32
Min: 0
Max: 2,147,483,647
ItemSeqNumber
integer int32
Min: -1
Max: 2,147,483,647
InvoiceDate
string date-time
PassCodePhoneIn
string
Min length: 0
Max length: 10
AmountPaid
number double
DeliveryDateTime
string date-time
SignatureID
integer int64
DeclineCounselling
boolean
SignerInfoID
integer int64
PaymentTxnIds
Array

Not used while coming from device

integer int64
Status
string required
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
StatusRemarks
string
Min length: 0
Max length: 5,000
Barcode
string
Min length: 0
Max length: 500
DeviceSerialNo
string
Min length: 0
Max length: 5,000
GroupID
integer int32
Min: 0
Max: 2,147,483,647
OtcQueueDTO
Object
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
DeliveryQueueRecNo
integer int32
Min: 1
Max: 2,147,483,647
InvoiceNo
integer int32 required
Min: 1
Max: 2,147,483,647
InvoiceDate
string date-time
PatientID
integer int32 required
Min: 1
Max: 2,147,483,647
DriverID
integer int32 required
Min: 0
Max: 2,147,483,647
ItemSeqNo
integer int32 required
Min: 1
Max: 2,147,483,647
ItemRecNo
integer int32
Min: 0
Max: 2,147,483,647
ItemDescription
string
Min length: 0
Max length: 1,000
Item_SKU_UPC
string required
Min length: 0
Max length: 20
QtyRequested
number double
QtyAccepted
number double
RegularPrice
number double
Min: -100
SalePrice
number double

Sale Price is used in calculating the amount of OTC

Min: -100
AmountDue
number double

Amount needs to be paid by user

Min: -100
SalesTaxAmount
number double
SalesTaxRate
number double

Sales Tax Rate is used in calculating the amount of OTC

CityTaxAmount
number double
CountyTaxAmount
number double
IDCheck
boolean
AgeforIDCheck
integer int32
Min: 0
Max: 2,147,483,647
PromotionRecNo
integer int32
Min: 0
Max: 2,147,483,647
PromotionFormula
string
Min length: 0
Max length: 100
PaymentPending
boolean
PassCodePhoneIn
string
Min length: 0
Max length: 10
DeliveryDateTime
string date-time
AmountPaid
number double
SignerInfoID
integer int64
SignatureID
integer int64
PaymentTxnIds
Array

Not used while coming from device

integer int64
Status
string required
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
StatusRemarks
string
Min length: 0
Max length: 5,000
Barcode
string
Min length: 0
Max length: 1,000
DeviceSerialNo
string
Min length: 0
Max length: 5,000
GroupID
integer int32
Min: 0
Max: 2,147,483,647
DriverPharmacyID
integer int32
Min: 0
Max: 2,147,483,647
IsHealthCareItem
boolean
PaymentCardTokenDTO
Object
Token
string
PaymentCardName
string
Last4Digits
string
FamilyID
integer int32
PharmacyID
integer int32
PaymentCardType
string
IsPrimaryCard
boolean
IsExpired
boolean
RemoveRxQueue
Object
PharmacyID
integer int32
RxID
integer int64
RxNo
integer int64
FillDate
string date-time
InvoiceNo
integer int32
ItemSeqNo
integer int32
DeliveryQueueRecNo
integer int32
Status
string

Status field To indicate the status In cloud.

Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
RemoveOtcQueue
Object
PharmacyID
integer int32
InvoiceNo
integer int32
ItemSeqNo
integer int32
Item_SKU_UPC
string
DeliveryQueueRecNo
integer int32
Status
string

Status field To indicate the status In cloud.

Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
ErrorRxQueue
Object
PharmacyID
integer int32
RxID
integer int64
RxNo
integer int64
FillDate
string date-time
InvoiceNo
integer int32
ItemSeqNo
integer int32
DeliveryQueueRecNo
integer int32
Status
string

Status field To indicate the status In cloud.

Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
ErrorMsg
string

Reason For Failure

ErrorOtcQueue
Object
PharmacyID
integer int32
InvoiceNo
integer int32
ItemSeqNo
integer int32
Item_SKU_UPC
string
DeliveryQueueRecNo
integer int32
Status
string

Status field To indicate the status In cloud.

Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
ErrorMsg
string

Reason For Failure

PharmacySettingsInfo
Object
AcceptCards
boolean
AcceptChecks
boolean
UsingAppInOnlineMode
boolean
RxExpirationDays
integer int32
PaymentProcessorInfo
Object
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
Processor_Type
string required
Enumeration:
PcCharge
Payware
HtpsPorticoGateway
CardKnox
HtpsPorticoGatewayEMV
Square
ClientID
string
Min length: 0
Max length: 250
UserID
string
Min length: 0
Max length: 5,000
UserPassword
string
Min length: 0
Max length: 5,000
Merchant_Key
string
Min length: 0
Max length: 5,000
LicenseID
string
Min length: 0
Max length: 250
SiteID
string
Min length: 0
Max length: 250
HeartlandDeviceID
string
Min length: 0
Max length: 250
ConsentFormInfo
Object
PharmacyRecNo
integer int32

UniqueRecNo for each pharmacy

Type
string

Type of consent

Enumeration:
Custom
Auto_Refill
Healthix_RHIO
MessagingService
KeepRx
Header
string

Title of form

Message
string

Description

PharmacyID
integer int32
IsActive
boolean
RegisterDeviceRequestInfo
Object
Pin
string
Min length: 0
Max length: 100
DeviceName
string required
Min length: 0
Max length: 250
DeviceType
string required
Enumeration:
None
HPIpaq
Android
ScriptDrop
Apple
SerialNo
string required
Min length: 0
Max length: 100
ResponseGenericInfo[RegisterDeviceResponseInfo]
Object
Example:
{
    "Data": {
        "AccessToken": "",
        "UnlockPin": "",
        "ListOfDrivers": [
            {
                "DriverID": 1,
                "UserName": "",
                "Pin": "",
                "GroupByFamily": true,
                "ShowRxScreen": true,
                "AllowDelete": true
            }
        ],
        "ListOfPharmacies": [
            {
                "pharmacyId": 1,
                "pharmacyName": ""
            }
        ]
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Success"
        }
    ]
}
IsValid
boolean
Messages
Array of MessageInfo
RegisterDeviceResponseInfo
Object
AccessToken
string
UnlockPin
string
ListOfDrivers
Array of DriverDTO
ListOfPharmacies
Array of PharmacyDTO
PharmacyDTO
Object
pharmacyId
integer int32
pharmacyName
string
ResponseGenericInfo[SyncDriverAndPharmacyResponse]
Object
IsValid
boolean
Messages
Array of MessageInfo
SyncDriverAndPharmacyResponse
Object
ListOfDrivers
Array of DriverDTO
ListOfPharmacies
Array of PharmacyDTO
ResponseGenericInfo[AccessTokenResponse]
Object
IsValid
boolean
Messages
Array of MessageInfo
AccessTokenResponse
Object
AccessToken
string
PaymentRequest
Object
DriverID
integer int32 required
Min: 1
Max: 2,147,483,647
PaymentTokenList
Array of PaymentTokenInfo required

Card details need to be processed

PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
RXDQRecNoList
Array

RXs DeliveryQueueRecNo List

integer int32
OTCDQRecNoList
Array

OTCs DeliveryQueueRecNo List

integer int32
PaymentID
integer int64 required

PaymentID is to track all transactions of a delivery

TransactionType
string required

Transaction Type to decide Sale or Return

Enumeration:
SaleTxn
AccRecTxn
ReturnTxn
PaymentTokenInfo
Object
CloudTransactionId
integer int64 required

Unique ID generated on cloud side to track the transaction in case of cancellation

Token
string uuid required

Card unique token

Example:
00000000-0000-0000-0000-000000000000
Amount
number double required

Amount that they want to charge on the card

HCAmount
number double

HCAmount is calculated based on IsHealthCareItem flag of OTCs and thier AmountDue.

RXAmount
number double

RX Amount is calculate based on RXs AmountDue

ResponseGenericInfo[PaymentResponse]
Object
IsValid
boolean
Messages
Array of MessageInfo
PaymentResponse
Object
PaymentTokenList

Card details that are processed

PaymentID
integer int64

PaymentID is to track all transactions of a delivery

MissMatchData
PaymentResponseTokenInfo
Object
CloudTransactionId
integer int64

Unique ID generated on cloud side to track the transaction in case of cancellation

Token
string uuid

Card unique token

Example:
00000000-0000-0000-0000-000000000000
Amount
number double

Amount charged on card

Status
string

Status of Transaction

Enumeration:
Failure
Success
PaymentExists
AlreadyReturned
NotExists
StatusMsg
string

Error msg return in case of failures

PaymentMissMatchData
Object
DQRecNo
integer int64
ItemType
string
Enumeration:
RX
OTC
MessageCode
string
Enumeration:
ERROR0000
ERROR0001
ERROR0002
ERROR0003
ERROR0004
ERROR0005
ERROR0006
ERROR0007
Information
REQUESTERROR
USERNOTFOUND
USERINACTIVE
PSWNOTMATCH
TOKENERROR
INVALIDPHARMACY
INVALIDINVOICENO
INVALIDDEVICE
INVALIDDRIVER
PARTIALPAYMENTERROR
PAYMENTIDNOTMATCH
RECORDNOTFOUND
AUTHTOKENFAILURE
INACTIVEDEVICE
INVALIDPHARMACYUNIQUEID
REQUESTUNAUTHORIZED
SERVICEUNAVAILABLE
FORBIDDEN
BADREQUEST
SERVICENOTFOUND
INVALIDDEVICENAME
Message
string
PaymentID
integer int64
SyncDeviceLocationDataRequest
Object
deviceserialno
string required
latitude
number double required
longitude
number double required
lastloggedindriver
string
lastloggedindatetime
string date-time required
ResponseGenericInfo[Boolean]
Object
Data
boolean
IsValid
boolean
Messages
Array of MessageInfo
GetDeviceLocationRequestInfo
Object
deviceid
integer int32 required
pharmacyid
integer int32 required
ResponseGenericInfo[GetDeviceResponseInfo]
Object
IsValid
boolean
Messages
Array of MessageInfo
GetDeviceResponseInfo
Object
deviceid
integer int32
devicename
string
deviceserialno
string
lastloggedindriver
string
lastloggedindatetime
string date-time
latitude
number double
longitude
number double
TestDeliveryItemStatus
Object
PharmacyID
integer int32
InvoiceNoList
Array
integer int32
RxNoList
Array
integer int64
ResponseGenericInfo[TestDeliveryItemUpdateStatus]
Object
IsValid
boolean
Messages
Array of MessageInfo
TestDeliveryItemUpdateStatus
Object
PharmacyID
integer int32
UpdatedInvoiceNoList
Array
integer int32
UpdatedRxNoList
Array
integer int64
DriverRequestInfo
Object
DriverInfoList
Array of DriverInfo required
PharmacyID
integer int32 required
Min: 1
Max: 2,147,483,647
DriverInfo
Object
DriverID
integer int32 required
Min: 0
Max: 2,147,483,647
UserName
string required
Pin
string required
FirstName
string required
LastName
string required
Email
string
CellNo
string
Pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
PharmacyDriverID
integer int32 required
Min: 1
Max: 2,147,483,647
GroupByFamily
boolean required
ShowRxScreen
boolean required
AllowDelete
boolean required
Status
string required
Enumeration:
active
locked
reset
Unverified
Inactive
Action
string required
Enumeration:
Insert
Update
AddToGroup
Delete
ResponseGenericInfo[List[DriverResponseInfo]]
Object
Data
IsValid
boolean
Messages
Array of MessageInfo
DriverResponseInfo
Object
DriverID
integer int32
Status
string
Enumeration:
active
locked
reset
Unverified
Inactive
FirstName
string
LastName
string
Email
string
CellNo
string
ActionStatus
string
Enumeration:
NotFound
Inserted
Updated
Exist
ExistInGroup
Deleted
ActionError
ActionMessage
string
PharmacyDriverID
integer int32
IsAddedToGroup
integer int32
ResponseGenericInfo[AddDeviceResponseInfo]
Object
IsValid
boolean
Messages
Array of MessageInfo
AddDeviceResponseInfo
Object
Pin
string
ResponseGenericInfo[GetUnlockPinResponseInfo]
Object
IsValid
boolean
Messages
Array of MessageInfo
GetUnlockPinResponseInfo
Object
UnlockPinNo
string
PinNo
string
DriverUserName
string
ResponseGenericInfo[List[DeviceDTO]]
Object
Data
Array of DeviceDTO
IsValid
boolean
Messages
Array of MessageInfo
DeviceDTO
Object
DeviceID
integer int32
Mac_Address
string
Device_Name
string
Device_Type
string
Enumeration:
None
HPIpaq
Android
ScriptDrop
Apple
Device_Status
string
Enumeration:
InActive
Active
Registered
IsPrimary
boolean
SendDeliveryDataRequest
Object
Version
string
DriverID
integer int32 required
Min: 0
Max: 2,147,483,647
DeliveryGroupList
FamilyList
Array of FamilyInfo
PatientList
Array of PatientInfo
RxList
Array of RxQueueDTO
OtcList
Array of OtcQueueDTO
PaymentCardInfoList
Array of PaymentCardDTO
PaymentCardDTO
Object
PharmacyId
integer int32 required
Min: 1
Max: 2,147,483,647
FamilyId
integer int32 required
Min: 1
Max: 2,147,483,647
SequenceNo
integer int32 required
Min: 1
Max: 2,147,483,647
CardName
string required
Min length: 0
Max length: 100
CardType
string required
Min length: 0
Max length: 1
IsPrimaryCard
boolean
CardNumber
string required
CardExpirationDate
string required
CardLast4Digits
string
Min length: 0
Max length: 4
CardHolderName
string required
Min length: 0
Max length: 1,000
BillinAddress
string required
Min length: 0
Max length: 1,000
BillingZip
string required
Min length: 0
Max length: 20
PaymentCardAction
string required
IsActive
boolean required
ResponseGenericInfo[SendDeliveryDataResponse]
Object
IsValid
boolean
Messages
Array of MessageInfo
SendDeliveryDataResponse
Object
ReturnRxList
Array of RemoveRxQueue
ReturnOtcList
Array of RemoveOtcQueue
ResponseGenericInfo[GetUpdatedDataResponse]
Object
IsValid
boolean
Messages
Array of MessageInfo
GetUpdatedDataResponse
Object
RxList
OTCList
SignatureList
Array of SignatureDTO
SignerList
Array of SignerDTO
PaymentList
PatientList
Array of PatientInfo
CloudToPharmacyRxQueueDTO
Object
PharmacyID
integer int32
PatientID
integer int32
DriverID
integer int32
RxID
integer int64
DeliveryQueueRecNo
integer int32
RxNo
integer int64
FillDate
string date-time
DriverPharmacyID
integer int32
QtyDispensed
number double
PaymentPending
boolean
AmountPaid
number double
DeliveryDateTime
string date-time
SignatureID
integer int64
DeclineCounselling
boolean
SignerInfoID
integer int64
PaymentTxnIds
Array
integer int64
Status
string
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
StatusRemarks
string
Barcode
string
DeviceSerialNo
string
PaymentID
integer int64
InvoiceNo
integer int32
GroupID
integer int32
ItemSeqNo
integer int32
InvoiceDt
string date-time
AmountDue
number double
ModifiedDate
string date-time
CloudToPharmacyOtcQueueDTO
Object
PharmacyID
integer int32
DeliveryQueRecNo
integer int32
InvoiceNo
integer int32
InvoiceDate
string date-time
PatientID
integer int32
DriverID
integer int32
ItemSeqNo
integer int32
ItemRecNo
integer int32
Item_SKU_UPC
string
QtyAccepted
number double
IDCheck
boolean
AgeforIDCheck
integer int32
PromotionRecNo
integer int32
PromotionFormula
string
DeliveryDateTime
string date-time
AmountPaid
number double
SignerInfoID
integer int64
SignatureID
integer int64
PaymentID
integer int64
PaymentTxnIds
Array
integer int64
Status
string
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
StatusRemarks
string
Barcode
string
DeviceSerialNo
string
DriverPharmacyID
integer int32
GroupID
integer int32
QtyRequested
number double
RegPrice
number double
SalePrice
number double
SaleTaxRate
number double
CityTaxAmt
number double
CountyTaxAmt
number double
SalesTaxAmount
number double
IsHealthCareItem
boolean
ModifiedDate
string date-time
SignatureDTO
Object
SignatureID
integer int64
Signature
string
SignerDTO
Object
SignerInfoID
integer int64
SignerLastName
string
SignerFirstName
string
SignerIDJurisdiction
string
SignerIDQualifier
string
Enumeration:
MilitaryID
StateIssueID
UniqueSystemID
PermanentResidentCard
Passport
DriverLicenseID
SocialSecurityNumber
TribalID
Other
SignerIdentificationNumber
string
SignerRelation
string
Enumeration:
Patient
ParentOrLegalGuardian
Spouse
Caregiver
Other
PaymentTransactionInfo
Object
PaymentTxnID
integer int64
Payment_Card_Token
string
Payment_Type
string
Amount
number double
Check_No
string
Customer_Name
string
License_No
string
Phone_No
string
Bank_Name
string
Routing_No
string
Account_No
string
Processor_TxnID
string
Result_Code
string
Result
string
Auth_Code
string
Reference
string
FS_HC_Amount
number double
FS_RX_Amount
number double
CreatedDate
string date-time
ModifiedDate
string date-time
DevicePaymentTxnId
integer int32
PaymentID
integer int64
Transaction_Type
string
Enumeration:
SaleTxn
AccRecTxn
ReturnTxn
Payment_Command_Type
string
Enumeration:
Credit_Sale
Credit_AccRec
Credit_Return
Debit_Sale
Debit_AccRec
Debit_Return
FSA_Sale
FSA_Return
FoodStamp_Sale
FoodStamp_Return
EBT_Sale
EBT_Return
Gift_Sale
Gift_AccRec
Gift_Return
Credit_AccRec_Return
Debit_AccRec_Return
Gift_AccRec_Return
SequenceNo
string
Ticket
string
Payment_Card_Type
string
CardNumber
string
ExpDate
string
CardholderName
string
BillingAddress
string
BillingZip
string
Payment_Card_Name
string
InvoiceTotalAmt
number double
MoveQueueRecords
Object
RxList
Array of MoveRxQueue required
OtcList
Array of MoveOtcQueue required
MoveRxQueue
Object
RxNo
integer int64 required
Min: 1
FillDate
string date-time required
DeliveryQueueRecNo
integer int32 required
Min: 1
MoveOtcQueue
Object
InvoiceNo
integer int32 required
Min: 1
Max: 2,147,483,647
ItemSeqNo
integer int32 required
Min: 1
Max: 2,147,483,647
DeliveryQueueRecNo
integer int32 required
Min: 1
ResponseGenericInfo[MoveQueueRecords]
Object
IsValid
boolean
Messages
Array of MessageInfo
CancelDeliveryRequest
Object
RxList
Array of RxDeliveryRequest required
OtcList
Array of OtcDeliveryRequest required
RxDeliveryRequest
Object
RxNo
integer int64 required
Min: 1
FillDate
string date-time required
DeliveryQueueRecNo
integer int32 required
Min: 1
Status
string required
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
InvoiceNo
integer int32 required
Min: 0
Max: 2,147,483,647
ItemSeqNo
integer int32 required
Min: -1
Max: 2,147,483,647
OtcDeliveryRequest
Object
InvoiceNo
integer int32 required
Min: 1
Max: 2,147,483,647
ItemSeqNo
integer int32 required
Min: 1
Max: 2,147,483,647
DeliveryQueueRecNo
integer int32 required
Min: 1
Status
string required
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
ResponseGenericInfo[CancelDeliveryRequest]
Object
IsValid
boolean
Messages
Array of MessageInfo
PharmacyTokenRequest
Object
PharmacyUniqueId
string required
IsEncrypted
boolean
ResponseGenericInfo[PharmacyAuthTokenResponse]
Object
IsValid
boolean
Messages
Array of MessageInfo
PharmacyAuthTokenResponse
Object
AuthToken
string
ExpirationTime
string date-time
ResponseGenericInfo[Object]
Object
Data
Object
IsValid
boolean
Messages
Array of MessageInfo
ResponseGenericInfo[List[DriverInfo]]
Object
Data
Array of DriverInfo
IsValid
boolean
Messages
Array of MessageInfo
OnlinePaymentRequestInfo
Object
PharmacyID
integer int32
InvoiceNo
integer int32
Amount
number double
HealthCareAmount
number double
RxAmount
number double
Payment_Card_Type
string
CardNumber
string
ExpDate
string
CardholderName
string
BillingZip
string
PatientId
integer int32
InvoiceTotalAmount
number double
ResponseGenericInfo[OnlineTxnPaymentResponseInfo]
Object
IsValid
boolean
Messages
Array of MessageInfo
OnlineTxnPaymentResponseInfo
Object
PaymentType
string
PaymentAmt
number double
PaymentCardName
string
PaymentCardHolderName
string
PaymentRefNumber
string
PaymentTxnID
string
PaymentResultCode
string
PaymentResultText
string
FSAHealthCareAmt
number double
FSARxAmt
number double
isSuccess
boolean
Last4DigitCCNumber
string
ProcessType
string
ProcessedDate
string date-time
ResponseGenericInfo[InvoiceStatusInfo]
Object
IsValid
boolean
Messages
Array of MessageInfo
InvoiceStatusInfo
Object
RxList
Array of RxQueueInfo
OtcList
Array of OtcQueueInfo
RxQueueInfo
Object
RXQ_PharmacyID
integer int32
RXQ_PatientID
integer int32
RXQ_DriverID
integer int32
RXQ_RxID
integer int64
RXQ_Delivery_Que_RecNo
integer int32
RXQ_RxNo
integer int64
RXQ_Fill_Date
string date-time
RXQ_Drug_Name
string
RXQ_Driver_PharmacyID
integer int32
RXQ_Qty_Dispensed
number double
RXQ_Amount_Due
number double
RXQ_Payment_Pending
boolean
RXQ_Signer_Info_Required
boolean
RXQ_Invoice_No
integer int32
RXQ_Item_Seq_Number
integer int32
RXQ_Invoice_Date
string date-time
RXQ_PassCode_Phone_In
string
RXQ_Amount_Paid
number double
RXQ_Delivery_DateTime
string date-time
RXQ_SignatureID
integer int64
RXQ_Decline_Counselling
boolean
RXQ_SignerInfoID
integer int64
RXQ_PaymentID
integer int64
RXQ_Status
string
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
RXQ_Status_Remarks
string
RXQ_Barcode
string
RXQ_Device_MacAddress
string
RXQ_CreatedDate
string date-time
RXQ_ModifiedDate
string date-time
RXQ_GroupID
integer int32
OtcQueueInfo
Object
OTCQ_PharmacyID
integer int32
OTCQ_Delivery_Que_RecNo
integer int32
OTCQ_Invoice_No
integer int32
OTCQ_Invoice_Date
string date-time
OTCQ_PatientID
integer int32
OTCQ_DriverID
integer int32
OTCQ_Item_Seq_No
integer int32
OTCQ_Item_Rec_No
integer int32
OTCQ_Item_Description
string
OTCQ_Item_SKU_UPC
string
OTCQ_Qty_Requested
number double
OTCQ_Qty_Accepted
number double
OTCQ_Regular_Price
number double
OTCQ_Sale_Price
number double
OTCQ_Amount_Due
number double
OTCQ_Sales_Tax_Amount
number double
OTCQ_Sales_Tax_Rate
number double
OTCQ_City_Tax_Amount
number double
OTCQ_County_Tax_Amount
number double
OTCQ_ID_Check
boolean
OTCQ_Age_for_ID_Check
integer int32
OTCQ_Promotion_RecNo
integer int32
OTCQ_Promotion_Formula
string
OTCQ_Payment_Pending
boolean
OTCQ_PassCode_Phone_In
string
OTCQ_Delivery_DateTime
string date-time
OTCQ_Amount_Paid
number double
OTCQ_SignerInfoID
integer int64
OTCQ_SignatureID
integer int64
OTCQ_PaymentID
integer int64
OTCQ_Status
string
Enumeration:
NotFound
Undelivered
OutForDelivery
Delivered
ReturnedByPatient
ReturnedByDevice
PickedUpByPatient
Cancelled
ReadyForDelivery
OTCQ_Status_Remarks
string
OTCQ_Barcode
string
OTCQ_Device_MacAddress
string
OTCQ_CreatedDate
string date-time
OTCQ_ModifiedDate
string date-time
OTCQ_GroupID
integer int32
OTCQ_Driver_PharmacyID
integer int32
OTCQ_Is_HealthCare_Item
boolean
ResponseGenericInfo[String]
Object
Data
string
IsValid
boolean
Messages
Array of MessageInfo
ResponseGenericInfo[UserInfo]
Object
Data
IsValid
boolean
Messages
Array of MessageInfo
UserInfo
Object
UserId
integer int64
UserName
string
Password
string
GroupId
integer int32
PharmacyId
string
FirstName
string
LastName
string
Email
string
CellNo
string
IsActive
boolean
AccessToken
string
LastAccessDate
string date-time