GET PlanCare2Api/Calendars/{calendarId}/AllowedClients
Gets allowed clients in the given calendar for logged on employee. In case of a team calendar the clients of the associated group calendars are returned.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| calendarId |
Id of the calendar |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The list of allowed clients in the calendar
Collection of AllowedClient| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId |
The internal id of the client |
integer |
Required |
| LookupName |
The fullname of the client |
string |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"ClientId": 1,
"LookupName": "sample string 2"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfAllowedClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<AllowedClient>
<ClientId>1</ClientId>
<LookupName>sample string 2</LookupName>
</AllowedClient>
<AllowedClient>
<ClientId>1</ClientId>
<LookupName>sample string 2</LookupName>
</AllowedClient>
</ArrayOfAllowedClient>