BCS Web PackMyRxService API
https://developer.bestrxconnect.com/TestPackMyRx
https://developer.bestrxconnect.com/TestPackMyRx
POST
/Pharmacy/GetCampRegistrationDetail
GET
/Pharmacy/GetEString
GET
/Pharmacy/GetDString
GET
/Pharmacy/GetOrignalMessage
POST
/Pharmacy/GetMessageList
POST
/Pharmacy/GetCampRegistrationDetail
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:
{
"PharmacyNumber": "",
"ERXVersion": "",
"LastReceivedRecNo": 1,
"IsSavedSuccessfully": true,
"ReturnMessages": [
{
"MessageCode": "",
"Message": "",
"MessageType": "Warning"
}
]
}
Responses
200
200
OK
Body
application/json
text/json
application/xml
text/xml
Examples:
{
"Data": {
"RecNo": 1,
"PharmacyUniqueId": "",
"RegistrationId": 1,
"PatientName": "",
"CampCode": "",
"Message": ""
},
"IsValid": true,
"Messages": [
{
"MessageCode": "",
"Message": "",
"MessageType": "Success"
}
]
}
Example with response data
{
"Data": {
"RecNo": 1,
"PharmacyUniqueId": "6908f7ec-7768-4cce-8dd6-c3118780d46a",
"RegistrationId": 1,
"PatientName": "Test,Shirley",
"CampCode": "2344234",
"Message": "Test Message"
},
"IsValid": true,
"Messages": [
{
"MessageCode": "",
"Message": "",
"MessageType": "Information"
}
]
}
GET
/Pharmacy/GetEString
Request parameters
filePath
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": "Information"
}
]
}
Example with response data
{
"Data": "",
"IsValid": true,
"Messages": []
}
GET
/Pharmacy/GetDString
Request parameters
filePath
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
string
GET
/Pharmacy/GetOrignalMessage
Request parameters
messageId
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
Object
POST
/Pharmacy/GetMessageList
Request parameters
pharmacyNumber
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
application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Array
integer
int32
Responses
200
200
OK
Body
application/json
text/json
application/xml
text/xml
Examples:
{
"Data": [
""
],
"IsValid": true,
"Messages": [
{
"MessageCode": "",
"Message": "",
"MessageType": "Success"
}
]
}
Example with response data
{
"Data": [
"Test msg1",
"Test msg2"
],
"IsValid": true,
"Messages": [
{
"MessageCode": "",
"Message": "",
"MessageType": "Success"
}
]
}
POST
/Registration/Submit
POST
/Registration/Submit
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:
{
"PharmacyNumber": "",
"Message": ""
}
Responses
200
200
OK
Body
application/json
text/json
application/xml
text/xml
Examples:
{
"Data": "",
"IsValid": true,
"Messages": [
{
"MessageCode": "",
"Message": "",
"MessageType": "Warning"
}
]
}
Exmaple with response data
{
"Data": "",
"IsValid": true,
"Messages": []
}
Object
PharmacyNumber
string
ERXVersion
string
LastReceivedRecNo
integer
int64
IsSavedSuccessfully
boolean
ReturnMessages
Object
Object
Object