logo

Back to Help Home Page.

PUT Api/Reports/{reportId}/Contacts/{id}

Updates the specified contact.

Remarks

The type of the link between contact and report can not be changed.

Request Information

URI Parameters

NameDescriptionTypeAdditional information

id

The identifier of the contact to update.

integer

Required

reportId

The id of the report where the contact is linked to.

integer

Required

Body Parameters

The Contact.

ChappReport.Site.Areas.Api.Models.V1.ReportContactV1ModelRequest
NameDescriptionTypeAdditional information

Firstname

The first name of the contact.

string

Max length: 50

Lastname

The lastname of the contact.

string

Max length: 50

Email

The email of the contact.

string

Max length: 100

Telephone

The primary telephone of the contact.

string

Max length: 50

Language

The communication language of the contact. List of ISO 2 DIGIT Language Codes (ISO 639-1)

string

String length: inclusive between 2 and 2

Address

The address of the contact.

ChappReport.Site.Areas.Api.Models.V1.AddressV1Model

None.

Type

The way the contact is linked to the report. Possible values are: Tenant, Landlord

string

Required

ContactCategoryType

Business or Person

string

Required

CompanyName

The name of the company, required if ContactType is of type Business

string

None.

BusinessNumber

The business number if the contactType is of type Business

string

None.

IsMandated

Whether the executor is by default mandated to sign the documents

boolean

None.

NationalRegistrationNumber

National registration number / Rijksregisterennummer

string

None.

DateOfBirth

date

None.

PlaceOfBirth

string

String length: inclusive between 2 and 50

Request Formats

application/json, text/json

Sample:
{
  "Firstname": "Tenny",
  "Lastname": "Tenant",
  "Email": "TennyTenant@email.com",
  "Telephone": "+31 477 12 45 89",
  "Language": "NL",
  "Address": {
    "Street": "Leidse Plein",
    "HouseNumber": 286,
    "ZipCode": "1000 AA",
    "City": "Amsterdam",
    "Country": "NL"
  },
  "Type": "Tenant",
  "ContactCategoryType": "Person",
  "IsMandated": false
}

application/xml, text/xml

Sample:
<ReportContactV1ModelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChappReport.Site.Areas.Api.Models.V1">
  <Address>
    <City>Amsterdam</City>
    <Country>NL</Country>
    <HouseNumber>286</HouseNumber>
    <HouseNumberExtension i:nil="true" />
    <Mailbox i:nil="true" />
    <State i:nil="true" />
    <Street>Leidse Plein</Street>
    <ZipCode>1000 AA</ZipCode>
  </Address>
  <BusinessNumber i:nil="true" />
  <CompanyName i:nil="true" />
  <ContactCategoryType>Person</ContactCategoryType>
  <DateOfBirth i:nil="true" />
  <Email>TennyTenant@email.com</Email>
  <Firstname>Tenny</Firstname>
  <IsMandated>false</IsMandated>
  <Language>NL</Language>
  <Lastname>Tenant</Lastname>
  <NationalRegistrationNumber i:nil="true" />
  <PlaceOfBirth i:nil="true" />
  <Telephone>+31 477 12 45 89</Telephone>
  <Type>Tenant</Type>
</ReportContactV1ModelRequest>

Response Information

Resource Description

None.