PUT api/ContactProperties/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

ContactPropertyDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Value

string

None.

ContactPropertyTypeId

globally unique identifier

None.

ContactPropertyType

ContactPropertyTypeDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "57b22c2d-6573-43a7-a474-fb847560aa3f",
  "Value": "sample string 2",
  "ContactPropertyTypeId": "66e877b0-4a62-469f-9b77-53f8fbd0f065",
  "ContactPropertyType": {
    "Id": "b110f961-0fbb-4901-9b37-d3b8cb43316b",
    "Name": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ContactPropertyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.DataCapture.Models">
  <ContactPropertyType>
    <Id>b110f961-0fbb-4901-9b37-d3b8cb43316b</Id>
    <Name>sample string 2</Name>
  </ContactPropertyType>
  <ContactPropertyTypeId>66e877b0-4a62-469f-9b77-53f8fbd0f065</ContactPropertyTypeId>
  <Id>57b22c2d-6573-43a7-a474-fb847560aa3f</Id>
  <Value>sample string 2</Value>
</ContactPropertyDto>

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 'ContactPropertyDto'.

Response Information

Resource Description

None.