BCSWeb.Authentication Service API

https://developer.bestrxconnect.com/TestAuthenticationService

https://developer.bestrxconnect.com/TestAuthenticationService
Operations
Token
POST /Authenticate/GetToken
POST /Authenticate/ValidatePharmacy
GET /Authenticate/GetServicesUsers
POST - GetToken
POST /Authenticate/GetToken

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "PharmacyID": 1,
    "PharmacyNumber": "",
    "PharmacyUniqueId": "",
    "NCPDP": "",
    "ServiceType": "POSOnlineOrdering",
    "ExpirationTimeInMinutes": 1,
    "ExpectedValue": ""
}

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": []
}
POST - ValidatePharmacy
POST /Authenticate/ValidatePharmacy

Request body

application/json
text/json
application/xml
text/xml
application/x-www-form-urlencoded
Example:
{
    "PharmacyID": 1,
    "PharmacyNumber": "",
    "PharmacyUniqueId": "",
    "NCPDP": "",
    "ServiceType": "Therigy",
    "ExpirationTimeInMinutes": 1,
    "ExpectedValue": ""
}

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": {
        "PharmacyRecNo": 1,
        "PharmacyNumber": "",
        "PharmacyName": "",
        "PharmacyUniqueId": "",
        "OLD_NPI": "",
        "NCPDP": "",
        "OLD_NCPDP": "",
        "DEA": "",
        "OLD_DEA": "",
        "Token": "",
        "Token_Date": "",
        "Address": "",
        "City": "",
        "State": "",
        "Zip": "",
        "Phone": "",
        "Fax": "",
        "MessagingSetupInfo": {
            "EmailAPIUser": "",
            "EmailAPIDomain": "",
            "EmailAPIKey": ""
        },
        "SchedulingProvInfo": {
            "Provider": "None",
            "URL": "",
            "APIUser": "",
            "APIKey": "",
            "COVID19ServiceID": "",
            "COVID19PrivateServiceID": "",
            "UseCOVID19ServiceID": true,
            "Status": "InActive",
            "AllowWaitingList": true,
            "SignatureRequired": true,
            "LinkExpiryInDays": 1,
            "CAMyTurnEnable": true,
            "CAMYTurnLocationID": "",
            "PreferredVaccineOption": "AskButNotRequired",
            "PreferredVaccineLst": ""
        },
        "EXP_DATE": "",
        "PD_LOGO": ""
    },
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Warning"
        }
    ]
}
Example with response data

{
    "Data": {
        "PharmacyRecNo": 1,
        "PharmacyNumber": "5N201167",
        "PharmacyName": "BestRx Pharmacy",
        "PharmacyUniqueId": "6908f7ec-7768-4cce-8dd6-c3118780d46a",
        "OLD_NPI": "",
        "NCPDP": "0000001",
        "OLD_NCPDP": "",
        "DEA": "BR1234563",
        "OLD_DEA": "",
        "Token": "",
        "Token_Date": "",
        "Address": "1200 Jorie Blvd,Suite 310",
        "City": "Oak Brook",
        "State": "NY",
        "Zip": "60523",
        "Phone": "6308939210",
        "Fax": "6303393171",
        "MessagingSetupInfo": {
            "EmailAPIUser": "",
            "EmailAPIDomain": "",
            "EmailAPIKey": ""
        },
        "SchedulingProvInfo": {
            "Provider": "MakePlans",
            "URL": "",
            "APIUser": "",
            "APIKey": "6SFMnYNMr26hHz9Kn543lf4TSp6T2R3LniiPVHUoF3FN7GZHHbaWMg==",
            "COVID19ServiceID": "",
            "COVID19PrivateServiceID": "",
            "UseCOVID19ServiceID": true,
            "Status": "Active",
            "AllowWaitingList": true,
            "SignatureRequired": true,
            "LinkExpiryInDays": 1,
            "CAMyTurnEnable": true,
            "CAMYTurnLocationID": "",
            "PreferredVaccineOption": "DonotAsk",
            "PreferredVaccineLst": ""
        },
        "EXP_DATE": "",
        "PD_LOGO": ""
    },
    "IsValid": true,
    "Messages": []
}
POST - GetServicesUsers
GET /Authenticate/GetServicesUsers

Request body

Responses

200 200

OK

Body
application/json
text/json
application/xml
text/xml
Examples:
{
    "Data": [
        {
            "SU_USER_RECNO": 1,
            "SU_USERNAME": "",
            "SU_APIKEY": "",
            "SU_ENCAPIKEY": "",
            "SU_NAME": "",
            "SU_ISACTIVE": true,
            "SU_CREATEDDATE": "",
            "SU_UPDATEDATE": "",
            "Services": "",
            "PharmacyRecNos": ""
        }
    ],
    "IsValid": true,
    "Messages": [
        {
            "MessageCode": "",
            "Message": "",
            "MessageType": "Error"
        }
    ]
}
Example with response data

