POST api/person/key/{key}

Updates the personal details based on the given using the .

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

string

Required

Body Parameters

PersonDto
NameDescriptionTypeAdditional information
Address

AddressDto

None.

ProfileProperties

Collection of ProfilePropertyDto

None.

Id

globally unique identifier

None.

CreationDate

date

None.

Honorific

string

None.

FirstName

string

None.

LastName

string

None.

Address

AddressCoreDto

None.

Source

string

None.

ReceiveSmsCommunications

boolean

None.

ReceiveEmailCommunications

boolean

None.

ReceiveMailCommunications

boolean

None.

IsDeleted

boolean

None.

LastActive

date

None.

DateAnonymised

date

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Person' with type 'Aardvark.EventManagement.Models.PersonDto'. Path 'Address.SalesPeople[0].Appointments[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Person' with type 'Aardvark.EventManagement.Models.PersonDto'. Path 'Address.SalesPeople[0].Appointments[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Aardvark.EventManagement.Models.AddressCoreDto' with data contract name 'AddressCoreDto:http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Aardvark.EventManagement.Models.AddressCoreDto' with data contract name 'AddressCoreDto:http://schemas.datacontract.org/2004/07/Aardvark.EventManagement.Models' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PersonDto'.

Response Information

Resource Description

None.