- 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.
1801 lines
50 KiB
JSON
1801 lines
50 KiB
JSON
{
|
||
"_page": 1,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
},
|
||
"next": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads?limit=10&page=2&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"leads": [
|
||
{
|
||
"id": 35444018,
|
||
"name": "Сделка #35444018",
|
||
"price": 15000,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 143,
|
||
"pipeline_id": 1937232,
|
||
"loss_reason_id": null,
|
||
"created_by": 0,
|
||
"updated_by": 3681903,
|
||
"created_at": 1608901315,
|
||
"updated_at": 1616847673,
|
||
"closed_at": 1610528546,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "HR",
|
||
"enum_id": 4763790,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/35444018?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [],
|
||
"companies": [],
|
||
"contacts": [
|
||
{
|
||
"id": 62929568,
|
||
"is_main": true,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/contacts/62929568?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 35470834,
|
||
"name": "начальник отдела найма. грузоперевозки",
|
||
"price": 22500,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 143,
|
||
"pipeline_id": 1937232,
|
||
"loss_reason_id": null,
|
||
"created_by": 3317005,
|
||
"updated_by": 3681903,
|
||
"created_at": 1609858304,
|
||
"updated_at": 1616847673,
|
||
"closed_at": 1610541872,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "HR",
|
||
"enum_id": 4763790,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/35470834?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [],
|
||
"companies": [],
|
||
"contacts": [
|
||
{
|
||
"id": 62952722,
|
||
"is_main": true,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/contacts/62952722?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 35736802,
|
||
"name": "Паритет 2 бочки вольво",
|
||
"price": 148000,
|
||
"responsible_user_id": 1125291,
|
||
"group_id": 78858,
|
||
"status_id": 142,
|
||
"pipeline_id": 4128420,
|
||
"loss_reason_id": null,
|
||
"created_by": 1125291,
|
||
"updated_by": 1125291,
|
||
"created_at": 1617617280,
|
||
"updated_at": 1617959358,
|
||
"closed_at": 1617959358,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 2079386,
|
||
"field_name": "Блок на ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "не нужен",
|
||
"enum_id": 4766830,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079376,
|
||
"field_name": "ФИО или ООО получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "ПАРИТЕТ"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079364,
|
||
"field_name": "телефон получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "numeric",
|
||
"values": [
|
||
{
|
||
"value": "1111"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079374,
|
||
"field_name": "ИНН или ПД получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "111"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079422,
|
||
"field_name": "КПП МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "111"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079372,
|
||
"field_name": "Название ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Байкал Сервис",
|
||
"enum_id": 4766796,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079368,
|
||
"field_name": "Доставка до МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Терминала",
|
||
"enum_id": 4766768,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079388,
|
||
"field_name": "Адрес МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "ульяновск"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079414,
|
||
"field_name": "№ заявки на ТК",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "3072365"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079378,
|
||
"field_name": "Дата отгрузки",
|
||
"field_code": null,
|
||
"field_type": "date",
|
||
"values": [
|
||
{
|
||
"value": 1617570000
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079380,
|
||
"field_name": "Дата прибытия",
|
||
"field_code": null,
|
||
"field_type": "date",
|
||
"values": [
|
||
{
|
||
"value": 1617829200
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079412,
|
||
"field_name": "Товар МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "106850"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079384,
|
||
"field_name": "За доставку платит МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Клиент",
|
||
"enum_id": 4766824,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079382,
|
||
"field_name": "№накладной",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "СГ-0351780"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079410,
|
||
"field_name": "Расход на ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "0"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079438,
|
||
"field_name": "Счет от ТК подгрузил",
|
||
"field_code": null,
|
||
"field_type": "checkbox",
|
||
"values": [
|
||
{
|
||
"value": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079428,
|
||
"field_name": "№ счета ТК",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "не нужен"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079448,
|
||
"field_name": "Скан упд в карточку",
|
||
"field_code": null,
|
||
"field_type": "checkbox",
|
||
"values": [
|
||
{
|
||
"value": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079430,
|
||
"field_name": "Оплата ТК дата",
|
||
"field_code": null,
|
||
"field_type": "date",
|
||
"values": [
|
||
{
|
||
"value": 1617915600
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079440,
|
||
"field_name": "Оплата ТК",
|
||
"field_code": null,
|
||
"field_type": "checkbox",
|
||
"values": [
|
||
{
|
||
"value": true
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/35736802?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [],
|
||
"companies": [],
|
||
"contacts": []
|
||
}
|
||
},
|
||
{
|
||
"id": 35723274,
|
||
"name": "Пермь. Моторное масло Ford Formula F 5W30 208л",
|
||
"price": 46000,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 142,
|
||
"pipeline_id": 4128420,
|
||
"loss_reason_id": null,
|
||
"created_by": 0,
|
||
"updated_by": 6685941,
|
||
"created_at": 1617018006,
|
||
"updated_at": 1626961402,
|
||
"closed_at": 1617699355,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Масло",
|
||
"enum_id": 4747520,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1988155,
|
||
"field_name": "Марка масла",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "toyota",
|
||
"enum_id": 4765266,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2009022,
|
||
"field_name": "Чем занимается общее",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "2. торгов. компания",
|
||
"enum_id": 4763816,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079384,
|
||
"field_name": "За доставку платит МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Клиент",
|
||
"enum_id": 4766824,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079386,
|
||
"field_name": "Блок на ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "нужен",
|
||
"enum_id": 4766828,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079376,
|
||
"field_name": "ФИО или ООО получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "ИП Сорокин Дмитрий Алексеевич"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079364,
|
||
"field_name": "телефон получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "numeric",
|
||
"values": [
|
||
{
|
||
"value": "89223585056"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079374,
|
||
"field_name": "ИНН или ПД получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "590613833595"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079372,
|
||
"field_name": "Название ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Мэйджик Транс",
|
||
"enum_id": 4766800,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079368,
|
||
"field_name": "Доставка до МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Терминала",
|
||
"enum_id": 4766768,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079388,
|
||
"field_name": "Адрес МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "Пермь"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079404,
|
||
"field_name": "Чем занимается старая версия",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "Торговая компания (перепродажа)",
|
||
"enum_id": 4766838,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079378,
|
||
"field_name": "Дата отгрузки",
|
||
"field_code": null,
|
||
"field_type": "date",
|
||
"values": [
|
||
{
|
||
"value": 1617138000
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079412,
|
||
"field_name": "Товар МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "32000"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079414,
|
||
"field_name": "№ заявки на ТК",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "200647"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079382,
|
||
"field_name": "№накладной",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "СМ364"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079410,
|
||
"field_name": "Расход на ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "1672"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079380,
|
||
"field_name": "Дата прибытия",
|
||
"field_code": null,
|
||
"field_type": "date",
|
||
"values": [
|
||
{
|
||
"value": 1617570000
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079428,
|
||
"field_name": "№ счета ТК",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "нет"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079438,
|
||
"field_name": "Счет от ТК подгрузил",
|
||
"field_code": null,
|
||
"field_type": "checkbox",
|
||
"values": [
|
||
{
|
||
"value": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079430,
|
||
"field_name": "Оплата ТК дата",
|
||
"field_code": null,
|
||
"field_type": "date",
|
||
"values": [
|
||
{
|
||
"value": 1617656400
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079440,
|
||
"field_name": "Оплата ТК",
|
||
"field_code": null,
|
||
"field_type": "checkbox",
|
||
"values": [
|
||
{
|
||
"value": true
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/35723274?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [
|
||
{
|
||
"id": 688096,
|
||
"name": "whatsapp",
|
||
"color": null
|
||
},
|
||
{
|
||
"id": 725924,
|
||
"name": "Pact",
|
||
"color": null
|
||
},
|
||
{
|
||
"id": 735926,
|
||
"name": "Хантер Катя whatsapp",
|
||
"color": null
|
||
}
|
||
],
|
||
"companies": [
|
||
{
|
||
"id": 63184140,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/companies/63184140?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"contacts": []
|
||
}
|
||
},
|
||
{
|
||
"id": 35520756,
|
||
"name": "Neo Revolution A 5w-40 SN/CF A3/B4 60 литров",
|
||
"price": 46000,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 142,
|
||
"pipeline_id": 2030844,
|
||
"loss_reason_id": null,
|
||
"created_by": 0,
|
||
"updated_by": 6079353,
|
||
"created_at": 1611490691,
|
||
"updated_at": 1629384696,
|
||
"closed_at": 1614159568,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Масло",
|
||
"enum_id": 4747520,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/35520756?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [
|
||
{
|
||
"id": 688096,
|
||
"name": "whatsapp",
|
||
"color": null
|
||
},
|
||
{
|
||
"id": 723046,
|
||
"name": "боткитМасло",
|
||
"color": null
|
||
},
|
||
{
|
||
"id": 725924,
|
||
"name": "Pact",
|
||
"color": null
|
||
},
|
||
{
|
||
"id": 737034,
|
||
"name": "2020",
|
||
"color": null
|
||
}
|
||
],
|
||
"companies": [],
|
||
"contacts": [
|
||
{
|
||
"id": 62286810,
|
||
"is_main": true,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/contacts/62286810?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 35512948,
|
||
"name": "отплатил",
|
||
"price": 23000,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 142,
|
||
"pipeline_id": 3698436,
|
||
"loss_reason_id": null,
|
||
"created_by": 0,
|
||
"updated_by": 6685941,
|
||
"created_at": 1611228494,
|
||
"updated_at": 1638534554,
|
||
"closed_at": 1617016729,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Масло",
|
||
"enum_id": 4747520,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1988155,
|
||
"field_name": "Марка масла",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "toyota",
|
||
"enum_id": 4765266,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2009022,
|
||
"field_name": "Чем занимается общее",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "2. торгов. компания",
|
||
"enum_id": 4763816,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2010402,
|
||
"field_name": "Город",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "Пермь"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2076380,
|
||
"field_name": "КЭВник",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Беденко Алевтина",
|
||
"enum_id": 4766614,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079384,
|
||
"field_name": "За доставку платит МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Клиент",
|
||
"enum_id": 4766824,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079386,
|
||
"field_name": "Блок на ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "нужен",
|
||
"enum_id": 4766828,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079376,
|
||
"field_name": "ФИО или ООО получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "ИП Сорокин Дмитрий Алексеевич,"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079364,
|
||
"field_name": "телефон получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "numeric",
|
||
"values": [
|
||
{
|
||
"value": "79223585056"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079374,
|
||
"field_name": "ИНН или ПД получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "590613833595"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079372,
|
||
"field_name": "Название ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Мэйджик Транс",
|
||
"enum_id": 4766800,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079368,
|
||
"field_name": "Доставка до МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Терминала",
|
||
"enum_id": 4766768,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/35512948?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [
|
||
{
|
||
"id": 723046,
|
||
"name": "боткитМасло",
|
||
"color": null
|
||
}
|
||
],
|
||
"companies": [
|
||
{
|
||
"id": 63184140,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/companies/63184140?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"contacts": []
|
||
}
|
||
},
|
||
{
|
||
"id": 35495084,
|
||
"name": "Gm в калининград",
|
||
"price": 37600,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 142,
|
||
"pipeline_id": 3698436,
|
||
"loss_reason_id": null,
|
||
"created_by": 0,
|
||
"updated_by": 0,
|
||
"created_at": 1610621329,
|
||
"updated_at": 1643030944,
|
||
"closed_at": 1614159035,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 1991580,
|
||
"field_name": "Комментарии",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "Ваш бизнес: Магазин"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1988155,
|
||
"field_name": "Марка масла",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "shell",
|
||
"enum_id": 4730495,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2009022,
|
||
"field_name": "Чем занимается общее",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "2. торгов. компания",
|
||
"enum_id": 4763816,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2010402,
|
||
"field_name": "Город",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "Калининград"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Масло",
|
||
"enum_id": 4747520,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/35495084?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [
|
||
{
|
||
"id": 734428,
|
||
"name": "Квиз с сайта maslo.pw",
|
||
"color": null
|
||
}
|
||
],
|
||
"companies": [],
|
||
"contacts": [
|
||
{
|
||
"id": 53870474,
|
||
"is_main": true,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/contacts/53870474?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 36787994,
|
||
"name": "Счет на оплату № 433 от 23 марта 2022 г.",
|
||
"price": 38000,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 142,
|
||
"pipeline_id": 3698436,
|
||
"loss_reason_id": null,
|
||
"created_by": 3716964,
|
||
"updated_by": 6685941,
|
||
"created_at": 1646055498,
|
||
"updated_at": 1649239371,
|
||
"closed_at": 1649239371,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 2081114,
|
||
"field_name": "NPS ОТЗЫВ КЦ",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "https://forms.amocrm.ru/zxcdtz?dp=Q1zaSQHqO-hHArUG1UMtpbH8yXlvSjDVk_vy47Inp9XQ1zH-piczH0rWrFpvg2qW"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2076380,
|
||
"field_name": "КЭВник",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Беденко Алевтина",
|
||
"enum_id": 4766614,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2009022,
|
||
"field_name": "Чем занимается общее",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "2. торгов. компания",
|
||
"enum_id": 4763816,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079404,
|
||
"field_name": "Чем занимается старая версия",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "Торговая компания (перепродажа)",
|
||
"enum_id": 4766838,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Масло",
|
||
"enum_id": 4747520,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2010402,
|
||
"field_name": "Город",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "Подольск"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2082786,
|
||
"field_name": "Цены оператора",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "Моторное масло Shell Rimula R5 E 10W/40 (CI-4) р.43 680"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2080756,
|
||
"field_name": "Тип техники",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "Грузовая",
|
||
"enum_id": 4767812,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1988155,
|
||
"field_name": "Марка масла",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "shell",
|
||
"enum_id": 4730495,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2080758,
|
||
"field_name": "Вязкость",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "10-40"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2080754,
|
||
"field_name": "Сколько литров масло нужно",
|
||
"field_code": null,
|
||
"field_type": "numeric",
|
||
"values": [
|
||
{
|
||
"value": "200"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079372,
|
||
"field_name": "Название ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Энергия",
|
||
"enum_id": 4766802,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079368,
|
||
"field_name": "Доставка до МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Терминала",
|
||
"enum_id": 4766768,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079388,
|
||
"field_name": "Адрес МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "Подольск"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2080448,
|
||
"field_name": "Город отправки",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "ТЛТ"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2087336,
|
||
"field_name": "Пакеты МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Без пакета",
|
||
"enum_id": 4770406,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079384,
|
||
"field_name": "За доставку платит МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Клиент",
|
||
"enum_id": 4766824,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2085456,
|
||
"field_name": "Плательщик по счету МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "Юпитер-Авто"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079376,
|
||
"field_name": "ФИО или ООО получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "Юпитер-Авто"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079374,
|
||
"field_name": "ИНН или ПД получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "9705108105"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079422,
|
||
"field_name": "КПП МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "775101001"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079364,
|
||
"field_name": "телефон получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "numeric",
|
||
"values": [
|
||
{
|
||
"value": "79587777756"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079386,
|
||
"field_name": "Блок на ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "нужен",
|
||
"enum_id": 4766828,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/36787994?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [
|
||
{
|
||
"id": 735270,
|
||
"name": "входящий звонок",
|
||
"color": null
|
||
}
|
||
],
|
||
"companies": [
|
||
{
|
||
"id": 64374478,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/companies/64374478?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"contacts": [
|
||
{
|
||
"id": 64388564,
|
||
"is_main": true,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/contacts/64388564?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 36872426,
|
||
"name": "30.04",
|
||
"price": 70000,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 142,
|
||
"pipeline_id": 3628218,
|
||
"loss_reason_id": null,
|
||
"created_by": 0,
|
||
"updated_by": 1125291,
|
||
"created_at": 1649851121,
|
||
"updated_at": 1651650189,
|
||
"closed_at": 1651650189,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 2081114,
|
||
"field_name": "NPS ОТЗЫВ КЦ",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "https://forms.amocrm.ru/zxcdtz?dp=Q1zaSQHqO-hHArUG1UMtpdzBA6bu7wQy1bBcWl8t46g2bVUDQfNokp1JwgO1T6cP"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Масло",
|
||
"enum_id": 4747520,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2010402,
|
||
"field_name": "Город",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "краснодар"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1988155,
|
||
"field_name": "Марка масла",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "shell",
|
||
"enum_id": 4730495,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079404,
|
||
"field_name": "Чем занимается старая версия",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "Замена масла для своей техники",
|
||
"enum_id": 4766834,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2009022,
|
||
"field_name": "Чем занимается общее",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "1. сто/парк/индустрия/магазин",
|
||
"enum_id": 4763810,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2076380,
|
||
"field_name": "КЭВник",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Беденко Алевтина",
|
||
"enum_id": 4766614,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2082792,
|
||
"field_name": "Опрос, поставщик",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "https://forms.amocrm.ru/mldtdm?dp=Q1zaSQHqO-hHArUG1UMtpdzBA6bu7wQy1bBcWl8t46gVEkaW6gL8XKYjoYf0JWwn"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079384,
|
||
"field_name": "За доставку платит МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "МЫ",
|
||
"enum_id": 4766826,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2087336,
|
||
"field_name": "Пакеты МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Без пакета",
|
||
"enum_id": 4770406,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2085456,
|
||
"field_name": "Плательщик по счету МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "ЕВТУШЕНКО СЕРГЕЙ АЛЕКСЕЕВИЧ"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079376,
|
||
"field_name": "ФИО или ООО получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "ЕВТУШЕНКО СЕРГЕЙ АЛЕКСЕЕВИЧ"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079374,
|
||
"field_name": "ИНН или ПД получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "010702971634"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079422,
|
||
"field_name": "КПП МОП",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "-"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079386,
|
||
"field_name": "Блок на ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "нужен",
|
||
"enum_id": 4766828,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079372,
|
||
"field_name": "Название ТК МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Мега Транс",
|
||
"enum_id": 4766798,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079368,
|
||
"field_name": "Доставка до МОП",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Терминала",
|
||
"enum_id": 4766768,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079388,
|
||
"field_name": "Адрес МОП",
|
||
"field_code": null,
|
||
"field_type": "textarea",
|
||
"values": [
|
||
{
|
||
"value": "Краснодар"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2079364,
|
||
"field_name": "телефон получателя МОП",
|
||
"field_code": null,
|
||
"field_type": "numeric",
|
||
"values": [
|
||
{
|
||
"value": "89892758150"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/36872426?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [
|
||
{
|
||
"id": 688096,
|
||
"name": "whatsapp",
|
||
"color": null
|
||
},
|
||
{
|
||
"id": 722112,
|
||
"name": "Рефералка",
|
||
"color": "FFCE5A"
|
||
},
|
||
{
|
||
"id": 725924,
|
||
"name": "Pact",
|
||
"color": null
|
||
},
|
||
{
|
||
"id": 734406,
|
||
"name": "Вотсап Женя whatsapp",
|
||
"color": null
|
||
}
|
||
],
|
||
"companies": [
|
||
{
|
||
"id": 64386082,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/companies/64386082?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"contacts": [
|
||
{
|
||
"id": 64386070,
|
||
"is_main": true,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/contacts/64386070?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": 64386084,
|
||
"is_main": false,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/contacts/64386084?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 35409162,
|
||
"name": "Серёженька 19:30",
|
||
"price": 0,
|
||
"responsible_user_id": 1379644,
|
||
"group_id": 78858,
|
||
"status_id": 143,
|
||
"pipeline_id": 3741264,
|
||
"loss_reason_id": 3451,
|
||
"created_by": 0,
|
||
"updated_by": 0,
|
||
"created_at": 1607617591,
|
||
"updated_at": 1657281696,
|
||
"closed_at": 1607705885,
|
||
"closest_task_at": null,
|
||
"is_deleted": false,
|
||
"custom_fields_values": [
|
||
{
|
||
"field_id": 1999810,
|
||
"field_name": "Направление",
|
||
"field_code": null,
|
||
"field_type": "select",
|
||
"values": [
|
||
{
|
||
"value": "Масло",
|
||
"enum_id": 4747520,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 1988155,
|
||
"field_name": "Марка масла",
|
||
"field_code": null,
|
||
"field_type": "multiselect",
|
||
"values": [
|
||
{
|
||
"value": "mobil",
|
||
"enum_id": 4730493,
|
||
"enum_code": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"field_id": 2010402,
|
||
"field_name": "Город",
|
||
"field_code": null,
|
||
"field_type": "text",
|
||
"values": [
|
||
{
|
||
"value": "Дмитрий Сергеевич"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"score": null,
|
||
"account_id": 12676854,
|
||
"labor_cost": null,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/leads/35409162?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
},
|
||
"_embedded": {
|
||
"tags": [],
|
||
"companies": [],
|
||
"contacts": [
|
||
{
|
||
"id": 62896024,
|
||
"is_main": true,
|
||
"_links": {
|
||
"self": {
|
||
"href": "https://wecheap.amocrm.ru/api/v4/contacts/62896024?limit=10&page=1&with=contacts%2Ccompanies%2Ccustom_fields_values"
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
}
|
||
} |