BestRx APIs
Contact Us
  1. Refill API
  • Introduction - BestRx APIs
  • Patient API
    • Overview
    • Error Codes
    • Add Patient
      POST
    • Update Patient
      POST
    • Get Patient
      POST
    • Submit Charge Account Payment
      POST
  • Drug API
    • Overview
    • Error Codes
    • Get Drug Information
      POST
  • Prescription API
    • Overview
    • Error Codes
    • Submit Rx Transfer Request
      POST
    • Return to Stock
      POST
    • Save Rx Signature
      POST
  • Refill API
    • Overview
    • Error Codes
    • GetPatientProfile
      POST
    • Send Refill Request
      POST
  • BestPOS API
    • Overview
    • Error Codes
    • Create POS Transaction
      POST
    • Get POS Transaction Status
      POST
    • Get Item Details
      POST
  • Delivery/Shipping Provider API
    • Overview
    • Error Codes
    • Address Validation
    • Create Order
    • Update Order Status
    • Cancel Order
  • Realtime Data Feed Specification
    • Overview
    • Patient Update Callback
    • E-Prescription Notification Callback
    • Prescription Update Callback
  1. Refill API

GetPatientProfile

POST
https://webservice.bcsbestrx.com/bcswebservice/v2/webrefillservice/GetPatientProfile
INFO
This endpoint it used to get the patient's Rx profile details.

Request

Header Params

Body Params application/json

Example
{
    "userName": "Telecom",
    "APIKey": "1abc2d3e4fghi5jklm6nopq7rstu890vwxyz",
    "PharmacyNumber": "1234567890",
    "LastName": "Smith",
    "DOB": "1990-12-31",
    "RxNumber": 100001,
    "BestRxPatientID": "12345",
    "IncludeHoldRx": "Y",
    "IncludeUnbilledRx": "Y",
    "ReturnOnlyQueriedRx": "N"
}

Responses

🟢200OK
application/json
Body

Example
{
    "PatientID": 12345,
    "PatientLastName": "SMITH",
    "PatientFirstName": "JOHN",
    "DOB": "1990-12-31T00:00:00Z",
    "Gender": "M",
    "Address1": "2625 BUTTERFIELD ROAD",
    "Address2": "SUITE 200S",
    "City": "OAK BROOK",
    "State": "IL",
    "Zipcode": "60523",
    "HomePhone": "6303393171",
    "WorkPhone": "8777775758",
    "CellPhone": "8777775758",
    "RxDetail": [
        {
            "RxNumber": 100001,
            "WrittenDate": "2024-05-15T00:00:00Z",
            "LastFilledDate": "2024-05-15T00:00:00Z",
            "Drug": "ALENDRONATE SOD TAB 5MG MYL",
            "DrugNDC": "00378-3566-01",
            "QtyOrdered": 30,
            "QtyFilled": 30,
            "RefillAuthorized": 5,
            "RefillRemaining": 5,
            "RefillDueDate": "2024-06-09T00:00:00Z",
            "Days": 30,
            "SigDirection": "TAKE 1 TABLET DAILY",
            "DoctorLastName": "ROBERT",
            "DoctorFirstName": "GRIFFIN",
            "DoctorAddress1": "1234 INDIGO LN SUITE 303",
            "DoctorAddress2": "SUITE 123",
            "DoctorCity": "WOODSTOCK",
            "DoctorState": "IL",
            "DoctorZipcode": "60098-3608",
            "DoctorPhone": "630-555-2222",
            "DoctorFax": "866-264-4132",
            "RxStatus": "Transmitted",
            "PatientPay": null,
            "Total": null,
            "WorkflowStatus": 1,
            "WorkflowStatusText": "Ready for Pickup"
        },
        {
            "RxNumber": 100002,
            "WrittenDate": "2024-05-15T00:00:00Z",
            "LastFilledDate": "2024-05-15T00:00:00Z",
            "Drug": "LISINOPRIL 10MG TABP",
            "DrugNDC": "63304-0533-01",
            "QtyOrdered": 30,
            "QtyFilled": 30,
            "RefillAuthorized": 5,
            "RefillRemaining": 5,
            "RefillDueDate": "2024-06-09T00:00:00Z",
            "Days": 30,
            "SigDirection": "TAKE 1 TABLET DAILY",
            "DoctorLastName": "ROBERT",
            "DoctorFirstName": "GRIFFIN",
            "DoctorAddress1": "1234 INDIGO LN SUITE 303",
            "DoctorAddress2": "SUITE 123",
            "DoctorCity": "WOODSTOCK",
            "DoctorState": "IL",
            "DoctorZipcode": "60098-3608",
            "DoctorPhone": "630-555-2222",
            "DoctorFax": "866-264-4132",
            "RxStatus": "Unbilled",
            "PatientPay": null,
            "Total": null,
            "WorkflowStatus": 0,
            "WorkflowStatusText": "Entered into System"
        },
        {
            "RxNumber": 100003,
            "WrittenDate": "2024-05-15T00:00:00Z",
            "LastFilledDate": "2024-05-15T00:00:00Z",
            "Drug": "METFORMIN 500MG TAB",
            "DrugNDC": "62037-0674-01",
            "QtyOrdered": 60,
            "QtyFilled": 60,
            "RefillAuthorized": 5,
            "RefillRemaining": 5,
            "RefillDueDate": "2024-07-09T00:00:00Z",
            "Days": 60,
            "SigDirection": "TAKE 1 TABLET DAILY",
            "DoctorLastName": "ROBERT",
            "DoctorFirstName": "GRIFFIN",
            "DoctorAddress1": "1234 INDIGO LN SUITE 303",
            "DoctorAddress2": "SUITE 123",
            "DoctorCity": "WOODSTOCK",
            "DoctorState": "IL",
            "DoctorZipcode": "60098-3608",
            "DoctorPhone": "630-555-2222",
            "DoctorFax": "866-264-4132",
            "RxStatus": "Hold",
            "PatientPay": null,
            "Total": null,
            "WorkflowStatus": 24,
            "WorkflowStatusText": "On Hold"
        },
        {
            "RxNumber": 100004,
            "WrittenDate": "2024-05-15T00:00:00Z",
            "LastFilledDate": "2024-05-15T00:00:00Z",
            "Drug": "SIMVASTATIN TABS 10 MG ACC",
            "DrugNDC": "16729-0004-17",
            "QtyOrdered": 30,
            "QtyFilled": 30,
            "RefillAuthorized": 5,
            "RefillRemaining": 5,
            "RefillDueDate": "2024-06-09T00:00:00Z",
            "Days": 30,
            "SigDirection": "TAKE 1 TABLET DAILY",
            "DoctorLastName": "ROBERT",
            "DoctorFirstName": "GRIFFIN",
            "DoctorAddress1": "1234 INDIGO LN SUITE 303",
            "DoctorAddress2": "SUITE 123",
            "DoctorCity": "WOODSTOCK",
            "DoctorState": "IL",
            "DoctorZipcode": "60098-3608",
            "DoctorPhone": "630-555-2222",
            "DoctorFax": "866-264-4132",
            "RxStatus": "Paid - Cash",
            "PatientPay": null,
            "Total": null,
            "WorkflowStatus": 3,
            "WorkflowStatusText": "Picked Up"
        }
    ]
}
đźź 400Bad Request
Modified at 2025-06-27 16:34:17
Previous
Error Codes
Next
Send Refill Request