GET PlanCare2Api/ClientProtocols?clientId={clientId}&referenceDate={referenceDate}&format={format}
Retrieve all protocols for the selected client.
Requires 'Start' permission for function ClientProtocols {B5597D92-76C6-41AC-A2AA-C46E0E6E6D57}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId |
The client for whom to fetch the protocols. |
integer |
Required |
| referenceDate |
Filters protocols valid on given date, if null then all protocols are returned. |
date |
None |
| format |
Format of the content. |
ApiTextFormat |
Default value is RTF |
Body Parameters
None.
Response Information
Resource Description
A list of protocols.
Collection of ClientProtocol| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The name of the protocol |
string |
None |
| ValidFrom |
The start date |
date |
None |
| ValidUntil |
The end date |
date |
None |
| ContentValue |
The content of the protocol in rtf-format (if null then use the ContentDocumentId) |
string |
None |
| ContentDocumentId |
The id of the document |
integer |
None |
| Arrangement |
Name of the arrangement |
string |
None |
| Act |
Name of the act |
string |
None |
| ProtocolCategoryId |
The id of the protocolcategory |
integer |
None |
| ProtocolCategoryName |
The name of the protocolcategory |
string |
None |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.