POST api/CompanyContact

Post list of CompanyContact.

Request Information

URI Parameters

None.

Body Parameters

Collection of ApiContactInput
NameDescriptionTypeAdditional information
id

integer

None.

outer_id

string

None.

first_name

string

None.

middle_name

string

None.

last_name

string

None.

description

string

None.

birthday

date

None.

in_archive

boolean

None.

color

string

None.

gender

integer

None.

company

company liks

Collection of ContactCompany

None.

email

additional_type: 0

Collection of ContactDetails

None.

phone

additional_type: Phone_Mobile = 0, Phone_Work = 1, Phone_Home = 2, Phone_Fax = 3,

Collection of ContactDetails

None.

internetmessage

additional_type: IM_Skype = 200, IM_Icq = 201, IM_Msn = 202, IM_Viber = 203, IM_Telegram = 204, IM_WhatsApp = 205, IM_Instagram = 206, IM_FaceBook = 207, IM_LinkedIn = 208

Collection of ContactDetails

None.

customMasterFields

ApiMasterFields

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "outer_id": "sample string 2",
    "first_name": "sample string 3",
    "middle_name": "sample string 4",
    "last_name": "sample string 5",
    "description": "sample string 6",
    "birthday": "2024-11-16T04:47:03.9484708+00:00",
    "in_archive": true,
    "color": "sample string 8",
    "gender": 9,
    "company": [
      {
        "id": 1,
        "post": "sample string 2",
        "id_company": 3,
        "delete": true
      },
      {
        "id": 1,
        "post": "sample string 2",
        "id_company": 3,
        "delete": true
      }
    ],
    "email": [
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      },
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      }
    ],
    "phone": [
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      },
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      }
    ],
    "internetmessage": [
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      },
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      }
    ],
    "customMasterFields": {
      "_fields": [
        {
          "_custom_field": {
            "id": 1,
            "number": 2,
            "name": "sample string 3",
            "type": 4,
            "show": true,
            "description": "sample string 6",
            "is_required": true,
            "is_main": true,
            "is_deleted": true
          },
          "_field_data_id": 1,
          "_integer_data": 1,
          "_text_data": "sample string 2",
          "_datetime_data": "2024-11-16T04:47:03.9484708+00:00",
          "_bit_data": true,
          "_floating_data": 1.1,
          "_custom_field_address": [
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            },
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            }
          ],
          "_custom_field_url": [
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_phone": [
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_checklist_item": [
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:47:03.9484708+00:00",
                "due_date": "2024-11-16T04:47:03.9484708+00:00",
                "complete_date": "2024-11-16T04:47:03.9484708+00:00"
              },
              "is_mark_delete": true
            },
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:47:03.9484708+00:00",
                "due_date": "2024-11-16T04:47:03.9484708+00:00",
                "complete_date": "2024-11-16T04:47:03.9484708+00:00"
              },
              "is_mark_delete": true
            }
          ]
        },
        {
          "_custom_field": {
            "id": 1,
            "number": 2,
            "name": "sample string 3",
            "type": 4,
            "show": true,
            "description": "sample string 6",
            "is_required": true,
            "is_main": true,
            "is_deleted": true
          },
          "_field_data_id": 1,
          "_integer_data": 1,
          "_text_data": "sample string 2",
          "_datetime_data": "2024-11-16T04:47:03.9484708+00:00",
          "_bit_data": true,
          "_floating_data": 1.1,
          "_custom_field_address": [
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            },
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            }
          ],
          "_custom_field_url": [
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_phone": [
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_checklist_item": [
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:47:03.9484708+00:00",
                "due_date": "2024-11-16T04:47:03.9484708+00:00",
                "complete_date": "2024-11-16T04:47:03.9484708+00:00"
              },
              "is_mark_delete": true
            },
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:47:03.9484708+00:00",
                "due_date": "2024-11-16T04:47:03.9484708+00:00",
                "complete_date": "2024-11-16T04:47:03.9484708+00:00"
              },
              "is_mark_delete": true
            }
          ]
        }
      ]
    }
  },
  {
    "id": 1,
    "outer_id": "sample string 2",
    "first_name": "sample string 3",
    "middle_name": "sample string 4",
    "last_name": "sample string 5",
    "description": "sample string 6",
    "birthday": "2024-11-16T04:47:03.9484708+00:00",
    "in_archive": true,
    "color": "sample string 8",
    "gender": 9,
    "company": [
      {
        "id": 1,
        "post": "sample string 2",
        "id_company": 3,
        "delete": true
      },
      {
        "id": 1,
        "post": "sample string 2",
        "id_company": 3,
        "delete": true
      }
    ],
    "email": [
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      },
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      }
    ],
    "phone": [
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      },
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      }
    ],
    "internetmessage": [
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      },
      {
        "id": 1,
        "additional_type": 2,
        "data_string": "sample string 3",
        "is_subscribed": true,
        "delete": true
      }
    ],
    "customMasterFields": {
      "_fields": [
        {
          "_custom_field": {
            "id": 1,
            "number": 2,
            "name": "sample string 3",
            "type": 4,
            "show": true,
            "description": "sample string 6",
            "is_required": true,
            "is_main": true,
            "is_deleted": true
          },
          "_field_data_id": 1,
          "_integer_data": 1,
          "_text_data": "sample string 2",
          "_datetime_data": "2024-11-16T04:47:03.9484708+00:00",
          "_bit_data": true,
          "_floating_data": 1.1,
          "_custom_field_address": [
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            },
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            }
          ],
          "_custom_field_url": [
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_phone": [
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_checklist_item": [
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:47:03.9484708+00:00",
                "due_date": "2024-11-16T04:47:03.9484708+00:00",
                "complete_date": "2024-11-16T04:47:03.9484708+00:00"
              },
              "is_mark_delete": true
            },
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:47:03.9484708+00:00",
                "due_date": "2024-11-16T04:47:03.9484708+00:00",
                "complete_date": "2024-11-16T04:47:03.9484708+00:00"
              },
              "is_mark_delete": true
            }
          ]
        },
        {
          "_custom_field": {
            "id": 1,
            "number": 2,
            "name": "sample string 3",
            "type": 4,
            "show": true,
            "description": "sample string 6",
            "is_required": true,
            "is_main": true,
            "is_deleted": true
          },
          "_field_data_id": 1,
          "_integer_data": 1,
          "_text_data": "sample string 2",
          "_datetime_data": "2024-11-16T04:47:03.9484708+00:00",
          "_bit_data": true,
          "_floating_data": 1.1,
          "_custom_field_address": [
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            },
            {
              "address": {
                "id": 1,
                "street_number": "sample string 2",
                "route": "sample string 3",
                "locality": "sample string 4",
                "aal1": "sample string 5",
                "aal2": "sample string 6",
                "country": "sample string 7",
                "postal_code": "sample string 8",
                "is_main": true,
                "is_default_billing": true,
                "is_default_delivery": true,
                "full_address": "sample string 12",
                "comment": "sample string 13",
                "verification": true,
                "is_subscribed": true
              },
              "json": "sample string 1",
              "is_mark_delete": true
            }
          ],
          "_custom_field_url": [
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "url": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_phone": [
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            },
            {
              "Main": {
                "id": 1,
                "phone": "sample string 2",
                "name": "sample string 3"
              },
              "is_mark_delete": true
            }
          ],
          "_custom_field_checklist_item": [
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:47:03.9484708+00:00",
                "due_date": "2024-11-16T04:47:03.9484708+00:00",
                "complete_date": "2024-11-16T04:47:03.9484708+00:00"
              },
              "is_mark_delete": true
            },
            {
              "checkListItem": {
                "id": 1,
                "name": "sample string 2",
                "is_complete": true,
                "created_date": "2024-11-16T04:47:03.9484708+00:00",
                "due_date": "2024-11-16T04:47:03.9484708+00:00",
                "complete_date": "2024-11-16T04:47:03.9484708+00:00"
              },
              "is_mark_delete": true
            }
          ]
        }
      ]
    }
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.