POST PlanCare2Api/ContactPersons/PersonalData

Update the personal data for a contactperson

Requires 'Edit' permission for function ContactPersonPersonalData {1D8FABC7-C901-48B5-A6B3-3D47FE33810D}

Request Information

URI Parameters

None.

Body Parameters

Personal data for a contactperson

ContactPersonPersonalData
Name Description Type Additional information
RelationId

The internal RelationId of the contactperson

integer

-

FirstNames

Firstnames

string

-

Initials

Initials

string

-

Nickname

Nickname

string

-

BirthName

Birthname

string

-

BirthNamePrefix

Birthname prefix

string

-

PartnerName

Partnername

string

-

PartnerNamePrefix

Partnername prefix

string

-

RelationLastNameFormatId

The id of the RelationLastNameFormat that indicates how the lastname is generated.

integer

Nullable

Lastname

The lastname. This name is generated based on the RelationLastNameFormatId.

string

-

RelationLookupNameFormatId

The id of the RelationLookupNameFormat that indicates how the lookupname is generated.

integer

-

LookupName

The lookupname. This name is generated based on the RelationLookupNameFormatId.

string

-

RelationGenderId

The id of the RelationGender indicating the gender

integer

-

DateOfBirth

The date of birth

date

Nullable

CityOfBirth

The city of birth

string

-

RelationCountryOfBirthId

The id of the RelationCountry indicating the country of birth

integer

Nullable

DateOfDeath

The date of deceased

date

Nullable

Remarks

Remarks

string

-

Request Formats

application/json, text/json

Sample:
{
  "RelationId": 1,
  "FirstNames": "sample string 2",
  "Initials": "sample string 3",
  "Nickname": "sample string 4",
  "BirthName": "sample string 5",
  "BirthNamePrefix": "sample string 6",
  "PartnerName": "sample string 7",
  "PartnerNamePrefix": "sample string 8",
  "RelationLastNameFormatId": 1,
  "Lastname": "sample string 9",
  "RelationLookupNameFormatId": 10,
  "LookupName": "sample string 11",
  "RelationGenderId": 12,
  "DateOfBirth": "2026-05-26T21:09:44.8308773+02:00",
  "CityOfBirth": "sample string 13",
  "RelationCountryOfBirthId": 1,
  "DateOfDeath": "2026-05-26T21:09:44.8308773+02:00",
  "Remarks": "sample string 14"
}

application/xml, text/xml

Sample:
<ContactPersonPersonalData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.ContactPerson">
  <BirthName>sample string 5</BirthName>
  <BirthNamePrefix>sample string 6</BirthNamePrefix>
  <CityOfBirth>sample string 13</CityOfBirth>
  <DateOfBirth>2026-05-26T21:09:44.8308773+02:00</DateOfBirth>
  <DateOfDeath>2026-05-26T21:09:44.8308773+02:00</DateOfDeath>
  <FirstNames>sample string 2</FirstNames>
  <Initials>sample string 3</Initials>
  <Lastname>sample string 9</Lastname>
  <LookupName>sample string 11</LookupName>
  <Nickname>sample string 4</Nickname>
  <PartnerName>sample string 7</PartnerName>
  <PartnerNamePrefix>sample string 8</PartnerNamePrefix>
  <RelationCountryOfBirthId>1</RelationCountryOfBirthId>
  <RelationGenderId>12</RelationGenderId>
  <RelationId>1</RelationId>
  <RelationLastNameFormatId>1</RelationLastNameFormatId>
  <RelationLookupNameFormatId>10</RelationLookupNameFormatId>
  <Remarks>sample string 14</Remarks>
</ContactPersonPersonalData>

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

-