GET PlanCare2Api/Call/{id}

Gets call by id.

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the call.

integer

Required

Body Parameters

None.

Response Information

Resource Description

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

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CallTypeGuid": "e5697b17-2248-4116-b5e9-3d1a0a3f13f3",
  "DateIncident": "2026-05-26T22:03:36.3031691+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>e5697b17-2248-4116-b5e9-3d1a0a3f13f3</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-26T22:03:36.3031691+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>