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

415 lines
10 KiB
JSON

{
"_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"
}
}
}
}
}
]
}
}