amo-server/tests/fixtures/real_responses/custom_fields_companies.json
Maxim Snesarev df83bd64ce Add fixture data for AMO CRM integration
- Introduced JSON files for companies, contacts, deals, custom fields, events, pipelines, and users to facilitate testing and development.
- Each file contains structured data reflecting the AMO CRM API responses, enhancing the test coverage for the integration.
- This addition supports the ongoing development of the AMO CRM Data Collection Service, ensuring comprehensive testing scenarios.
2025-09-08 04:05:36 +03:00

1041 lines
27 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_total_items": 36,
"_page": 1,
"_page_count": 1,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields?page=1&limit=250"
}
},
"_embedded": {
"custom_fields": [
{
"id": 1414674,
"name": "Телефон",
"type": "multitext",
"account_id": 12676854,
"code": "PHONE",
"sort": 504,
"is_api_only": false,
"enums": [
{
"id": 3379198,
"value": "WORK",
"sort": 2
},
{
"id": 3379200,
"value": "WORKDD",
"sort": 4
},
{
"id": 3379202,
"value": "MOB",
"sort": 6
},
{
"id": 3379204,
"value": "FAX",
"sort": 8
},
{
"id": 3379206,
"value": "HOME",
"sort": 10
},
{
"id": 3379208,
"value": "OTHER",
"sort": 12
}
],
"group_id": null,
"required_statuses": [],
"is_deletable": false,
"is_predefined": true,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/1414674?page=1&limit=250"
}
}
},
{
"id": 1414676,
"name": "Email",
"type": "multitext",
"account_id": 12676854,
"code": "EMAIL",
"sort": 506,
"is_api_only": false,
"enums": [
{
"id": 3379210,
"value": "WORK",
"sort": 2
},
{
"id": 3379212,
"value": "PRIV",
"sort": 4
},
{
"id": 3379214,
"value": "OTHER",
"sort": 6
}
],
"group_id": null,
"required_statuses": [],
"is_deletable": false,
"is_predefined": true,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/1414676?page=1&limit=250"
}
}
},
{
"id": 1414678,
"name": "Web",
"type": "url",
"account_id": 12676854,
"code": "WEB",
"sort": 517,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": false,
"is_predefined": true,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/1414678?page=1&limit=250"
}
}
},
{
"id": 1414682,
"name": "Адрес",
"type": "textarea",
"account_id": 12676854,
"code": "ADDRESS",
"sort": 508,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [
{
"pipeline_id": 3698436,
"status_id": 142
},
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": false,
"is_predefined": true,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/1414682?page=1&limit=250"
}
}
},
{
"id": 1969631,
"name": "ИНН",
"type": "text",
"account_id": 12676854,
"code": "",
"sort": 509,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [
{
"pipeline_id": 3698436,
"status_id": 142
},
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/1969631?page=1&limit=250"
}
}
},
{
"id": 2087358,
"name": "ФИО ИМ падеж (Ген дира)",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 505,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087358?page=1&limit=250"
}
}
},
{
"id": 2087360,
"name": "ОГРН",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 511,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087360?page=1&limit=250"
}
}
},
{
"id": 2087366,
"name": "КПП или ПД",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 510,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087366?page=1&limit=250"
}
}
},
{
"id": 2087524,
"name": "ФИО род.падеж",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 506,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087524?page=1&limit=250"
}
}
},
{
"id": 2087526,
"name": "ФИО Инициалы",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 507,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087526?page=1&limit=250"
}
}
},
{
"id": 2087528,
"name": "Расчетный счет",
"type": "textarea",
"account_id": 12676854,
"code": null,
"sort": 512,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087528?page=1&limit=250"
}
}
},
{
"id": 2087530,
"name": "Название банка",
"type": "textarea",
"account_id": 12676854,
"code": null,
"sort": 513,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087530?page=1&limit=250"
}
}
},
{
"id": 2087532,
"name": "БИК",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 515,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087532?page=1&limit=250"
}
}
},
{
"id": 2087574,
"name": "Кор счет",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 514,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2087574?page=1&limit=250"
}
}
},
{
"id": 2088856,
"name": "условия оплаты",
"type": "select",
"account_id": 12676854,
"code": null,
"sort": 516,
"is_api_only": false,
"enums": [
{
"id": 4771158,
"value": "с НДС",
"sort": 500
},
{
"id": 4771160,
"value": "без НДС",
"sort": 1
}
],
"group_id": null,
"required_statuses": [
{
"pipeline_id": 3698436,
"status_id": 142
},
{
"pipeline_id": 3711948,
"status_id": 142
},
{
"pipeline_id": 4063281,
"status_id": 142
},
{
"pipeline_id": 9498129,
"status_id": 142
},
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2088856?page=1&limit=250"
}
}
},
{
"id": 2090250,
"name": "Карточка компании",
"type": "file",
"account_id": 12676854,
"code": null,
"sort": 504,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2090250?page=1&limit=250"
}
}
},
{
"id": 2826938,
"name": "Последнее касание",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 527,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826938?page=1&limit=250"
}
}
},
{
"id": 2826940,
"name": "Дата последнего касания",
"type": "date",
"account_id": 12676854,
"code": null,
"sort": 528,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826940?page=1&limit=250"
}
}
},
{
"id": 2826942,
"name": "Сделок",
"type": "numeric",
"account_id": 12676854,
"code": null,
"sort": 529,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826942?page=1&limit=250"
}
}
},
{
"id": 2826944,
"name": "Успешных сделок",
"type": "numeric",
"account_id": 12676854,
"code": null,
"sort": 530,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826944?page=1&limit=250"
}
}
},
{
"id": 2826946,
"name": "Сделок в работе",
"type": "numeric",
"account_id": 12676854,
"code": null,
"sort": 531,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826946?page=1&limit=250"
}
}
},
{
"id": 2826948,
"name": "Дата успеха",
"type": "date",
"account_id": 12676854,
"code": null,
"sort": 532,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826948?page=1&limit=250"
}
}
},
{
"id": 2826950,
"name": "Средний чек",
"type": "numeric",
"account_id": 12676854,
"code": null,
"sort": 533,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826950?page=1&limit=250"
}
}
},
{
"id": 2826952,
"name": "Сумма",
"type": "numeric",
"account_id": 12676854,
"code": null,
"sort": 534,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826952?page=1&limit=250"
}
}
},
{
"id": 2826954,
"name": "Активная сделка",
"type": "url",
"account_id": 12676854,
"code": null,
"sort": 535,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826954?page=1&limit=250"
}
}
},
{
"id": 2826956,
"name": "Успех %",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 536,
"is_api_only": true,
"enums": null,
"group_id": "companies_5241725611031",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2826956?page=1&limit=250"
}
}
},
{
"id": 2838788,
"name": "Ключ успешной сделки",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 503,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2838788?page=1&limit=250"
}
}
},
{
"id": 2840340,
"name": "договор 1 компания",
"type": "file",
"account_id": 12676854,
"code": null,
"sort": 518,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [
{
"pipeline_id": 339072,
"status_id": 35177499
},
{
"pipeline_id": 9550189,
"status_id": 76311941
}
],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2840340?page=1&limit=250"
}
}
},
{
"id": 2840360,
"name": "Договор 2 компания",
"type": "file",
"account_id": 12676854,
"code": null,
"sort": 519,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2840360?page=1&limit=250"
}
}
},
{
"id": 2840362,
"name": "Договор 3 компания",
"type": "file",
"account_id": 12676854,
"code": null,
"sort": 520,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2840362?page=1&limit=250"
}
}
},
{
"id": 2840364,
"name": "Договор 4 компания",
"type": "file",
"account_id": 12676854,
"code": null,
"sort": 521,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2840364?page=1&limit=250"
}
}
},
{
"id": 2840366,
"name": "Договор 5 компания",
"type": "file",
"account_id": 12676854,
"code": null,
"sort": 522,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2840366?page=1&limit=250"
}
}
},
{
"id": 2840368,
"name": "LTV",
"type": "numeric",
"account_id": 12676854,
"code": null,
"sort": 523,
"is_api_only": false,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2840368?page=1&limit=250"
}
}
},
{
"id": 2842616,
"name": "LTV по компании виджет",
"type": "numeric",
"account_id": 12676854,
"code": null,
"sort": 525,
"is_api_only": true,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2842616?page=1&limit=250"
}
}
},
{
"id": 2842618,
"name": "сделок по компаниям виджет",
"type": "numeric",
"account_id": 12676854,
"code": null,
"sort": 526,
"is_api_only": true,
"enums": null,
"group_id": null,
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2842618?page=1&limit=250"
}
}
},
{
"id": 2848154,
"name": "n_docs",
"type": "text",
"account_id": 12676854,
"code": null,
"sort": 500,
"is_api_only": true,
"enums": null,
"group_id": "companies_52641754908273",
"required_statuses": [],
"is_deletable": true,
"is_predefined": false,
"entity_type": "companies",
"remind": null,
"triggers": [],
"currency": null,
"hidden_statuses": [],
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/custom_fields/2848154?page=1&limit=250"
}
}
}
]
}
}