GET api/caregiver/on-call?CustomerID={CustomerID}&Pin={Pin}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CustomerID | decimal number |
Required |
|
Pin | string |
Required |
Body Parameters
None.
Response Information
Resource Description
OnCallResponseName | Description | Type | Additional information |
---|---|---|---|
Caregivers | Collection of Caregiver |
None. |
Response Formats
application/json, text/json
Sample:
{ "Caregivers": [ { "EmployeeID": 1.0, "FirstName": "sample string 2", "LastName": "sample string 3" }, { "EmployeeID": 1.0, "FirstName": "sample string 2", "LastName": "sample string 3" } ] }
application/xml, text/xml
Sample:
<OnCallResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <Caregivers> <Caregiver> <EmployeeID>1</EmployeeID> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </Caregiver> <Caregiver> <EmployeeID>1</EmployeeID> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> </Caregiver> </Caregivers> </OnCallResponse>