{
    "Data": [
        {
            "SU_USER_RECNO": 1,
            "SU_USERNAME": "bestrx",
            "SU_APIKEY": "OmC/uWvNWtvEAdhZEABp/CWxrGTpX92o3hgk/47kOHPFJaC6lSo0Mg==",
            "SU_ENCAPIKEY": "",
            "SU_NAME": "BestRx Pharmacy Software",
            "SU_ISACTIVE": true,
            "SU_CREATEDDATE": "2017-06-02 10:25:36.707",
            "SU_UPDATEDATE": "2017-06-02 10:25:36.707",
            "Services": "",
            "PharmacyRecNos": ""
        }
    ],
    "IsValid": true,
    "Messages": []
}
Type Definitions
BCSWeb.Model.TokenRequest
Object
PharmacyID
integer int32
PharmacyNumber
string
PharmacyUniqueId
string
NCPDP
string
ServiceType
string required
Enumeration:
None
NH_EMAR
NH
MobileDelivery
POS
ERx_DoNotUse
WSInt
RxImage
TCPInt
Rebill
IVR
TransmitLog
NH_DosePkg
RxTran
PharmaSmart
ERemittance
WebRefills
SigPad
BestRx_DoNotUse
PharmacyFirst
NetRx
PleioGoodStart
Amplicare
Mevesi
ATEB
FDSReconDataFeed
PrescribeWellness
CloudBackup
SureCostInvDataFeed
MedsOnCue
myDataMart
MessagingInterface
Asembia1
IMSDataFeed
AmerisourceElevate
CardinalDataFeed
CardinalInventory
AreteDataFeed
CaliforniaFolders_DoNotUse
KloudScript
DrFirstBackLine
SurescriptsMedHistory
CardinalPOSSmartReport
PDRCaremail_DoNotUse
MTMInterface_DoNotUse
RHIOHealthix
MedSync
Updox
ECarePlan
DataInterfaceRealTime_DoNotUse
NightTech
ShippingIntegration
SMP
TelePharm
RxTransferService
PDMPRegistryService
OutboundCalling
CloudDelivery
POSOnlineOrdering
BestRxNew
CorrecTekEMAR
FastRxTransfer
STRAND
ScriptDrop
DrFirstLinkAPI
RHIOBronx
Datarithm
Pointy
SignalHealth
Therigy
LeGrandeRx
CardRxLLC
KeepRx
PerceptiMed_scripClip
MedicalBilling
RealTimeBenefit
McKessonFrontEndInsights
PPOKMember
CloudDataSync
MScripts
AAPMember
P4Rx
DelivMedsRxTransfer
RavkooRxTransfer_DoNotUse
RxQuickSave
GiftHealthRxTransfer
DrLeoWebHosting
RealTimeCommunication
Scriptability
ExpirationTimeInMinutes
integer int32 required
Min: 0
Max: 10,080
ExpectedValue
string
BCSWeb.Model.ResponseGenericInfo[System.String]
Object
Data
string
IsValid
boolean
Messages
BCSWeb.Model.MessageInfo
Object
MessageCode
string
Message
string
MessageType
string
Enumeration:
Information
Warning
Error
Success
Unknown
BCSWeb.Model.ResponseGenericInfo[BCSWeb.Model.PharmacyTokenInfo]
Object
IsValid
boolean
Messages
BCSWeb.Model.PharmacyTokenInfo
Object
PharmacyRecNo
integer int32
PharmacyNumber
string
PharmacyName
string
PharmacyUniqueId
string
OLD_NPI
string
NCPDP
string
OLD_NCPDP
string
DEA
string
OLD_DEA
string
Token
string
Token_Date
string date-time
Address
string
City
string
State
string
Zip
string
Phone
string
Fax
string
EXP_DATE
string date-time
PD_LOGO
string
BCSWeb.Model.MessagingSetupInfo
Object
EmailAPIUser
string
EmailAPIDomain
string
EmailAPIKey
string
BCSWeb.Model.AppointmentProviderRequestInfo
Object
Provider
string
Enumeration:
None
MakePlans
URL
string
APIUser
string
APIKey
string
COVID19ServiceID
string
COVID19PrivateServiceID
string
UseCOVID19ServiceID
boolean
Status
string
Enumeration:
InActive
Active
AllowWaitingList
boolean
SignatureRequired
boolean
LinkExpiryInDays
integer int32
CAMyTurnEnable
boolean
CAMYTurnLocationID
string
PreferredVaccineOption
string
Enumeration:
DonotAsk
AskButNotRequired
AskAndRequired
PreferredVaccineLst
string
BCSWeb.Model.ResponseGenericInfo[System.Collections.Generic.List[BCSWeb.Model.ServiceUserInfo]]
Object
IsValid
boolean
Messages
BCSWeb.Model.ServiceUserInfo
Object
SU_USER_RECNO
integer int32
SU_USERNAME
string
SU_APIKEY
string
SU_ENCAPIKEY
string
SU_NAME
string
SU_ISACTIVE
boolean
SU_CREATEDDATE
string date-time
SU_UPDATEDATE
string date-time
Services
string
PharmacyRecNos
string