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.
This commit is contained in:
Maxim Snesarev 2025-09-08 04:05:36 +03:00
parent d45fb4fac2
commit df83bd64ce
9 changed files with 38481 additions and 0 deletions

View File

@ -0,0 +1,503 @@
{
"_page": 1,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies?limit=10&page=1&with=custom_fields_values"
},
"next": {
"href": "https://wecheap.amocrm.ru/api/v4/companies?limit=10&page=2&with=custom_fields_values"
}
},
"_embedded": {
"companies": [
{
"id": 21985416,
"name": "Панойл",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1483950893,
"updated_at": 1550502247,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": [
{
"field_id": 1414682,
"field_name": "Адрес",
"field_code": "ADDRESS",
"field_type": "textarea",
"values": [
{
"value": "предпортовая 6"
}
]
},
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "3131107",
"enum_id": 3379198,
"enum_code": "WORK"
},
{
"value": "89531750870",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/21985416?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": []
}
},
{
"id": 28913824,
"name": "Дизойлснаб",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1486375334,
"updated_at": 1550502251,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": null,
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/28913824?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": []
}
},
{
"id": 29036538,
"name": "Елама",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1486462096,
"updated_at": 1550502254,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "3184054",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "e.rodnuh@elama.ru",
"enum_id": 3379210,
"enum_code": "WORK"
},
{
"value": "milo@elama.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/29036538?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 630931,
"name": "партнер",
"color": null
}
]
}
},
{
"id": 39342189,
"name": "TECHLUBE",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125315,
"updated_by": 1125291,
"created_at": 1493290299,
"updated_at": 1550502266,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "88127482522",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "info@techlube.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414678,
"field_name": "Web",
"field_code": "WEB",
"field_type": "url",
"values": [
{
"value": "http://www.techlube.ru"
}
]
},
{
"field_id": 1414682,
"field_name": "Адрес",
"field_code": "ADDRESS",
"field_type": "textarea",
"values": [
{
"value": "г. Санкт-Петербург, ул. Салова, д.45."
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/39342189?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 463633,
"name": "Поставщик",
"color": null
}
]
}
},
{
"id": 50093205,
"name": "ГБУ Амурской обл. «Амур-Авто»",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1550237324,
"updated_at": 1550575660,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": null,
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/50093205?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
]
}
},
{
"id": 39354647,
"name": "М-принт",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1493298614,
"updated_at": 1550589115,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "372-68-60",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "www.mprint.spb.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/39354647?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 630931,
"name": "партнер",
"color": null
}
]
}
},
{
"id": 39549833,
"name": "ООО Арсенал",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125315,
"updated_by": 1125291,
"created_at": 1493815517,
"updated_at": 1550589118,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": [
{
"field_id": 1414678,
"field_name": "Web",
"field_code": "WEB",
"field_type": "url",
"values": [
{
"value": "http://www.arsenal-oil.ru"
}
]
},
{
"field_id": 1414682,
"field_name": "Адрес",
"field_code": "ADDRESS",
"field_type": "textarea",
"values": [
{
"value": "г. Санкт-Петербург, Октябрьская набережная, 104к2П"
}
]
},
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "84957603856",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "spb@arsenal-oil.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/39549833?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 463633,
"name": "Поставщик",
"color": null
}
]
}
},
{
"id": 39884491,
"name": "ЛенТрансОйл",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1494583050,
"updated_at": 1550589121,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "389-33-01",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/39884491?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": []
}
},
{
"id": 41189231,
"name": "Агро Нова Ambro",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1500026135,
"updated_at": 1550589124,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": [
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "parts@agro-nova.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414678,
"field_name": "Web",
"field_code": "WEB",
"field_type": "url",
"values": [
{
"value": "http://o.chertkov@agro-nova.ru"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/41189231?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 463633,
"name": "Поставщик",
"color": null
}
]
}
},
{
"id": 41950875,
"name": "ЗСД",
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1503568087,
"updated_at": 1550589126,
"closest_task_at": null,
"is_deleted": false,
"custom_fields_values": null,
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/41950875?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 630931,
"name": "партнер",
"color": null
}
]
}
}
]
}
}

View File

