POST api/contacts/{contact}/extra

Creates a new extra field for a given contact with the given information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contact

Contact ID

integer

Required

Body Parameters

Extra field data of new field

ContactFieldNewDTO
NameDescriptionTypeAdditional information
Key

Contact extra field key/name

string

Required

Value

Contact extra field value/contents

string

Required

Request Formats

application/json, text/json

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

Response Information

Resource Description

Summary of new 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-08-19T15:36:13.9104534+00:00",
  "ID": 2,
  "Key": "sample string 3",
  "Value": "sample string 4"
}