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

Nullable

EmployeeId

The identifier of the employee

integer

Required

DisciplineId

The identifier of the discipline based on the employee employment

integer

Nullable

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

-

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmployeeId": 1,
  "DisciplineId": 1,
  "TargetId": 2,
  "TargetType": 3,
  "StartDate": "2026-05-26T21:07:43.491279+02:00",
  "EndDate": "2026-05-26T21:07:43.491279+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-26T21:07:43.491279+02:00</EndDate>
  <Id>1</Id>
  <StartDate>2026-05-26T21:07:43.491279+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

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-