POST api/contacts/{contact}/extra
Creates a new extra field for a given contact with the given information
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contact |
Contact ID |
integer |
Required |
Body Parameters
Extra field data of new field
ContactFieldNewDTO| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "2025-12-16T03:27:09.4960162+00:00",
"ID": 2,
"Key": "sample string 3",
"Value": "sample string 4"
}