POST PlanCare2Api/Call

Insert call.

Requires 'Start' permission for function CallOverview {0D159E1F-6728-4243-9A43-996F7DC5AD8A}

Request Information

URI Parameters

None.

Body Parameters

Call.

CallForPost
Name Description Type Additional information
Id

Identification of the call

integer

-

CallTypeGuid

Identification of the type of the call

globally unique identifier

-

DateIncident

Date of incident

date

-

ReportedByRelationId

Id of relation by whom reported the call, 'null' if reported anonymous

integer

Nullable

Important

Indicates if call is marked as important

boolean

-

LocationOrganizationEntityId

Id of organization-entity for the location

integer

Nullable

LocationAlternative

Alternative location if LocationOrganizationEntityId is not set

string

-

ClientIds

List of ids of clients involved

Collection of integer

-

EmployeeIds

List of ids of employees involved

Collection of integer

-

FilledQuestionnaireId

FilledQuestionnaireId

integer

Nullable

Successors

Successors

Collection of CallSuccessor

Added: 20.07.1P

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CallTypeGuid": "4ef0fccf-a489-4e3d-b2cd-8dbbee2d7cde",
  "DateIncident": "2026-05-26T23:17:12.7149691+02:00",
  "ReportedByRelationId": 1,
  "Important": true,
  "LocationOrganizationEntityId": 1,
  "LocationAlternative": "sample string 5",
  "ClientIds": [
    1,
    2
  ],
  "EmployeeIds": [
    1,
    2
  ],
  "FilledQuestionnaireId": 1,
  "Successors": [
    {
      "$id": "2",
      "AccessDisciplineId": 1,
      "RelationId": 2
    },
    {
      "$ref": "2"
    }
  ]
}

application/xml, text/xml

Sample:
<CallForPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Call">
  <CallTypeGuid>4ef0fccf-a489-4e3d-b2cd-8dbbee2d7cde</CallTypeGuid>
  <ClientIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ClientIds>
  <DateIncident>2026-05-26T23:17:12.7149691+02:00</DateIncident>
  <EmployeeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </EmployeeIds>
  <FilledQuestionnaireId>1</FilledQuestionnaireId>
  <Id>1</Id>
  <Important>true</Important>
  <LocationAlternative>sample string 5</LocationAlternative>
  <LocationOrganizationEntityId>1</LocationOrganizationEntityId>
  <ReportedByRelationId>1</ReportedByRelationId>
  <Successors>
    <CallSuccessor>
      <AccessDisciplineId>1</AccessDisciplineId>
      <RelationId>2</RelationId>
    </CallSuccessor>
    <CallSuccessor>
      <AccessDisciplineId>1</AccessDisciplineId>
      <RelationId>2</RelationId>
    </CallSuccessor>
  </Successors>
</CallForPost>

Response Information

Resource Description

HttpResponseMessage
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-