GET v1/serviceprovider/IsValidAccount?serviceprovidername={serviceprovidername}&accountNumber={accountNumber}
Check if Account is valid: Can be used by a lab or imaging provider to determine if an account is currently associated with an EMR-Link customer and service provider.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceprovidername |
The name of the service provider as identified in EMR-Link. |
string |
Default value is |
| accountNumber |
The account number to be checked for validity. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
ServiceProviderIsValidAccountResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid |
True if account is valid. Otherwise, False. |
boolean |
None. |
| Error |
Will be set to True if any errors occur during the processing of the API method. |
boolean |
None. |
| ErrorMessage |
Will contain an error message string if Error is True. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValid": true,
"Error": true,
"ErrorMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<ServiceProviderIsValidAccountResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Error>true</Error> <ErrorMessage>sample string 3</ErrorMessage> <IsValid>true</IsValid> </ServiceProviderIsValidAccountResponse>