GET api/CompanyContact/{id}
Fast method to get CompanyContact by id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiContactOutputName | Description | Type | Additional 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 | Object |
None. |
|
Object |
None. |
||
phone | Object |
None. |
|
internetmessage | Object |
None. |
|
customMasterFields | ApiMasterFields |
None. |
Response 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:35:49.2826011+00:00", "in_archive": true, "color": "sample string 8", "gender": 9, "company": {}, "email": {}, "phone": {}, "internetmessage": {}, "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:35:49.2826011+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:35:49.2826011+00:00", "due_date": "2024-11-16T04:35:49.2826011+00:00", "complete_date": "2024-11-16T04:35:49.2826011+00:00" }, "is_mark_delete": true }, { "checkListItem": { "id": 1, "name": "sample string 2", "is_complete": true, "created_date": "2024-11-16T04:35:49.2826011+00:00", "due_date": "2024-11-16T04:35:49.2826011+00:00", "complete_date": "2024-11-16T04:35:49.2826011+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:35:49.2826011+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:35:49.2826011+00:00", "due_date": "2024-11-16T04:35:49.2826011+00:00", "complete_date": "2024-11-16T04:35:49.2826011+00:00" }, "is_mark_delete": true }, { "checkListItem": { "id": 1, "name": "sample string 2", "is_complete": true, "created_date": "2024-11-16T04:35:49.2826011+00:00", "due_date": "2024-11-16T04:35:49.2826011+00:00", "complete_date": "2024-11-16T04:35:49.2826011+00:00" }, "is_mark_delete": true } ] } ] } }
application/xml, text/xml
Sample:
<ApiContactOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <outer_id>sample string 2</outer_id> <first_name>sample string 3</first_name> <middle_name>sample string 4</middle_name> <last_name>sample string 5</last_name> <description>sample string 6</description> <birthday>2024-11-16T04:35:49.2826011+00:00</birthday> <in_archive>true</in_archive> <color>sample string 8</color> <gender>9</gender> <company /> <email /> <phone /> <internetmessage /> <customMasterFields> <_fields> <ApiCompanyCustomDataPOST> <_custom_field> <id>1</id> <number>2</number> <name>sample string 3</name> <type>4</type> <show>true</show> <description>sample string 6</description> <is_required>true</is_required> <is_main>true</is_main> <is_deleted>true</is_deleted> </_custom_field> <_field_data_id>1</_field_data_id> <_integer_data>1</_integer_data> <_text_data>sample string 2</_text_data> <_datetime_data>2024-11-16T04:35:49.2826011+00:00</_datetime_data> <_bit_data>true</_bit_data> <_floating_data>1.1</_floating_data> <_custom_field_address> <ApiCompanyCustomDataGoogleAddressPOST> <address> <id>1</id> <street_number>sample string 2</street_number> <route>sample string 3</route> <locality>sample string 4</locality> <aal1>sample string 5</aal1> <aal2>sample string 6</aal2> <country>sample string 7</country> <postal_code>sample string 8</postal_code> <is_main>true</is_main> <is_default_billing>true</is_default_billing> <is_default_delivery>true</is_default_delivery> <full_address>sample string 12</full_address> <comment>sample string 13</comment> <verification>true</verification> <is_subscribed>true</is_subscribed> </address> <json>sample string 1</json> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataGoogleAddressPOST> <ApiCompanyCustomDataGoogleAddressPOST> <address> <id>1</id> <street_number>sample string 2</street_number> <route>sample string 3</route> <locality>sample string 4</locality> <aal1>sample string 5</aal1> <aal2>sample string 6</aal2> <country>sample string 7</country> <postal_code>sample string 8</postal_code> <is_main>true</is_main> <is_default_billing>true</is_default_billing> <is_default_delivery>true</is_default_delivery> <full_address>sample string 12</full_address> <comment>sample string 13</comment> <verification>true</verification> <is_subscribed>true</is_subscribed> </address> <json>sample string 1</json> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataGoogleAddressPOST> </_custom_field_address> <_custom_field_url> <ApiCompanyCustomDataUrlPOST> <Main> <id>1</id> <url>sample string 2</url> <name>sample string 3</name> </Main> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataUrlPOST> <ApiCompanyCustomDataUrlPOST> <Main> <id>1</id> <url>sample string 2</url> <name>sample string 3</name> </Main> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataUrlPOST> </_custom_field_url> <_custom_field_phone> <ApiCompanyCustomDataPhonePOST> <Main> <id>1</id> <phone>sample string 2</phone> <name>sample string 3</name> </Main> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataPhonePOST> <ApiCompanyCustomDataPhonePOST> <Main> <id>1</id> <phone>sample string 2</phone> <name>sample string 3</name> </Main> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataPhonePOST> </_custom_field_phone> <_custom_field_checklist_item> <ApiCompanyCustomDataCheckListItemPOST> <checkListItem> <id>1</id> <name>sample string 2</name> <is_complete>true</is_complete> <created_date>2024-11-16T04:35:49.2826011+00:00</created_date> <due_date>2024-11-16T04:35:49.2826011+00:00</due_date> <complete_date>2024-11-16T04:35:49.2826011+00:00</complete_date> </checkListItem> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataCheckListItemPOST> <ApiCompanyCustomDataCheckListItemPOST> <checkListItem> <id>1</id> <name>sample string 2</name> <is_complete>true</is_complete> <created_date>2024-11-16T04:35:49.2826011+00:00</created_date> <due_date>2024-11-16T04:35:49.2826011+00:00</due_date> <complete_date>2024-11-16T04:35:49.2826011+00:00</complete_date> </checkListItem> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataCheckListItemPOST> </_custom_field_checklist_item> </ApiCompanyCustomDataPOST> <ApiCompanyCustomDataPOST> <_custom_field> <id>1</id> <number>2</number> <name>sample string 3</name> <type>4</type> <show>true</show> <description>sample string 6</description> <is_required>true</is_required> <is_main>true</is_main> <is_deleted>true</is_deleted> </_custom_field> <_field_data_id>1</_field_data_id> <_integer_data>1</_integer_data> <_text_data>sample string 2</_text_data> <_datetime_data>2024-11-16T04:35:49.2826011+00:00</_datetime_data> <_bit_data>true</_bit_data> <_floating_data>1.1</_floating_data> <_custom_field_address> <ApiCompanyCustomDataGoogleAddressPOST> <address> <id>1</id> <street_number>sample string 2</street_number> <route>sample string 3</route> <locality>sample string 4</locality> <aal1>sample string 5</aal1> <aal2>sample string 6</aal2> <country>sample string 7</country> <postal_code>sample string 8</postal_code> <is_main>true</is_main> <is_default_billing>true</is_default_billing> <is_default_delivery>true</is_default_delivery> <full_address>sample string 12</full_address> <comment>sample string 13</comment> <verification>true</verification> <is_subscribed>true</is_subscribed> </address> <json>sample string 1</json> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataGoogleAddressPOST> <ApiCompanyCustomDataGoogleAddressPOST> <address> <id>1</id> <street_number>sample string 2</street_number> <route>sample string 3</route> <locality>sample string 4</locality> <aal1>sample string 5</aal1> <aal2>sample string 6</aal2> <country>sample string 7</country> <postal_code>sample string 8</postal_code> <is_main>true</is_main> <is_default_billing>true</is_default_billing> <is_default_delivery>true</is_default_delivery> <full_address>sample string 12</full_address> <comment>sample string 13</comment> <verification>true</verification> <is_subscribed>true</is_subscribed> </address> <json>sample string 1</json> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataGoogleAddressPOST> </_custom_field_address> <_custom_field_url> <ApiCompanyCustomDataUrlPOST> <Main> <id>1</id> <url>sample string 2</url> <name>sample string 3</name> </Main> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataUrlPOST> <ApiCompanyCustomDataUrlPOST> <Main> <id>1</id> <url>sample string 2</url> <name>sample string 3</name> </Main> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataUrlPOST> </_custom_field_url> <_custom_field_phone> <ApiCompanyCustomDataPhonePOST> <Main> <id>1</id> <phone>sample string 2</phone> <name>sample string 3</name> </Main> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataPhonePOST> <ApiCompanyCustomDataPhonePOST> <Main> <id>1</id> <phone>sample string 2</phone> <name>sample string 3</name> </Main> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataPhonePOST> </_custom_field_phone> <_custom_field_checklist_item> <ApiCompanyCustomDataCheckListItemPOST> <checkListItem> <id>1</id> <name>sample string 2</name> <is_complete>true</is_complete> <created_date>2024-11-16T04:35:49.2826011+00:00</created_date> <due_date>2024-11-16T04:35:49.2826011+00:00</due_date> <complete_date>2024-11-16T04:35:49.2826011+00:00</complete_date> </checkListItem> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataCheckListItemPOST> <ApiCompanyCustomDataCheckListItemPOST> <checkListItem> <id>1</id> <name>sample string 2</name> <is_complete>true</is_complete> <created_date>2024-11-16T04:35:49.2826011+00:00</created_date> <due_date>2024-11-16T04:35:49.2826011+00:00</due_date> <complete_date>2024-11-16T04:35:49.2826011+00:00</complete_date> </checkListItem> <is_mark_delete>true</is_mark_delete> </ApiCompanyCustomDataCheckListItemPOST> </_custom_field_checklist_item> </ApiCompanyCustomDataPOST> </_fields> </customMasterFields> </ApiContactOutput>