Directory

Controller used by NaphCare to update and search organizations and providers.

APIDescription
GET api/Directory?search={search}&type={type}&city={city}&state={state}

Retrieves a list of organizations, providers, or both based on the specified search criteria. This operation is accessible via two endpoints, allowing the 'Type' parameter to be provided either as a query string or within the URL path."

GET api/Directory/{type}?search={search}&city={city}&state={state}

Retrieves a list of organizations, providers, or both based on the specified search criteria. This operation is accessible via two endpoints, allowing the 'Type' parameter to be provided either as a query string or within the URL path."

GET api/Directory/GetFavoritesList?ids[0]={ids[0]}&ids[1]={ids[1]}

Retrieves a list of Providers, Organizations and/or Custom Directory entries based on the specified list of IDs.

GET api/Directory/DownloadOrganizations?testMessage={testMessage}

Invoked as part of a daily process to ensure Organization information remains up-to-date.

GET api/Directory/DownloadProviders?testMessage={testMessage}

Invoked as part of a daily process to ensure Provider information remains up-to-date.

POST api/Directory/AddProviderLocation?serviceLevels={serviceLevels}

Adds a new provider location. Note: Provider service levels are currently defaulted to "New", "Cancel", and "RxFill".Modification of serviceLevels is not supported at this time.

POST api/Directory/UpdateProviderLocation?serviceLevels={serviceLevels}

Updates an existing provider location. (Does not update status) Note: The full providerSD must be sent, as all fields will be updated.Provider service levels are currently defaulted to "New", "Cancel", and "RxFill".Modification of serviceLevels is not supported at this time.

POST api/Directory/TestProviderSDPayload

Test to confirm valid formatting of ProviderSD payload

POST api/Directory/DisableProviderLocation?providerNPI={providerNPI}

Disable provider in SureScripts system

POST api/Directory/ActivateProviderLocation?providerNPI={providerNPI}

Activate provider in SureScripts system

GET api/Directory/GetAllNaphCareProviders

Get all NaphCare Providers (Active and Disabled)

GET api/Directory/GetProviderSureScriptStatus?providerNPI={providerNPI}

Get all NaphCare Providers (Active and Disabled)

Prescriber

APIDescription
POST api/v2023011/Prescriber/NewRx

Initiates a SCRIPT message to the specified pharmacy for the supplied eRx information, The NewRx message is an electronic prescription sent from the prescribing system to the pharmacy system using the NCPDP SCRIPT standard.

POST api/v2023011/Prescriber/CancelRx

The CancelRx is sent by the prescriber to notify the pharmacy that a previously prescribed prescription should be inactivated, and no additional product should be dispensed.

GET api/v2023011/Prescriber/MessageHistory?messageControlId={messageControlId}

MessageHistory endpoint used to retrieve all outbound and inbound messages associated with a MessageControlId.

GET api/v2023011/Prescriber/OrderStatus?messageControlId={messageControlId}

Endpoint used to retrieve the current status of an order.

POST api/v2023011/Prescriber/TestNewRxPayload

Test to confirm valid formatting of NewRx Payload

GET api/v2023011/Prescriber/GetTestNewRxPayload

Retrieves an erxMessage object for testing purposes

DirectMessage

Handles direct messaging

APIDescription
POST api/DirectMessage

No documentation available.

GET api/DirectMessage?directAddress={directAddress}&redownloadMessages={redownloadMessages}&redownloadFrom={redownloadFrom}&redownloadTo={redownloadTo}

No documentation available.

GET api/DirectMessage/UpdateDelivered?messageId={messageId}&delivered={delivered}

No documentation available.

GET api/DirectMessage/GetMessage?messageId={messageId}

No documentation available.

SureScript

APIDescription
POST api/SureScript/PostAsync

No documentation available.

GET api/SureScript/{id}

No documentation available.

SureScript2

APIDescription
POST api/SureScript2/PostAsync

No documentation available.

GET api/SureScript2/{id}

No documentation available.

Values

Appears obsolete - consider deleting

APIDescription
GET api/{area}/Values/Get

No documentation available.

GET api/{area}/Values/Get/{id}

No documentation available.

POST api/{area}/Values/Post

No documentation available.

PUT api/{area}/Values/Put/{id}

No documentation available.

DELETE api/{area}/Values/Delete/{id}

No documentation available.

GET api/Values

No documentation available.

GET api/Values/{id}

No documentation available.

POST api/Values

No documentation available.

PUT api/Values/{id}

No documentation available.

DELETE api/Values/{id}

No documentation available.

Pharmacy

APIDescription
POST api/{area}/Pharmacy/Post

Send SCRIPT transactions using HTTP GET

POST api/Pharmacy

Send SCRIPT transactions using HTTP GET