@ -0,0 +1,734 @@
{
"_page": 1,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts?limit=10&page=1&with=custom_fields_values"
},
"next": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts?limit=10&page=2&with=custom_fields_values"
}
},
"_embedded": {
"contacts": [
{
"id": 12302934,
"name": "Мария",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125315,
"updated_by": 1125291,
"created_at": 1479464326,
"updated_at": 1552987304,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414672,
"field_name": "Должность",
"field_code": "POSITION",
"field_type": "text",
"values": [
{
"value": "начальник тендерного отдела"
}
]
},
{
"field_id": 1967235,
"field_name": "Фамилия",
"field_code": null,
"field_type": "text",
"values": [
{
"value": "Андреевна Фролова"
}
]
},
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "88412999069",
"enum_id": 3379198,
"enum_code": "WORK"
},
{
"value": "88412372582",
"enum_id": 3379198,
"enum_code": "WORK"
},
{
"value": "89379181209",
"enum_id": 3379202,
"enum_code": "MOB"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "termodom-pnz@mail.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/12302934?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [],
"companies": []
}
},
{
"id": 53874236,
"name": "Уважаемый клиент",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1555510610,
"updated_at": 1555510797,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+73532752560",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "dep118@pa-strela.com",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
},
{
"field_id": 1967235,
"field_name": "Фамилия",
"field_code": null,
"field_type": "text",
"values": [
{
"value": "Зуев Дмитрий Викторович"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/53874236?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 53874244,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/53874244?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
},
{
"id": 53874540,
"name": "Ольга",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1555512007,
"updated_at": 1555512113,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "utz_info@rzds.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+74992623274",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/53874540?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 53874546,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/53874546?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
},
{
"id": 53874740,
"name": "Олеся",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1555512884,
"updated_at": 1555512965,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+7495 6681805",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "Garkanova@nse-gtes.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414672,
"field_name": "Должность",
"field_code": "POSITION",
"field_type": "text",
"values": [
{
"value": "Гарьканова Олеся Александровна"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/53874740?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 53874750,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/53874750?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
},
{
"id": 56943846,
"name": "Вероника",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1557992594,
"updated_at": 1557992675,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+7(8152) 486584",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "gridina@gov-murman.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/56943846?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 56943844,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/56943844?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
},
{
"id": 57060560,
"name": "Светлана",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 3317005,
"created_at": 1558610794,
"updated_at": 1558611042,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+7 812 6483050",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "dmitrievasa@snsz.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/57060560?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 57060566,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/57060566?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
},
{
"id": 57302722,
"name": "Кренева Екатерина",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1559842830,
"updated_at": 1559842925,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+79531933861",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "lyalina.ekaterina@rosspirtprom.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/57302722?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 57302720,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/57302720?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
},
{
"id": 57363362,
"name": "Галина",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1560179161,
"updated_at": 1560179272,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+7495 362-21-06",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "torgi-gormost@dom.mos.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/57363362?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 57363360,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/57363360?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
},
{
"id": 57525406,
"name": "Наташа",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1561040769,
"updated_at": 1561040804,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+73942238970",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "airsxd@mail.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/57525406?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 57525404,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/57525404?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
},
{
"id": 57333458,
"name": "Михаил",
"first_name": null,
"last_name": null,
"responsible_user_id": 1125291,
"group_id": 78858,
"created_by": 1125291,
"updated_by": 1125291,
"created_at": 1559919891,
"updated_at": 1561040892,
"closest_task_at": null,
"is_deleted": false,
"is_unsorted": false,
"custom_fields_values": [
{
"field_id": 1414674,
"field_name": "Телефон",
"field_code": "PHONE",
"field_type": "multitext",
"values": [
{
"value": "+7 (812) 603-0456",
"enum_id": 3379198,
"enum_code": "WORK"
}
]
},
{
"field_id": 1414676,
"field_name": "Email",
"field_code": "EMAIL",
"field_type": "multitext",
"values": [
{
"value": "ignatovich_mk@avtobus.spb.ru",
"enum_id": 3379210,
"enum_code": "WORK"
}
]
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/contacts/57333458?limit=10&page=1&with=custom_fields_values"
}
},
"_embedded": {
"tags": [
{
"id": 531217,
"name": "тендер",
"color": null
}
],
"companies": [
{
"id": 57333456,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/companies/57333456?limit=10&page=1&with=custom_fields_values"
}
}
}
]
}
}
]
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1801
tests/fixtures/real_responses/deals.json vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,415 @@
{
"_page": 1,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events?limit=10&page=1&filter%5Btype%5D=lead_status_changed"
},
"next": {
"href": "https://wecheap.amocrm.ru/api/v4/events?limit=10&page=2&filter%5Btype%5D=lead_status_changed"
}
},
"_embedded": {
"events": [
{
"id": "01k4jtqrdgkvdcqt6db436tnz0",
"type": "lead_status_changed",
"entity_id": 52915808,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757273645,
"value_after": [
{
"lead_status": {
"id": 29911395,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 29911392,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4jtqrdgkvdcqt6db436tnz0"
}
},
"_embedded": {
"entity": {
"id": 52915808,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/52915808"
}
}
}
}
},
{
"id": "01k4jemt6zc96tmnn6bfnx5j85",
"type": "lead_status_changed",
"entity_id": 52915258,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757260966,
"value_after": [
{
"lead_status": {
"id": 29911395,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 29911392,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4jemt6zc96tmnn6bfnx5j85"
}
},
"_embedded": {
"entity": {
"id": 52915258,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/52915258"
}
}
}
}
},
{
"id": "01k4jbec3g07s1xaqcm26dm55n",
"type": "lead_status_changed",
"entity_id": 52915064,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757257609,
"value_after": [
{
"lead_status": {
"id": 29911395,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 29911392,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4jbec3g07s1xaqcm26dm55n"
}
},
"_embedded": {
"entity": {
"id": 52915064,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/52915064"
}
}
}
}
},
{
"id": "01k4j6tnadtfg2x52ak9s33arv",
"type": "lead_status_changed",
"entity_id": 49242382,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757252769,
"value_after": [
{
"lead_status": {
"id": 77337977,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 74535993,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4j6tnadtfg2x52ak9s33arv"
}
},
"_embedded": {
"entity": {
"id": 49242382,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/49242382"
}
}
}
}
},
{
"id": "01k4j6a65hhzfrk94sfz4qwcc6",
"type": "lead_status_changed",
"entity_id": 50635550,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757252229,
"value_after": [
{
"lead_status": {
"id": 77337977,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 74535993,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4j6a65hhzfrk94sfz4qwcc6"
}
},
"_embedded": {
"entity": {
"id": 50635550,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/50635550"
}
}
}
}
},
{
"id": "01k4j5x28k75p1mdb84357340d",
"type": "lead_status_changed",
"entity_id": 52914674,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757251799,
"value_after": [
{
"lead_status": {
"id": 29911395,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 29911392,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4j5x28k75p1mdb84357340d"
}
},
"_embedded": {
"entity": {
"id": 52914674,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/52914674"
}
}
}
}
},
{
"id": "01k4j5jecwsfp9cpdvnqr54qhr",
"type": "lead_status_changed",
"entity_id": 50596700,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757251451,
"value_after": [
{
"lead_status": {
"id": 77337977,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 74535993,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4j5jecwsfp9cpdvnqr54qhr"
}
},
"_embedded": {
"entity": {
"id": 50596700,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/50596700"
}
}
}
}
},
{
"id": "01k4j5espq2wzf1h5xtr7naptx",
"type": "lead_status_changed",
"entity_id": 40009179,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757251331,
"value_after": [
{
"lead_status": {
"id": 77337977,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 74535993,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4j5espq2wzf1h5xtr7naptx"
}
},
"_embedded": {
"entity": {
"id": 40009179,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/40009179"
}
}
}
}
},
{
"id": "01k4j5b38skxrwahq7n5m8ar7m",
"type": "lead_status_changed",
"entity_id": 50253408,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757251210,
"value_after": [
{
"lead_status": {
"id": 77337977,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 74535993,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4j5b38skxrwahq7n5m8ar7m"
}
},
"_embedded": {
"entity": {
"id": 50253408,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/50253408"
}
}
}
}
},
{
"id": "01k4j5b2mcfzczqm0d33s0w25r",
"type": "lead_status_changed",
"entity_id": 50670482,
"entity_type": "lead",
"created_by": 0,
"created_at": 1757251209,
"value_after": [
{
"lead_status": {
"id": 77337977,
"pipeline_id": 2058699
}
}
],
"value_before": [
{
"lead_status": {
"id": 74535993,
"pipeline_id": 2058699
}
}
],
"account_id": 12676854,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/events/01k4j5b2mcfzczqm0d33s0w25r"
}
},
"_embedded": {
"entity": {
"id": 50670482,
"_links": {
"self": {
"href": "https://wecheap.amocrm.ru/api/v4/leads/50670482"
}
}
}
}
}
]
}
}

File diff suppressed because it is too large Load Diff

14506
tests/fixtures/real_responses/users.json vendored Normal file

File diff suppressed because it is too large Load Diff