POST PlanCare2Api/DynamicData/InsertWorkflowAutorizations
Insert or update an autorization record used by the PlanCare HRM Connector
Request Information
URI Parameters
None.
Body Parameters
The insertworkflowautorizationsInput instance
InsertWorkflowAutorizationsInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The identifier of the record. Should be 0 for new instance |
integer |
None |
| EmployeeId |
The identifier of the employee |
integer |
Required |
| DisciplineId |
The identifier of the discipline based on the employee employment |
integer |
None |
| TargetId |
The identifier of the Organization Entity or Client Relation |
integer |
Required |
| TargetType |
The type of the TargetId parameter. Choose 1 for OrganizationEntityId and 2 for RelationId |
integer |
Required |
| StartDate |
The startdate for the autorization |
date |
Required |
| EndDate |
The enddate for the autorization |
date |
Required |
| Description |
The description for the autorization record |
string |
None |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"EmployeeId": 1,
"DisciplineId": 1,
"TargetId": 2,
"TargetType": 3,
"StartDate": "2026-05-26T22:00:41.155271+02:00",
"EndDate": "2026-05-26T22:00:41.155271+02:00",
"Description": "sample string 6"
}
application/xml, text/xml
Sample:
<DynamicDataController.InsertWorkflowAutorizationsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Controllers"> <Description>sample string 6</Description> <DisciplineId>1</DisciplineId> <EmployeeId>1</EmployeeId> <EndDate>2026-05-26T22:00:41.155271+02:00</EndDate> <Id>1</Id> <StartDate>2026-05-26T22:00:41.155271+02:00</StartDate> <TargetId>2</TargetId> <TargetType>3</TargetType> </DynamicDataController.InsertWorkflowAutorizationsInput>
Response Information
Resource Description
No information.
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 |