POST PlanCare2Api/ClientplansV2/{clientplanId}/PrimaryCare/ArrangementProductActs
Create a new Arrangement product act.
Requires 'Start' permission for function ClientPlanOverview {7757BB23-A132-438A-9601-28E6BF9E4CA7}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientplanId | string |
None |
Body Parameters
The arrangement product to save in the client plan.
CreateClientplanArrangementProductAct| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientplanId |
The id of the client plan |
integer |
None |
| ArrangementProductActs |
The acts of this client plan arrangement |
Collection of CreateArrangementProductAct |
None |
Request Formats
application/json, text/json
Sample:
{
"ClientplanId": 1,
"ArrangementProductActs": [
{
"$id": "2",
"ClientplanArrangementProductActId": 1,
"ArrangementProductActId": 2,
"AgreedTargetTime": 1,
"AgreedCountPerWeek": 1
},
{
"$ref": "2"
}
]
}
application/xml, text/xml
Sample:
<CreateClientplanArrangementProductAct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
<ArrangementProductActs>
<CreateArrangementProductAct>
<AgreedCountPerWeek>1</AgreedCountPerWeek>
<AgreedTargetTime>1</AgreedTargetTime>
<ArrangementProductActId>2</ArrangementProductActId>
<ClientplanArrangementProductActId>1</ClientplanArrangementProductActId>
</CreateArrangementProductAct>
<CreateArrangementProductAct>
<AgreedCountPerWeek>1</AgreedCountPerWeek>
<AgreedTargetTime>1</AgreedTargetTime>
<ArrangementProductActId>2</ArrangementProductActId>
<ClientplanArrangementProductActId>1</ClientplanArrangementProductActId>
</CreateArrangementProductAct>
</ArrangementProductActs>
<ClientplanId>1</ClientplanId>
</CreateClientplanArrangementProductAct>
Response Information
Resource Description
Returns the HttpResponseMessage which contains the saved arrangement product act instance.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |