- Introduction - BestRx APIs
- Patient API
- Drug API
- Prescription API
- Refill API
- BestPOS API
- Delivery/Shipping Provider API
- Realtime Data Feed Specification
Send Refill Request
POST
https://webservice.bcsbestrx.com/bcswebservice/v2/webrefillservice/SendRefillRequest
INFO
Request
Header Params
Content-Type
string
optional
Example:
application/json; charset=utf-8
Body Params application/json
UserName
string
optional
Example:
applehealth
APIKey
string
required
Example:
d346e99f44f14920aba723039cf19608
PharmacyNumber
string
required
Example:
1234567890
LastName
string
required
Example:
SMITH
DOB
string
required
Examples:
1990-12-311990-12-31T23:59:59Z
Phone
string
optional
Example:
6308939210
RequestDateTime
string <date-time>
required
Example:
2023-12-31T23:59:59Z
DeliveryOption
enum<string>
optional
Allowed values:
123
Default:
1
Example:
1
RequestType
enum<string>
required
Allowed values:
12
Example:
1
RxInRefillRequest
object
required
RxNo
number
required
Example:
100001
Notes
string
optional
Example:
Any Notes or Remarks related to Refill Request
Example
{
"userName": "Telecom",
"APIKey": "1abc2d3e4fghi5jklm6nopq7rstu890vwxyz",
"PharmacyNumber": "1234567890",
"LastName": "Smith",
"DOB": "1990-12-31",
"Phone": "6308939210",
"RequestDateTime": "2023-12-31T23:59:59Z",
"DeliveryOption": 1,
"RequestType": 1,
"RxInRefillRequest": [
{
"RxNo": 100001
}
],
"Notes": "Need Prescription Refilled Soon"
}
Responses
🟢200OK
application/json
Body
RxInRefillResponse
object
required
RxNo
number
required
Status
string
required
rejected, or it might require contacting doctor for refill
authorization. Below are the examples of different status.
1Y = Prescription is 1 year past written date
DS = Discontinued/Inactive Rx
EX = Rx is Expired
IR = Invalid Rx Number
NR = 6 Months past written date - controlled drug
NR = No Refill Left - Contact doctor to authorize refill
NR = Refills not allowed for narcotics
TR = Transferred Rx
TS = Refill Too Soon
RS = Request Submitted
pharmacy client for reason like no internet connection etc.
StatusDesc
string
required
1Y = Prescription is 1 year past written date
DS = Discontinued/Inactive Rx
EX = Rx is Expired
IR = Invalid Rx Number
NR = 6 Months past written date - controlled drug
NR = No Refill Left - Contact doctor to authorize refill
NR = Refills not allowed for narcotics
TR = Transferred Rx
TS = Refill Too Soon
RS = Request Submitted
Examples
{
"RxInRefillResponse": [
{
"RxNo": 100001,
"Status": "OK",
"StatusDesc": "Valid Refill Request"
}
]
}
🟠400Bad Request
Modified at 2024-07-26 16:17:19