GET api/Eligibility/GetPatients?providerId={providerId}
List patients associated with the specified provider ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| providerId |
Provider ID. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
PatientList| Name | Description | Type | Additional information |
|---|---|---|---|
| patients | Collection of PatientModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"patients": [
{
"name": "sample string 1",
"id": "sample string 2"
},
{
"name": "sample string 1",
"id": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<PatientList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediProvider.Models">
<patients>
<PatientModel>
<id>sample string 2</id>
<name>sample string 1</name>
</PatientModel>
<PatientModel>
<id>sample string 2</id>
<name>sample string 1</name>
</PatientModel>
</patients>
</PatientList>