POST PlanCare2Api/Relations/CommonData

Post RelationCommonData.

Relation(s) can be of the following types: Client, Prospect, Employee, ContactPerson

Request Information

URI Parameters

None.

Body Parameters

RelationCommonData
Name Description Type Additional information
RelationId

RelationId

integer

-

MaritalStatusId

MaritalStatusId

integer

Nullable

NationalityId

NationalityId

integer

Nullable

LegalStatusId

LegalStatusId

integer

Nullable

LanguageId

LanguageId

integer

Nullable

ParticularFormOfCommunicationId

ParticularFormOfCommunicationId

integer

Nullable

LivingUnitId

LivingUnitId

integer

Nullable

ReligionId

ReligionId

integer

Nullable

Request Formats

application/json, text/json

Sample:
{
  "RelationId": 1,
  "MaritalStatusId": 1,
  "NationalityId": 1,
  "LegalStatusId": 1,
  "LanguageId": 1,
  "ParticularFormOfCommunicationId": 1,
  "LivingUnitId": 1,
  "ReligionId": 1
}

application/xml, text/xml

Sample:
<RelationCommonData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Relation">
  <LanguageId>1</LanguageId>
  <LegalStatusId>1</LegalStatusId>
  <LivingUnitId>1</LivingUnitId>
  <MaritalStatusId>1</MaritalStatusId>
  <NationalityId>1</NationalityId>
  <ParticularFormOfCommunicationId>1</ParticularFormOfCommunicationId>
  <RelationId>1</RelationId>
  <ReligionId>1</ReligionId>
</RelationCommonData>

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

-