POST PlanCare2Api/Call

Insert call.

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

Request Information

URI Parameters

None.

Body Parameters

Call.

Call
NameDescriptionTypeAdditional information
Id

Identification of the call

integer

None

CallTypeGuid

Identification of the type of the call

globally unique identifier

None

DateIncident

Date of incident

date

None

ReportedByRelationId

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

integer

None

ReportedBy

LookupName of relation by whom reported the call, '[Anoniem]' if reported anonymous, '[Verborgen]' if reporter hidden

string

None

Important

Indicates if call is marked as important

boolean

None

LocationOrganizationEntityId

Id of organization-entity for the location

integer

None

LocationAlternative

Alternative location if LocationOrganizationEntityId is not set

string

None

ClientIds

List of ids of clients involved

Collection of integer

None

EmployeeIds

List of ids of employees involved

Collection of integer

None

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CallTypeGuid": "f619c838-e884-4309-8c6d-348d7be17fae",
  "DateIncident": "2026-05-26T21:09:33.1485748+02:00",
  "ReportedByRelationId": 1,
  "ReportedBy": "sample string 4",
  "Important": true,
  "LocationOrganizationEntityId": 1,
  "LocationAlternative": "sample string 6",
  "ClientIds": [
    1,
    2
  ],
  "EmployeeIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<Call xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Call">
  <CallTypeGuid>f619c838-e884-4309-8c6d-348d7be17fae</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-26T21:09:33.1485748+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>
  <Id>1</Id>
  <Important>true</Important>
  <LocationAlternative>sample string 6</LocationAlternative>
  <LocationOrganizationEntityId>1</LocationOrganizationEntityId>
  <ReportedBy>sample string 4</ReportedBy>
  <ReportedByRelationId>1</ReportedByRelationId>
</Call>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None

Content

HttpContent

None

StatusCode

HttpStatusCode

None

ReasonPhrase

string

None

Headers

Collection of Object

None

RequestMessage

HttpRequestMessage

None

IsSuccessStatusCode

boolean

None