PUT api/contacts/extra/{extra}

Updates a given extra field with the given information. NOTE! Existing information is replaced entirely with the new information set.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
extra

Extra field ID

integer

Required

Body Parameters

Updated extra field data

ContactFieldUpdateDTO
NameDescriptionTypeAdditional information
ID

Contact extra field ID

integer

Required

Key

Contact extra field key/name

string

Required

Value

Contact extra field value/contents

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Key": "sample string 2",
  "Value": "sample string 3"
}

Response Information

Resource Description

Summary of updated extra field

ContactFieldDTO
NameDescriptionTypeAdditional information
ContactID

Contact ID

integer

None.

Created

Timestamp of extra field creation

date

None.

ID

Contact extra field ID

integer

Required

Key

Contact extra field key/name

string

Required

Value

Contact extra field value/contents

string

Required

Response Formats

application/json, text/json

Sample:
{
  "ContactID": 1,
  "Created": "2019-10-23T22:26:20.452274+00:00",
  "ID": 2,
  "Key": "sample string 3",
  "Value": "sample string 4"
}