diff --git a/app.py b/app.py index 9bbfcbb..f0ce46a 100644 --- a/app.py +++ b/app.py @@ -2,26 +2,45 @@ from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware from contextlib import asynccontextmanager import uvicorn +import logging from adapters.sqlite.database import init_db from routers import entities, export, data, amocrm from utils.config import settings +# FastStream integration +from faststream.redis.fastapi import RedisRouter +from workers.broker import broker +from workers.middleware import setup_middleware + +# Configure logging +logging.basicConfig(level=settings.LOG_LEVEL) +logger = logging.getLogger(__name__) + + +# Setup FastStream middleware +setup_middleware(broker) + +# Create FastStream router for FastAPI integration +redis_router = RedisRouter(broker) + @asynccontextmanager async def lifespan(app: FastAPI): # Startup + logger.info("Starting AMO CRM Data Collection Service") await init_db() + logger.info("Database initialized successfully") yield # Shutdown - pass + logger.info("Shutting down AMO CRM Data Collection Service") app = FastAPI( title="AMO CRM Data Collection Service", - description="Service for collecting and exporting AMO CRM data to Google Sheets", + description="Service for collecting and exporting AMO CRM data to Google Sheets with FastStream workers", version="0.1.0", - lifespan=lifespan, + lifespan=redis_router.lifespan_context, ) # CORS middleware @@ -33,7 +52,10 @@ app.add_middleware( allow_headers=["*"], ) -# Include routers +# Include FastStream router for message handling +app.include_router(redis_router) + +# Include API routers app.include_router(entities.router, prefix=f"{settings.API_V1_STR}/entities", tags=["entities"]) app.include_router(export.router, prefix=f"{settings.API_V1_STR}/export", tags=["export"]) app.include_router(data.router, prefix=f"{settings.API_V1_STR}/data", tags=["data"]) @@ -41,12 +63,12 @@ app.include_router(amocrm.router, prefix=f"{settings.API_V1_STR}/amocrm", tags=[ @app.get("/") -async def root(): +async def root() -> dict[str, str]: return {"message": "AMO CRM Data Collection Service", "version": "0.1.0"} @app.get("/health") -async def health_check(): +async def health_check() -> dict[str, str]: return {"status": "healthy"} diff --git a/docs/amocrm-service-design.md b/docs/amocrm-service-design.md index 8956e83..f4d3765 100644 --- a/docs/amocrm-service-design.md +++ b/docs/amocrm-service-design.md @@ -612,8 +612,8 @@ def process_custom_field(field_data, entity_type, entity_id): - ✅ Job status tracking #### Phase 5: Workers & Background Processing -- 🔄 Celery worker implementation -- 🔄 Data synchronization workers +- 🔄 FastStream worker implementation +- 🔄 Data synchronization workers with Redis broker - 🔄 Error handling and retry logic - 🔄 Monitoring and logging @@ -626,7 +626,7 @@ def process_custom_field(field_data, entity_type, entity_id): - **HTTP Client**: httpx for AMO CRM API - **Data Validation**: Pydantic v2 - **Testing**: pytest with real AMO CRM fixtures -- **Background Jobs**: Celery with Redis (planned) +- **Background Jobs**: FastStream with Redis broker - **Google Sheets**: google-api-python-client (planned) - **Development**: Black, isort, mypy, flake8 @@ -645,7 +645,7 @@ AMO_CRM_ACCESS_TOKEN=your-longterm-access-token GOOGLE_SERVICE_ACCOUNT_FILE=path/to/service-account.json GOOGLE_SCOPES=https://www.googleapis.com/auth/spreadsheets -# Redis (for future Celery integration) +# Redis (for FastStream message broker) REDIS_URL=redis://localhost:6379/0 # API Settings @@ -658,6 +658,9 @@ LOG_LEVEL=INFO - **Long-term Tokens**: Uses AMO CRM long-term access tokens - **Real-time Testing**: Direct AMO CRM data fetching - **Comprehensive Fixtures**: Real API response examples +- **Modern Workers**: FastStream async message processing +- **Redis Integration**: Reliable message broker with persistence +- **Built-in Observability**: Prometheus metrics and OpenTelemetry tracing ## Quick Start @@ -668,16 +671,25 @@ git clone cd amo-server uv sync +# Install FastStream with Redis support +uv add 'faststream[redis]' + # Configure environment cp env.example .env -# Edit .env with your AMO CRM token +# Edit .env with your AMO CRM token and Redis URL ``` ### 2. Run Service ```bash +# Start Redis (required for FastStream workers) +redis-server + # Start development server uv run uvicorn app:app --reload +# Start FastStream workers (in separate terminal) +uv run faststream run workers.broker:app --reload + # Access API documentation # http://localhost:8000/docs ``` @@ -743,6 +755,355 @@ curl -X POST http://localhost:8000/api/v1/export/configure \ 4. **Database Errors**: Handle connection issues, constraint violations 5. **Retry Logic**: Exponential backoff for transient failures (planned) +## FastStream Workers & Background Processing + +### Worker Architecture + +FastStream replaces Celery for background job processing, providing a modern async-first approach with Redis as the message broker. + +#### Why FastStream over Celery? + +1. **Native Async Support**: Built from ground-up for async/await patterns +2. **Type Safety**: Full Pydantic integration with automatic validation +3. **Modern Python**: Leverages Python 3.8+ features and type hints +4. **Simplified Architecture**: No separate result backend needed +5. **FastAPI Integration**: Seamless integration with existing FastAPI codebase +6. **Built-in Observability**: Prometheus and OpenTelemetry out-of-the-box +7. **Better Error Handling**: Structured error handling with automatic retries +8. **AsyncAPI Documentation**: Automatic API documentation for message flows + +The architecture consists of: + +1. **Message Producers**: API endpoints that queue jobs +2. **Message Consumers**: Worker functions that process jobs +3. **Redis Broker**: Message routing and persistence +4. **Job Status Tracking**: Database-backed status updates + +### Worker Implementation + +#### 1. FastStream Broker Setup + +```python +# workers/broker.py +from faststream import FastStream +from faststream.redis import RedisBroker +from utils.config import get_settings + +settings = get_settings() +broker = RedisBroker(settings.redis_url) +app = FastStream(broker) + +# Export job processing +@broker.subscriber("export-jobs") +async def process_export_job(job_data: dict): + """Process Google Sheets export jobs""" + from servers.export_server import ExportServer + + export_server = ExportServer() + await export_server.process_export_job(job_data) + +# AMO CRM data synchronization +@broker.subscriber("sync-jobs") +async def process_sync_job(sync_data: dict): + """Synchronize data from AMO CRM""" + from servers.sync_server import SyncServer + + sync_server = SyncServer() + await sync_server.process_sync_job(sync_data) + +# Scheduled data refresh +@broker.subscriber("refresh-jobs") +async def process_refresh_job(entity_type: str): + """Refresh entity data from AMO CRM""" + from servers.sync_server import SyncServer + + sync_server = SyncServer() + await sync_server.refresh_entity_data(entity_type) +``` + +#### 2. Job Publishers + +```python +# servers/job_server.py +from faststream.redis import RedisBroker +from typing import Dict, Any +import uuid +from datetime import datetime + +class JobServer: + def __init__(self, broker: RedisBroker): + self.broker = broker + + async def queue_export_job(self, configuration_id: int) -> str: + """Queue an export job for processing""" + job_id = str(uuid.uuid4()) + job_data = { + "job_id": job_id, + "configuration_id": configuration_id, + "created_at": datetime.utcnow().isoformat(), + "status": "queued" + } + + # Publish to export-jobs channel + await self.broker.publish(job_data, "export-jobs") + return job_id + + async def queue_sync_job(self, entity_type: str, **kwargs) -> str: + """Queue a data synchronization job""" + job_id = str(uuid.uuid4()) + sync_data = { + "job_id": job_id, + "entity_type": entity_type, + "parameters": kwargs, + "created_at": datetime.utcnow().isoformat(), + "status": "queued" + } + + await self.broker.publish(sync_data, "sync-jobs") + return job_id + + async def schedule_refresh_job(self, entity_type: str): + """Schedule periodic data refresh""" + await self.broker.publish(entity_type, "refresh-jobs") +``` + +#### 3. Export Job Processing + +```python +# servers/export_server.py +from typing import Dict, Any +from adapters.sqlite.database import get_database +from adapters.google_sheets_client import GoogleSheetsClient +from datetime import datetime +import logging + +logger = logging.getLogger(__name__) + +class ExportServer: + def __init__(self): + self.db = get_database() + self.sheets_client = GoogleSheetsClient() + + async def process_export_job(self, job_data: Dict[str, Any]): + """Process a Google Sheets export job""" + job_id = job_data["job_id"] + configuration_id = job_data["configuration_id"] + + try: + # Update job status to running + await self._update_job_status(job_id, "running") + + # Get export configuration + config = await self._get_export_configuration(configuration_id) + + # Process each enabled entity + total_records = 0 + for entity_type, mapping in config["entity_mappings"].items(): + if mapping.get("is_enabled", False): + records_count = await self._export_entity( + entity_type, + config["sheet_id"], + mapping + ) + total_records += records_count + + # Update job as completed + await self._update_job_status( + job_id, + "completed", + records_processed=total_records + ) + + except Exception as e: + logger.error(f"Export job {job_id} failed: {str(e)}") + await self._update_job_status( + job_id, + "failed", + error_message=str(e) + ) + + async def _export_entity(self, entity_type: str, sheet_id: str, mapping: dict) -> int: + """Export specific entity type to Google Sheets""" + # Implementation details for entity export + pass + + async def _update_job_status(self, job_id: str, status: str, **kwargs): + """Update job status in database""" + # Update export_jobs table + pass +``` + +#### 4. Data Synchronization Workers + +```python +# servers/sync_server.py +from adapters.amocrm_client import AMOCRMClient +from adapters.sqlite.database import get_database +from typing import Dict, Any, List +import logging + +logger = logging.getLogger(__name__) + +class SyncServer: + def __init__(self): + self.amocrm = AMOCRMClient() + self.db = get_database() + + async def process_sync_job(self, sync_data: Dict[str, Any]): + """Process AMO CRM data synchronization""" + job_id = sync_data["job_id"] + entity_type = sync_data["entity_type"] + parameters = sync_data.get("parameters", {}) + + try: + logger.info(f"Starting sync job {job_id} for {entity_type}") + + # Fetch data from AMO CRM + data = await self.amocrm.fetch_entity_data( + entity_type, + **parameters + ) + + # Process and store data + processed_count = await self._store_entity_data(entity_type, data) + + logger.info(f"Sync job {job_id} completed: {processed_count} records") + + except Exception as e: + logger.error(f"Sync job {job_id} failed: {str(e)}") + raise + + async def refresh_entity_data(self, entity_type: str): + """Refresh all data for an entity type""" + logger.info(f"Refreshing {entity_type} data") + + # Implement incremental refresh logic + last_update = await self._get_last_update_timestamp(entity_type) + + data = await self.amocrm.fetch_entity_data( + entity_type, + updated_at=last_update, + limit=250 + ) + + await self._store_entity_data(entity_type, data) +``` + +### FastStream Integration with FastAPI + +```python +# app.py (updated) +from faststream.redis.fastapi import RedisRouter +from workers.broker import broker + +# Create FastStream router for FastAPI integration +redis_router = RedisRouter(broker) + +# Include in FastAPI app +app.include_router(redis_router) + +# Lifespan integration +app = FastAPI(lifespan=redis_router.lifespan_context) +``` + +### Running Workers + +#### Development +```bash +# Start FastStream worker +faststream run workers.broker:app + +# Or with auto-reload +faststream run workers.broker:app --reload +``` + +#### Production +```bash +# Run multiple worker instances +faststream run workers.broker:app --workers 4 + +# With specific worker ID +WORKER_ID=worker-1 faststream run workers.broker:app +``` + +### Monitoring and Observability + +FastStream provides built-in observability features: + +```python +# workers/middleware.py +from faststream.prometheus import PrometheusMiddleware +from faststream.observability.middleware import TelemetryMiddleware + +# Add Prometheus metrics +broker.add_middleware(PrometheusMiddleware) + +# Add OpenTelemetry tracing +broker.add_middleware(TelemetryMiddleware) +``` + +### Error Handling and Retry Logic + +```python +# workers/error_handling.py +from faststream.redis import RedisBroker +import asyncio +from typing import Any +import logging + +logger = logging.getLogger(__name__) + +@broker.subscriber("export-jobs", retry=3, retry_delay=60) +async def process_export_job_with_retry(job_data: dict): + """Export job with automatic retry""" + try: + await process_export_job(job_data) + except Exception as e: + logger.error(f"Job failed: {e}") + # FastStream will automatically retry based on retry settings + raise + +# Dead letter queue for failed jobs +@broker.subscriber("failed-jobs") +async def handle_failed_jobs(job_data: dict): + """Handle permanently failed jobs""" + logger.error(f"Job permanently failed: {job_data}") + # Implement notification or manual intervention logic +``` + +### Job Scheduling + +For scheduled tasks, integrate with FastStream's scheduling capabilities: + +```python +# workers/scheduler.py +from taskiq_faststream import StreamScheduler +from taskiq.schedule_sources import LabelScheduleSource + +# Schedule periodic data refresh +@broker.task( + message={"entity_type": "deals"}, + channel="refresh-jobs", + schedule=[{"cron": "0 */6 * * *"}] # Every 6 hours +) +async def scheduled_deals_refresh(): + pass + +@broker.task( + message={"entity_type": "contacts"}, + channel="refresh-jobs", + schedule=[{"cron": "0 */4 * * *"}] # Every 4 hours +) +async def scheduled_contacts_refresh(): + pass + +# Initialize scheduler +scheduler = StreamScheduler( + broker=broker, + sources=[LabelScheduleSource(broker)] +) +``` + ## Scripts and Utilities ### fetch_amocrm_data.py diff --git a/pyproject.toml b/pyproject.toml index 957be5b..32c6855 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,8 @@ dependencies = [ "google-api-python-client>=2.100.0", "google-auth-httplib2>=0.2.0", "google-auth-oauthlib>=1.1.0", - "celery>=5.3.0", + "faststream[redis]>=0.5.0", + "taskiq-faststream>=0.2.0", "redis>=5.0.0", "python-dotenv>=1.0.0", ] diff --git a/routers/export.py b/routers/export.py index 6eaab64..622a178 100644 --- a/routers/export.py +++ b/routers/export.py @@ -4,9 +4,14 @@ from typing import Dict, Any, List, Optional from pydantic import BaseModel from datetime import datetime import time +import logging from adapters.sqlite.database import get_db from adapters.sqlite.models import ExportConfiguration, ExportEntityMapping, ExportJob +from servers.job_server import JobServer +from workers.broker import broker + +logger = logging.getLogger(__name__) router = APIRouter() @@ -35,6 +40,12 @@ class ExportJobStart(BaseModel): configuration_id: int +class SyncJobRequest(BaseModel): + entity_type: str + limit: Optional[int] = None + page: Optional[int] = None + + @router.post("/configure") async def create_export_configuration( config: ExportConfigurationRequest, @@ -168,14 +179,32 @@ async def start_export_job( db.add(job) db.commit() - # TODO: Queue job for background processing with Celery - # celery_app.send_task("export_to_sheets", args=[job.id]) + # Queue job for background processing with FastStream + try: + job_server = JobServer(broker) + job_uuid = await job_server.queue_export_job(config.id) - return { - "job_id": job.id, - "status": "pending", - "message": "Export job queued successfully" - } + logger.info(f"Export job {job.id} queued with UUID {job_uuid}") + + return { + "job_id": job.id, + "job_uuid": job_uuid, + "status": "pending", + "message": "Export job queued successfully" + } + + except Exception as e: + logger.error(f"Failed to queue export job {job.id}: {str(e)}") + + # Update job status to failed + job.status = "failed" + job.error_message = f"Failed to queue job: {str(e)}" + db.commit() + + raise HTTPException( + status_code=500, + detail=f"Failed to queue export job: {str(e)}" + ) @router.get("/status/{job_id}") @@ -266,3 +295,74 @@ async def list_export_jobs( "page": page, "per_page": per_page } + + +@router.post("/sync") +async def queue_sync_job( + sync_request: SyncJobRequest, + db: Session = Depends(get_db) +) -> Dict[str, Any]: + """Queue a data synchronization job from AMO CRM""" + + # Validate entity type + valid_entities = ["deals", "contacts", "companies", "pipelines", "users", "events"] + if sync_request.entity_type not in valid_entities: + raise HTTPException( + status_code=400, + detail=f"Invalid entity type. Must be one of: {', '.join(valid_entities)}" + ) + + try: + job_server = JobServer(broker) + job_uuid = await job_server.queue_sync_job( + entity_type=sync_request.entity_type, + limit=sync_request.limit, + page=sync_request.page + ) + + logger.info(f"Sync job queued for {sync_request.entity_type} with UUID {job_uuid}") + + return { + "job_uuid": job_uuid, + "entity_type": sync_request.entity_type, + "status": "queued", + "message": f"Sync job for {sync_request.entity_type} queued successfully" + } + + except Exception as e: + logger.error(f"Failed to queue sync job for {sync_request.entity_type}: {str(e)}") + raise HTTPException( + status_code=500, + detail=f"Failed to queue sync job: {str(e)}" + ) + + +@router.post("/refresh/{entity_type}") +async def schedule_refresh_job(entity_type: str) -> Dict[str, Any]: + """Schedule a data refresh job for an entity type""" + + # Validate entity type + valid_entities = ["deals", "contacts", "companies", "pipelines", "users", "events"] + if entity_type not in valid_entities: + raise HTTPException( + status_code=400, + detail=f"Invalid entity type. Must be one of: {', '.join(valid_entities)}" + ) + + try: + job_server = JobServer(broker) + await job_server.schedule_refresh_job(entity_type) + + logger.info(f"Refresh job scheduled for {entity_type}") + + return { + "entity_type": entity_type, + "message": f"Refresh job for {entity_type} scheduled successfully" + } + + except Exception as e: + logger.error(f"Failed to schedule refresh job for {entity_type}: {str(e)}") + raise HTTPException( + status_code=500, + detail=f"Failed to schedule refresh job: {str(e)}" + ) diff --git a/scripts/install_faststream.py b/scripts/install_faststream.py new file mode 100644 index 0000000..36eb010 --- /dev/null +++ b/scripts/install_faststream.py @@ -0,0 +1,66 @@ +#!/usr/bin/env python3 +""" +Installation script for FastStream dependencies. + +This script installs FastStream with Redis support and updates the project +configuration to use FastStream instead of Celery. +""" + +import subprocess +import sys +import logging + +logging.basicConfig(level=logging.INFO) +logger = logging.getLogger(__name__) + + +def run_command(command: str) -> bool: + """ + Run a shell command and return success status. + + Args: + command: Command to execute + + Returns: + True if command succeeded, False otherwise + """ + try: + logger.info(f"Running: {command}") + result = subprocess.run( + command.split(), + check=True, + capture_output=True, + text=True + ) + logger.info(f"Success: {result.stdout}") + return True + except subprocess.CalledProcessError as e: + logger.error(f"Failed: {e.stderr}") + return False + + +def main() -> None: + """Main installation function.""" + logger.info("Installing FastStream dependencies...") + + # Install FastStream with Redis support + if not run_command("uv add faststream[redis]"): + logger.error("Failed to install faststream[redis]") + sys.exit(1) + + # Install TaskIQ-FastStream for scheduling + if not run_command("uv add taskiq-faststream"): + logger.error("Failed to install taskiq-faststream") + sys.exit(1) + + # Remove Celery (optional) + logger.info("Removing Celery dependency...") + run_command("uv remove celery") # Don't fail if this doesn't work + + logger.info("FastStream installation completed successfully!") + logger.info("You can now start the FastStream worker with:") + logger.info(" uv run faststream run workers.broker:app") + + +if __name__ == "__main__": + main() diff --git a/scripts/start_services.py b/scripts/start_services.py new file mode 100644 index 0000000..374b514 --- /dev/null +++ b/scripts/start_services.py @@ -0,0 +1,180 @@ +#!/usr/bin/env python3 +""" +Service startup script for AMO CRM service with FastStream workers. + +This script starts Redis, FastAPI server, and FastStream workers in the +correct order for development. +""" + +import subprocess +import sys +import time +import logging +import signal +import os +from typing import List + +logging.basicConfig(level=logging.INFO) +logger = logging.getLogger(__name__) + +# Global list to track running processes +processes: List[subprocess.Popen] = [] + + +def cleanup_processes() -> None: + """Clean up all running processes.""" + logger.info("Cleaning up processes...") + for process in processes: + if process.poll() is None: # Process is still running + logger.info(f"Terminating process {process.pid}") + process.terminate() + try: + process.wait(timeout=5) + except subprocess.TimeoutExpired: + logger.warning(f"Force killing process {process.pid}") + process.kill() + + +def signal_handler(signum, frame) -> None: + """Handle interrupt signals.""" + logger.info("Received interrupt signal") + cleanup_processes() + sys.exit(0) + + +def start_redis() -> bool: + """ + Start Redis server. + + Returns: + True if Redis is running, False otherwise + """ + try: + # Check if Redis is already running + result = subprocess.run( + ["redis-cli", "ping"], + capture_output=True, + text=True, + timeout=5 + ) + if result.returncode == 0: + logger.info("Redis is already running") + return True + except (subprocess.TimeoutExpired, FileNotFoundError): + pass + + logger.info("Starting Redis server...") + try: + process = subprocess.Popen( + ["redis-server", "--daemonize", "yes"], + stdout=subprocess.PIPE, + stderr=subprocess.PIPE + ) + + # Wait a moment for Redis to start + time.sleep(2) + + # Check if Redis is now running + result = subprocess.run( + ["redis-cli", "ping"], + capture_output=True, + text=True, + timeout=5 + ) + + if result.returncode == 0: + logger.info("Redis started successfully") + return True + else: + logger.error("Failed to start Redis") + return False + + except FileNotFoundError: + logger.error("Redis not found. Please install Redis first.") + logger.info("On Ubuntu/Debian: sudo apt install redis-server") + logger.info("On macOS: brew install redis") + logger.info("On Windows: Download from https://redis.io/download") + return False + + +def start_fastapi() -> subprocess.Popen: + """ + Start FastAPI server. + + Returns: + Process object for the FastAPI server + """ + logger.info("Starting FastAPI server...") + process = subprocess.Popen([ + "uv", "run", "uvicorn", "app:app", + "--host", "0.0.0.0", + "--port", "8000", + "--reload" + ]) + processes.append(process) + return process + + +def start_faststream_worker() -> subprocess.Popen: + """ + Start FastStream worker. + + Returns: + Process object for the FastStream worker + """ + logger.info("Starting FastStream worker...") + process = subprocess.Popen([ + "uv", "run", "faststream", "run", "workers.broker:app", "--reload" + ]) + processes.append(process) + return process + + +def main() -> None: + """Main function to start all services.""" + # Set up signal handlers + signal.signal(signal.SIGINT, signal_handler) + signal.signal(signal.SIGTERM, signal_handler) + + logger.info("Starting AMO CRM services...") + + # Start Redis + if not start_redis(): + logger.error("Failed to start Redis. Exiting.") + sys.exit(1) + + # Start FastAPI server + fastapi_process = start_fastapi() + logger.info(f"FastAPI server started (PID: {fastapi_process.pid})") + + # Wait a moment for FastAPI to start + time.sleep(3) + + # Start FastStream worker + worker_process = start_faststream_worker() + logger.info(f"FastStream worker started (PID: {worker_process.pid})") + + logger.info("All services started successfully!") + logger.info("FastAPI server: http://localhost:8000") + logger.info("API documentation: http://localhost:8000/docs") + logger.info("Press Ctrl+C to stop all services") + + try: + # Wait for processes to complete + while True: + # Check if any process has died + for process in processes: + if process.poll() is not None: + logger.error(f"Process {process.pid} has died") + cleanup_processes() + sys.exit(1) + + time.sleep(1) + + except KeyboardInterrupt: + logger.info("Received interrupt, shutting down...") + cleanup_processes() + + +if __name__ == "__main__": + main() diff --git a/servers/export_server.py b/servers/export_server.py new file mode 100644 index 0000000..5c5a0f2 --- /dev/null +++ b/servers/export_server.py @@ -0,0 +1,282 @@ +""" +Export server for processing Google Sheets export jobs. + +This module handles the actual processing of export jobs queued through +the FastStream message broker, including data retrieval, formatting, +and Google Sheets API integration. +""" + +import logging +from typing import Dict, Any, List, Optional +from datetime import datetime +from adapters.sqlite.database import get_db + +logger = logging.getLogger(__name__) + + +class ExportServer: + """Server for processing Google Sheets export operations.""" + + def __init__(self): + """Initialize ExportServer with database and Google Sheets client.""" + self.db = get_db + # TODO: Initialize Google Sheets client when implemented + # self.sheets_client = GoogleSheetsClient() + + async def process_export_job(self, job_data: Dict[str, Any]) -> None: + """ + Process a Google Sheets export job. + + Args: + job_data: Dictionary containing job_id, configuration_id, and metadata + """ + job_id = job_data["job_id"] + configuration_id = job_data["configuration_id"] + + try: + logger.info(f"Starting export job {job_id} for configuration {configuration_id}") + + # Update job status to running + await self._update_job_status(job_id, "running", started_at=datetime.utcnow()) + + # Get export configuration + config = await self._get_export_configuration(configuration_id) + if not config: + raise ValueError(f"Export configuration {configuration_id} not found") + + # Process each enabled entity + total_records = 0 + processed_entities = {} + + for entity_type, mapping in config["entity_mappings"].items(): + if mapping.get("is_enabled", False): + logger.info(f"Exporting {entity_type} data") + + records_count = await self._export_entity( + entity_type, + config["sheet_id"], + mapping, + config.get("date_range_start"), + config.get("date_range_end") + ) + + total_records += records_count + processed_entities[entity_type] = { + "processed": records_count, + "total": records_count, + "status": "completed" + } + + logger.info(f"Exported {records_count} {entity_type} records") + + # Update job as completed + await self._update_job_status( + job_id, + "completed", + completed_at=datetime.utcnow(), + records_processed=total_records, + total_records=total_records, + entities_processed=processed_entities + ) + + logger.info(f"Export job {job_id} completed successfully with {total_records} records") + + except Exception as e: + logger.error(f"Export job {job_id} failed: {str(e)}") + await self._update_job_status( + job_id, + "failed", + completed_at=datetime.utcnow(), + error_message=str(e) + ) + raise + + async def _export_entity( + self, + entity_type: str, + sheet_id: str, + mapping: Dict[str, Any], + date_range_start: Optional[str] = None, + date_range_end: Optional[str] = None + ) -> int: + """ + Export specific entity type to Google Sheets. + + Args: + entity_type: Type of entity to export (deals, contacts, companies, etc.) + sheet_id: Google Sheets document ID + mapping: Field mapping configuration for this entity + date_range_start: Optional start date filter + date_range_end: Optional end date filter + + Returns: + Number of records exported + """ + try: + # Get entity data from database + data = await self._get_entity_data(entity_type, date_range_start, date_range_end) + + if not data: + logger.warning(f"No data found for {entity_type}") + return 0 + + # Format data according to mapping + formatted_data = await self._format_data_for_export(data, mapping) + + # Export to Google Sheets + await self._write_to_google_sheets(sheet_id, mapping["sheet_name"], formatted_data) + + return len(data) + + except Exception as e: + logger.error(f"Failed to export {entity_type}: {str(e)}") + raise + + async def _get_entity_data( + self, + entity_type: str, + date_range_start: Optional[str] = None, + date_range_end: Optional[str] = None + ) -> List[Dict[str, Any]]: + """ + Retrieve entity data from the database. + + Args: + entity_type: Type of entity to retrieve + date_range_start: Optional start date filter + date_range_end: Optional end date filter + + Returns: + List of entity records + """ + # TODO: Implement database query based on entity type and date range + # This would query the appropriate table (amo_deals, amo_contacts, etc.) + # and join with custom fields if needed + + logger.info(f"Retrieving {entity_type} data (date range: {date_range_start} to {date_range_end})") + + # Placeholder implementation + return [] + + async def _format_data_for_export( + self, + data: List[Dict[str, Any]], + mapping: Dict[str, Any] + ) -> List[List[Any]]: + """ + Format data according to the export mapping configuration. + + Args: + data: Raw entity data from database + mapping: Field mapping configuration + + Returns: + Formatted data ready for Google Sheets export + """ + field_mapping = mapping.get("field_mapping", []) + + # Sort field mapping by order + sorted_fields = sorted(field_mapping, key=lambda x: x.get("order", 0)) + + # Create header row + headers = [field["field_name"] for field in sorted_fields] + formatted_data = [headers] + + # Format data rows + for record in data: + row = [] + for field in sorted_fields: + field_name = field["field_name"] + value = record.get(field_name, "") + + # Handle different data types and formatting + if isinstance(value, datetime): + value = value.isoformat() + elif value is None: + value = "" + + row.append(value) + + formatted_data.append(row) + + logger.info(f"Formatted {len(data)} records with {len(headers)} columns") + return formatted_data + + async def _write_to_google_sheets( + self, + sheet_id: str, + sheet_name: str, + data: List[List[Any]] + ) -> None: + """ + Write formatted data to Google Sheets. + + Args: + sheet_id: Google Sheets document ID + sheet_name: Name of the sheet tab + data: Formatted data to write + """ + # TODO: Implement Google Sheets API integration + # This would use the Google Sheets client to write data + + logger.info(f"Writing {len(data)} rows to sheet '{sheet_name}' in document {sheet_id}") + + # Placeholder - would actually write to Google Sheets + logger.info(f"Successfully wrote data to Google Sheets (placeholder)") + + async def _get_export_configuration(self, configuration_id: int) -> Optional[Dict[str, Any]]: + """ + Get export configuration from database. + + Args: + configuration_id: ID of the export configuration + + Returns: + Export configuration data or None if not found + """ + # TODO: Implement database query to get export configuration + # This would query the export_configuration and export_entity_mappings tables + + logger.info(f"Retrieving export configuration {configuration_id}") + + # Placeholder implementation + return { + "id": configuration_id, + "sheet_id": "placeholder_sheet_id", + "entity_mappings": { + "deals": { + "sheet_name": "Deals", + "is_enabled": True, + "field_mapping": [ + {"field_name": "name", "column": "A", "order": 1}, + {"field_name": "price", "column": "B", "order": 2}, + {"field_name": "created_at", "column": "C", "order": 3} + ] + } + } + } + + async def _update_job_status( + self, + job_id: str, + status: str, + **kwargs + ) -> None: + """ + Update job status in the database. + + Args: + job_id: Unique identifier of the job + status: New status (pending, running, completed, failed) + **kwargs: Additional fields to update + """ + # TODO: Implement database update + # This would update the export_jobs table + + logger.info(f"Updating job {job_id} status to {status}") + + update_data = {"status": status, **kwargs} + logger.debug(f"Job update data: {update_data}") + + # Placeholder - would actually update database + pass diff --git a/servers/job_server.py b/servers/job_server.py new file mode 100644 index 0000000..40c6858 --- /dev/null +++ b/servers/job_server.py @@ -0,0 +1,204 @@ +""" +Job server for managing background job publishing and status tracking. + +This module provides the JobServer class for queuing various types of jobs +using FastStream Redis broker and tracking their status in the database. +""" + +import uuid +import logging +from datetime import datetime +from typing import Dict, Any, Optional +from faststream.redis import RedisBroker +from adapters.sqlite.database import get_db + +logger = logging.getLogger(__name__) + + +class JobServer: + """Server for managing background job operations.""" + + def __init__(self, broker: RedisBroker): + """ + Initialize JobServer with Redis broker. + + Args: + broker: FastStream Redis broker instance + """ + self.broker = broker + self.db = get_db + + async def queue_export_job(self, configuration_id: int) -> str: + """ + Queue an export job for processing. + + Args: + configuration_id: ID of the export configuration to process + + Returns: + job_id: Unique identifier for the queued job + """ + job_id = str(uuid.uuid4()) + job_data = { + "job_id": job_id, + "job_type": "export", + "configuration_id": configuration_id, + "created_at": datetime.utcnow().isoformat(), + "status": "queued" + } + + try: + # Create job record in database + await self._create_job_record(job_data) + + # Publish to export-jobs channel + await self.broker.publish(job_data, "export-jobs") + + logger.info(f"Export job {job_id} queued successfully") + return job_id + + except Exception as e: + logger.error(f"Failed to queue export job: {str(e)}") + await self._update_job_status(job_id, "failed", error_message=str(e)) + raise + + async def queue_sync_job( + self, + entity_type: str, + limit: Optional[int] = None, + page: Optional[int] = None, + **kwargs + ) -> str: + """ + Queue a data synchronization job. + + Args: + entity_type: Type of entity to sync (deals, contacts, companies, etc.) + limit: Maximum number of records to sync + page: Page number for pagination + **kwargs: Additional parameters for the sync job + + Returns: + job_id: Unique identifier for the queued job + """ + job_id = str(uuid.uuid4()) + sync_data = { + "job_id": job_id, + "job_type": "sync", + "entity_type": entity_type, + "parameters": { + "limit": limit, + "page": page, + **kwargs + }, + "created_at": datetime.utcnow().isoformat(), + "status": "queued" + } + + try: + # Create job record in database + await self._create_job_record(sync_data) + + # Publish to sync-jobs channel + await self.broker.publish(sync_data, "sync-jobs") + + logger.info(f"Sync job {job_id} for {entity_type} queued successfully") + return job_id + + except Exception as e: + logger.error(f"Failed to queue sync job: {str(e)}") + await self._update_job_status(job_id, "failed", error_message=str(e)) + raise + + async def schedule_refresh_job(self, entity_type: str) -> None: + """ + Schedule periodic data refresh for an entity type. + + Args: + entity_type: Type of entity to refresh + """ + try: + # Publish to refresh-jobs channel + await self.broker.publish(entity_type, "refresh-jobs") + + logger.info(f"Refresh job for {entity_type} scheduled successfully") + + except Exception as e: + logger.error(f"Failed to schedule refresh job for {entity_type}: {str(e)}") + raise + + async def get_job_status(self, job_id: str) -> Optional[Dict[str, Any]]: + """ + Get the status of a specific job. + + Args: + job_id: Unique identifier of the job + + Returns: + Job status information or None if not found + """ + try: + # TODO: Implement database query to get job status + # This would query the export_jobs table + pass + except Exception as e: + logger.error(f"Failed to get job status for {job_id}: {str(e)}") + return None + + async def list_jobs( + self, + status: Optional[str] = None, + job_type: Optional[str] = None, + limit: int = 20, + offset: int = 0 + ) -> Dict[str, Any]: + """ + List jobs with optional filtering. + + Args: + status: Filter by job status (pending, running, completed, failed) + job_type: Filter by job type (export, sync) + limit: Maximum number of jobs to return + offset: Number of jobs to skip + + Returns: + Dictionary containing jobs list and pagination info + """ + try: + # TODO: Implement database query to list jobs + # This would query the export_jobs table with filters + pass + except Exception as e: + logger.error(f"Failed to list jobs: {str(e)}") + return {"jobs": [], "total": 0} + + async def _create_job_record(self, job_data: Dict[str, Any]) -> None: + """ + Create a job record in the database. + + Args: + job_data: Job information to store + """ + # TODO: Implement database insertion + # This would insert into the export_jobs table + pass + + async def _update_job_status( + self, + job_id: str, + status: str, + error_message: Optional[str] = None, + **kwargs + ) -> None: + """ + Update job status in the database. + + Args: + job_id: Unique identifier of the job + status: New status (pending, running, completed, failed) + error_message: Error message if status is failed + **kwargs: Additional fields to update + """ + # TODO: Implement database update + # This would update the export_jobs table + pass diff --git a/servers/sync_server.py b/servers/sync_server.py new file mode 100644 index 0000000..63110dd --- /dev/null +++ b/servers/sync_server.py @@ -0,0 +1,289 @@ +""" +Sync server for processing AMO CRM data synchronization jobs. + +This module handles synchronization of data from AMO CRM API to the local +SQLite database, including both full syncs and incremental updates. +""" + +import logging +from typing import Dict, Any, List, Optional +from datetime import datetime, timezone +from adapters.amocrm_client import AmoCRMClient +from adapters.sqlite.database import get_db + +logger = logging.getLogger(__name__) + + +class SyncServer: + """Server for processing AMO CRM data synchronization operations.""" + + def __init__(self): + """Initialize SyncServer with AMO CRM client and database.""" + self.amocrm = AmoCRMClient() + self.db = get_db + + async def process_sync_job(self, sync_data: Dict[str, Any]) -> None: + """ + Process AMO CRM data synchronization job. + + Args: + sync_data: Dictionary containing job_id, entity_type, and parameters + """ + job_id = sync_data["job_id"] + entity_type = sync_data["entity_type"] + parameters = sync_data.get("parameters", {}) + + try: + logger.info(f"Starting sync job {job_id} for {entity_type}") + + # Validate entity type + if not self._is_valid_entity_type(entity_type): + raise ValueError(f"Invalid entity type: {entity_type}") + + # Fetch data from AMO CRM + data = await self.amocrm.fetch_entity_data(entity_type, **parameters) + + if not data: + logger.warning(f"No data received from AMO CRM for {entity_type}") + return + + # Process and store data + processed_count = await self._store_entity_data(entity_type, data) + + logger.info(f"Sync job {job_id} completed: {processed_count} records processed") + + except Exception as e: + logger.error(f"Sync job {job_id} failed: {str(e)}") + raise + + async def refresh_entity_data(self, entity_type: str) -> None: + """ + Refresh all data for an entity type with incremental updates. + + Args: + entity_type: Type of entity to refresh (deals, contacts, companies, etc.) + """ + try: + logger.info(f"Starting refresh for {entity_type} data") + + # Validate entity type + if not self._is_valid_entity_type(entity_type): + raise ValueError(f"Invalid entity type: {entity_type}") + + # Get last update timestamp for incremental sync + last_update = await self._get_last_update_timestamp(entity_type) + + # Fetch updated data from AMO CRM + data = await self.amocrm.fetch_entity_data( + entity_type, + updated_at=last_update, + limit=250 # Process in batches + ) + + if data: + processed_count = await self._store_entity_data(entity_type, data) + logger.info(f"Refresh completed for {entity_type}: {processed_count} records updated") + else: + logger.info(f"No updates found for {entity_type}") + + except Exception as e: + logger.error(f"Refresh failed for {entity_type}: {str(e)}") + raise + + async def full_sync_entity(self, entity_type: str, batch_size: int = 250) -> int: + """ + Perform a full synchronization of an entity type. + + Args: + entity_type: Type of entity to sync + batch_size: Number of records to fetch per batch + + Returns: + Total number of records processed + """ + try: + logger.info(f"Starting full sync for {entity_type}") + + total_processed = 0 + page = 1 + + while True: + # Fetch batch of data + data = await self.amocrm.fetch_entity_data( + entity_type, + limit=batch_size, + page=page + ) + + if not data: + break + + # Process batch + batch_processed = await self._store_entity_data(entity_type, data) + total_processed += batch_processed + + logger.info(f"Processed batch {page}: {batch_processed} {entity_type} records") + + # Check if we got less than batch_size (last page) + if len(data) < batch_size: + break + + page += 1 + + logger.info(f"Full sync completed for {entity_type}: {total_processed} total records") + return total_processed + + except Exception as e: + logger.error(f"Full sync failed for {entity_type}: {str(e)}") + raise + + async def _store_entity_data(self, entity_type: str, data: List[Dict[str, Any]]) -> int: + """ + Store entity data in the database. + + Args: + entity_type: Type of entity being stored + data: List of entity records from AMO CRM + + Returns: + Number of records processed + """ + try: + processed_count = 0 + + for record in data: + # Process main entity data + await self._store_main_entity(entity_type, record) + + # Process custom fields + if "custom_fields_values" in record: + await self._store_custom_fields(entity_type, record) + + # Process relationships (embedded data) + if "_embedded" in record: + await self._store_relationships(entity_type, record) + + processed_count += 1 + + # Update last sync timestamp + await self._update_last_sync_timestamp(entity_type) + + logger.info(f"Stored {processed_count} {entity_type} records in database") + return processed_count + + except Exception as e: + logger.error(f"Failed to store {entity_type} data: {str(e)}") + raise + + async def _store_main_entity(self, entity_type: str, record: Dict[str, Any]) -> None: + """ + Store main entity record in the appropriate table. + + Args: + entity_type: Type of entity + record: Entity record data + """ + # TODO: Implement database insertion based on entity type + # This would insert/update records in tables like amo_deals, amo_contacts, etc. + + entity_id = record.get("id") + logger.debug(f"Storing {entity_type} record ID: {entity_id}") + + # Placeholder implementation + pass + + async def _store_custom_fields(self, entity_type: str, record: Dict[str, Any]) -> None: + """ + Store custom fields for an entity. + + Args: + entity_type: Type of entity + record: Entity record containing custom fields + """ + entity_id = record.get("id") + custom_fields = record.get("custom_fields_values", []) + + for field in custom_fields: + # TODO: Implement custom field storage in amo_custom_fields table + field_id = field.get("field_id") + field_name = field.get("field_name", f"field_{field_id}") + values = field.get("values", []) + + logger.debug(f"Storing custom field {field_name} for {entity_type} ID: {entity_id}") + + # Placeholder implementation + pass + + async def _store_relationships(self, entity_type: str, record: Dict[str, Any]) -> None: + """ + Store entity relationships from embedded data. + + Args: + entity_type: Type of entity + record: Entity record containing embedded relationships + """ + entity_id = record.get("id") + embedded = record.get("_embedded", {}) + + for relation_type, relations in embedded.items(): + if not isinstance(relations, list): + continue + + for relation in relations: + # TODO: Implement relationship storage in junction tables + relation_id = relation.get("id") + is_main = relation.get("is_main", False) + + logger.debug(f"Storing {relation_type} relationship: {entity_type} {entity_id} -> {relation_id}") + + # Placeholder implementation + pass + + async def _get_last_update_timestamp(self, entity_type: str) -> Optional[int]: + """ + Get the timestamp of the last successful sync for an entity type. + + Args: + entity_type: Type of entity + + Returns: + Unix timestamp of last update or None for full sync + """ + # TODO: Implement database query to get last sync timestamp + # This could be stored in a sync_status table or derived from entity updated_at + + logger.debug(f"Getting last update timestamp for {entity_type}") + + # Placeholder - return None for full sync + return None + + async def _update_last_sync_timestamp(self, entity_type: str) -> None: + """ + Update the last sync timestamp for an entity type. + + Args: + entity_type: Type of entity + """ + # TODO: Implement database update for last sync timestamp + + current_time = datetime.now(timezone.utc) + logger.debug(f"Updating last sync timestamp for {entity_type} to {current_time}") + + # Placeholder implementation + pass + + def _is_valid_entity_type(self, entity_type: str) -> bool: + """ + Validate if the entity type is supported. + + Args: + entity_type: Type of entity to validate + + Returns: + True if valid, False otherwise + """ + valid_types = { + "deals", "contacts", "companies", + "users", "pipelines", "events" + } + return entity_type in valid_types diff --git a/tests/fixtures/real_amocrm_responses.py b/tests/fixtures/real_amocrm_responses.py new file mode 100644 index 0000000..ac6a7e0 --- /dev/null +++ b/tests/fixtures/real_amocrm_responses.py @@ -0,0 +1,38503 @@ +""" +Real AMO CRM API responses from wecheap.amocrm.ru +Generated on: 2025-09-08T03:45:35.897217 +""" + +# Users (Пользователи) response +USERS_RESPONSE = { + "_total_items": 43, + "_page": 1, + "_page_count": 1, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/?limit=250&page=1" + } + }, + "_embedded": { + "users": [ + { + "id": 1125291, + "name": "Сидоров Артем", + "email": "sa@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 78858, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/1125291/?limit=250&page=1" + } + } + }, + { + "id": 1379644, + "name": "Биржа Лидов", + "email": "info@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 78858, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/1379644/?limit=250&page=1" + } + } + }, + { + "id": 3317005, + "name": "Лукоянова Татьяна", + "email": "marketing@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 78858, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/3317005/?limit=250&page=1" + } + } + }, + { + "id": 3524232, + "name": "Капинос Евгения", + "email": "ek@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 78858, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/3524232/?limit=250&page=1" + } + } + }, + { + "id": 3716964, + "name": "Беденко Алевтина", + "email": "ab@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 220735, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/3716964/?limit=250&page=1" + } + } + }, + { + "id": 6685941, + "name": "Екатерина Ганенко", + "email": "eg@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220732, + "role_id": 678213 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/6685941/?limit=250&page=1" + } + } + }, + { + "id": 8086545, + "name": "Женя Закупщик", + "email": "logist@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "D", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 221416, + "role_id": 430482 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8086545/?limit=250&page=1" + } + } + }, + { + "id": 8188590, + "name": "Логвинович Максим", + "email": "lm@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220735, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8188590/?limit=250&page=1" + } + } + }, + { + "id": 8233461, + "name": "Надежда", + "email": "fv@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 569341, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8233461/?limit=250&page=1" + } + } + }, + { + "id": 8493594, + "name": "Гузель Исмайлова", + "email": "uvgi@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 678213 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8493594/?limit=250&page=1" + } + } + }, + { + "id": 8534106, + "name": "Виктория Хасанова", + "email": "xv@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "M", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "M" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321229, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321233, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321237, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321253, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321257, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321261, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 543953, + "role_id": 63960 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8534106/?limit=250&page=1" + } + } + }, + { + "id": 8591274, + "name": "Саша", + "email": "uvag@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569341, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8591274/?limit=250&page=1" + } + } + }, + { + "id": 8787435, + "name": "Николай Филиппов", + "email": "nf@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 569341, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8787435/?limit=250&page=1" + } + } + }, + { + "id": 8810424, + "name": "Анастасия Логист", + "email": "nr@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 221416, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8810424/?limit=250&page=1" + } + } + }, + { + "id": 8880685, + "name": "Ило Бжинава", + "email": "uvib@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8880685/?limit=250&page=1" + } + } + }, + { + "id": 8943217, + "name": "Маргарита Гавриш", + "email": "mg@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220735, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8943217/?limit=250&page=1" + } + } + }, + { + "id": 8951985, + "name": "Анастасия Чертановская", + "email": "ca@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220735, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8951985/?limit=250&page=1" + } + } + }, + { + "id": 8973261, + "name": "Алексей Марков", + "email": "am@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "M", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "M" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321229, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321233, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321237, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321253, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321257, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321261, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 543953, + "role_id": 63960 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8973261/?limit=250&page=1" + } + } + }, + { + "id": 8993825, + "name": "Бухгалтер", + "email": "ik@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 221416, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/8993825/?limit=250&page=1" + } + } + }, + { + "id": 9316761, + "name": "Валентин Глова", + "email": "vg@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9316761/?limit=250&page=1" + } + } + }, + { + "id": 9570189, + "name": "Леденская Юлия", + "email": "yb@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "M", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "M" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321229, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321233, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321237, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321253, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321257, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321261, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 543953, + "role_id": 63960 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9570189/?limit=250&page=1" + } + } + }, + { + "id": 9633673, + "name": "Наталья Никитина", + "email": "zn@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220732, + "role_id": 678213 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9633673/?limit=250&page=1" + } + } + }, + { + "id": 9643885, + "name": "Данил Ветров", + "email": "yl@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9643885/?limit=250&page=1" + } + } + }, + { + "id": 9741321, + "name": "Алексей Ященко", + "email": "ay@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220735, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9741321/?limit=250&page=1" + } + } + }, + { + "id": 9746341, + "name": "Владимир Нерука", + "email": "nv@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9746341/?limit=250&page=1" + } + } + }, + { + "id": 9773057, + "name": "Дмитрий Гагарин", + "email": "dg@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "M", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "M" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 143, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 142, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 143, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321229, + "rights": { + "view": "A", + "edit": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321233, + "rights": { + "view": "A", + "edit": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321237, + "rights": { + "view": "A", + "edit": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321253, + "rights": { + "view": "A", + "edit": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321257, + "rights": { + "view": "A", + "edit": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321261, + "rights": { + "view": "A", + "edit": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 143, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 143, + "rights": { + "view": "A", + "edit": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "view": "D", + "edit": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "D", + "edit": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 543953, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9773057/?limit=250&page=1" + } + } + }, + { + "id": 9794221, + "name": "Владислав", + "email": "vc@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 255516, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9794221/?limit=250&page=1" + } + } + }, + { + "id": 9852493, + "name": "Игорь Суриков", + "email": "is@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9852493/?limit=250&page=1" + } + } + }, + { + "id": 9879545, + "name": "Дмитрий Иванов", + "email": "id@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220735, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9879545/?limit=250&page=1" + } + } + }, + { + "id": 9889941, + "name": "Максим Лебедев", + "email": "mb@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/9889941/?limit=250&page=1" + } + } + }, + { + "id": 10070697, + "name": "Илья Демидов", + "email": "il@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "A", + "view": "A", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220732, + "role_id": 678213 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/10070697/?limit=250&page=1" + } + } + }, + { + "id": 10144025, + "name": "Илья Анкудинов", + "email": "ia@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "M", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "M" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321229, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321233, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321237, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321253, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321257, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321261, + "rights": { + "edit": "A", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "D", + "view": "A", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 543953, + "role_id": 63960 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/10144025/?limit=250&page=1" + } + } + }, + { + "id": 10520541, + "name": "Виолетта Миндиярова", + "email": "vm@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/10520541/?limit=250&page=1" + } + } + }, + { + "id": 10581257, + "name": "Эльвира Сайдашева", + "email": "es@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 221416, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/10581257/?limit=250&page=1" + } + } + }, + { + "id": 10725585, + "name": "ОКК - пинчер", + "email": "okk-pincher@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 255516, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/10725585/?limit=250&page=1" + } + } + }, + { + "id": 11661269, + "name": "Алексей Марков", + "email": "student222@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 255516, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/11661269/?limit=250&page=1" + } + } + }, + { + "id": 11784201, + "name": "Александр Добржинский", + "email": "ad@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": false, + "group_id": 569345, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/11784201/?limit=250&page=1" + } + } + }, + { + "id": 11914117, + "name": "ас", + "email": "novoemaslo-optom@yandex.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 255516, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/11914117/?limit=250&page=1" + } + } + }, + { + "id": 12437165, + "name": "Стажер (Коля и Миша - не трогайте его)", + "email": "student666@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "contacts": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "companies": { + "view": "M", + "edit": "M", + "add": "A", + "delete": "D", + "export": "D" + }, + "tasks": { + "edit": "M", + "delete": "D" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 255516, + "role_id": 52185 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/12437165/?limit=250&page=1" + } + } + }, + { + "id": 12540065, + "name": "Жуматаев Сергей", + "email": "zs@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 220735, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/12540065/?limit=250&page=1" + } + } + }, + { + "id": 12595665, + "name": "Снесарев Михаил", + "email": "teh@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 78858, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/12595665/?limit=250&page=1" + } + } + }, + { + "id": 12668301, + "name": "Киселева Ника", + "email": "hr@avtomaslo-optom.ru", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "A" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": true, + "files_access": true, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937232, + "status_id": 29060604, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1937997, + "status_id": 29070870, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1999590, + "status_id": 29513844, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2030844, + "status_id": 29721855, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2058699, + "status_id": 29911392, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 2307768, + "status_id": 31633338, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3169260, + "status_id": 32330964, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3628218, + "status_id": 35465775, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3698436, + "status_id": 35947497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3711948, + "status_id": 36042285, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 3741264, + "status_id": 36247722, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4063281, + "status_id": 38502606, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128420, + "status_id": 38960598, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4128465, + "status_id": 38960922, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4132437, + "status_id": 38988813, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4181520, + "status_id": 39334851, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 4477476, + "status_id": 41425878, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 5300715, + "status_id": 47232222, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 6237869, + "status_id": 53759353, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7229953, + "status_id": 60321225, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 7969873, + "status_id": 65419137, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8310797, + "status_id": 67767257, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8376461, + "status_id": 68230537, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8388345, + "status_id": 68311497, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8440261, + "status_id": 68669805, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8521997, + "status_id": 69239953, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8532033, + "status_id": 69309573, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8544933, + "status_id": 69397545, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8754789, + "status_id": 70848817, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 8831281, + "status_id": 71372357, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9498129, + "status_id": 75955333, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9550189, + "status_id": 76311925, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9967853, + "status_id": 79135937, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047453, + "status_id": 79688101, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047473, + "status_id": 79688261, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10047477, + "status_id": 79688313, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 10049845, + "status_id": 79704929, + "rights": { + "view": "A", + "edit": "A", + "delete": "A" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": true, + "is_free": false, + "is_active": true, + "group_id": 569341, + "role_id": null + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/12668301/?limit=250&page=1" + } + } + }, + { + "id": 12837989, + "name": "Для закрытых сделок", + "email": "kitkatandroid@gmail.com", + "lang": "ru", + "rights": { + "leads": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "contacts": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "companies": { + "view": "A", + "edit": "A", + "add": "A", + "delete": "A", + "export": "D" + }, + "tasks": { + "edit": "A", + "delete": "A" + }, + "mail_access": true, + "catalog_access": false, + "files_access": false, + "status_rights": [ + { + "entity_type": "leads", + "pipeline_id": 339072, + "status_id": 22937518, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1564249, + "status_id": 23852689, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 1613389, + "status_id": 24487864, + "rights": { + "edit": "A", + "view": "A", + "delete": "A" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830057, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830061, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830065, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773905, + "status_id": 77830069, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 142, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 143, + "rights": { + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "entity_type": "leads", + "pipeline_id": 9773913, + "status_id": 77830105, + "rights": { + "edit": "D", + "view": "D", + "delete": "D" + } + } + ], + "catalog_rights": [ + { + "catalog_id": 8889, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9130, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9224, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 9572, + "rights": { + "add": "A", + "edit": "A", + "view": "A", + "delete": "A", + "export": "A" + } + }, + { + "catalog_id": 16716, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + }, + { + "catalog_id": 16718, + "rights": { + "add": "D", + "edit": "D", + "view": "D", + "delete": "D", + "export": "D" + } + } + ], + "custom_fields_rights": null, + "oper_day_reports_view_access": false, + "oper_day_user_tracking": false, + "is_admin": false, + "is_free": false, + "is_active": true, + "group_id": 569345, + "role_id": 34629 + }, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/users/12837989/?limit=250&page=1" + } + } + } + ] + } +} + +# Pipelines (Воронки) response +PIPELINES_RESPONSE = { + "_total_items": 42, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines" + } + }, + "_embedded": { + "pipelines": [ + { + "id": 2058699, + "name": "Колл-центр", + "sort": 1, + "is_main": true, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699" + } + }, + "_embedded": { + "statuses": [ + { + "id": 29911392, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 2058699, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/29911392" + } + } + }, + { + "id": 29911395, + "name": "новая заявка получена", + "sort": 20, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/29911395" + } + } + }, + { + "id": 74535993, + "name": "ХЗ кто", + "sort": 30, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/74535993" + } + } + }, + { + "id": 75016801, + "name": "разобрать!!!", + "sort": 40, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/75016801" + } + } + }, + { + "id": 77063345, + "name": "Время +4 и более", + "sort": 50, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#98cbff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/77063345" + } + } + }, + { + "id": 77337977, + "name": "ДЛЯ РОПА", + "sort": 60, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#f2f3f4", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/77337977" + } + } + }, + { + "id": 44373282, + "name": "Созвон на неделе", + "sort": 70, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/44373282" + } + } + }, + { + "id": 38760315, + "name": "Звонок оператора", + "sort": 80, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/38760315" + } + } + }, + { + "id": 78655985, + "name": "написано неквал(уточнить позже)", + "sort": 90, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/78655985" + } + } + }, + { + "id": 38760318, + "name": "не ало перезвони", + "sort": 100, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/38760318" + } + } + }, + { + "id": 54721681, + "name": "Вытащи номер", + "sort": 110, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/54721681" + } + } + }, + { + "id": 40614105, + "name": "Авито Игнор", + "sort": 120, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/40614105" + } + } + }, + { + "id": 41171385, + "name": "РАСПРЕДЕЛИ лид", + "sort": 130, + "is_editable": true, + "pipeline_id": 2058699, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/41171385" + } + } + }, + { + "id": 142, + "name": "успешно", + "sort": 10000, + "is_editable": false, + "pipeline_id": 2058699, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 2058699, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2058699/statuses/143" + } + } + } + ] + } + }, + { + "id": 8388345, + "name": "КЦ КВАЛ Лид", + "sort": 2, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345" + } + }, + "_embedded": { + "statuses": [ + { + "id": 68311497, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8388345, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68311497" + } + } + }, + { + "id": 68311501, + "name": "Новый квал лид", + "sort": 20, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68311501" + } + } + }, + { + "id": 72014333, + "name": "разбери квалы из хантеров", + "sort": 30, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/72014333" + } + } + }, + { + "id": 75890493, + "name": "Биржа:не срочно", + "sort": 40, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#ffdc7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/75890493" + } + } + }, + { + "id": 68311509, + "name": "биржа:не подходит продукт", + "sort": 50, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68311509" + } + } + }, + { + "id": 77063401, + "name": "Время +4 и более", + "sort": 60, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#98cbff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/77063401" + } + } + }, + { + "id": 77378637, + "name": "Для РОПА", + "sort": 70, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#f2f3f4", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/77378637" + } + } + }, + { + "id": 68314497, + "name": "созвон на неделе", + "sort": 80, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68314497" + } + } + }, + { + "id": 68314501, + "name": "звонок оператора", + "sort": 90, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68314501" + } + } + }, + { + "id": 68314505, + "name": "не ало", + "sort": 100, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68314505" + } + } + }, + { + "id": 68314509, + "name": "переписка вотсап", + "sort": 110, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#deff81", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68314509" + } + } + }, + { + "id": 68314513, + "name": "переписка почта", + "sort": 120, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#deff81", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68314513" + } + } + }, + { + "id": 68314517, + "name": "распредели кэв", + "sort": 130, + "is_editable": true, + "pipeline_id": 8388345, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/68314517" + } + } + }, + { + "id": 142, + "name": "кэв назначен", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8388345, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/142" + } + } + }, + { + "id": 143, + "name": "сдох", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8388345, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8388345/statuses/143" + } + } + } + ] + } + }, + { + "id": 8532033, + "name": "Холодный обзвон", + "sort": 3, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033" + } + }, + "_embedded": { + "statuses": [ + { + "id": 69309573, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8532033, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/69309573" + } + } + }, + { + "id": 69309577, + "name": "Свежак", + "sort": 20, + "is_editable": true, + "pipeline_id": 8532033, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/69309577" + } + } + }, + { + "id": 70556825, + "name": "старая база", + "sort": 30, + "is_editable": true, + "pipeline_id": 8532033, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/70556825" + } + } + }, + { + "id": 70849325, + "name": "Доверие 0", + "sort": 40, + "is_editable": true, + "pipeline_id": 8532033, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/70849325" + } + } + }, + { + "id": 70849329, + "name": "Не Лпр", + "sort": 50, + "is_editable": true, + "pipeline_id": 8532033, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/70849329" + } + } + }, + { + "id": 69309581, + "name": "созвон на недели", + "sort": 60, + "is_editable": true, + "pipeline_id": 8532033, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/69309581" + } + } + }, + { + "id": 69309585, + "name": "звонок сегодня", + "sort": 70, + "is_editable": true, + "pipeline_id": 8532033, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/69309585" + } + } + }, + { + "id": 69310061, + "name": "не ало", + "sort": 80, + "is_editable": true, + "pipeline_id": 8532033, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/69310061" + } + } + }, + { + "id": 69310065, + "name": "переписка вотсап/почта", + "sort": 90, + "is_editable": true, + "pipeline_id": 8532033, + "color": "#f9deff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/69310065" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8532033, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8532033, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8532033/statuses/143" + } + } + } + ] + } + }, + { + "id": 8376461, + "name": "кц Не квал", + "sort": 4, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461" + } + }, + "_embedded": { + "statuses": [ + { + "id": 68230537, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8376461, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68230537" + } + } + }, + { + "id": 68990725, + "name": "КЭВ неквал", + "sort": 20, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68990725" + } + } + }, + { + "id": 76312649, + "name": "Разбери не квал от хантеров", + "sort": 30, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/76312649" + } + } + }, + { + "id": 77241825, + "name": "РАЗОБРАТЬ в первую очередь", + "sort": 40, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/77241825" + } + } + }, + { + "id": 68230541, + "name": "Магазин", + "sort": 50, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68230541" + } + } + }, + { + "id": 68230545, + "name": "СТО", + "sort": 60, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68230545" + } + } + }, + { + "id": 68230549, + "name": "Индустрия", + "sort": 70, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68230549" + } + } + }, + { + "id": 68230613, + "name": "ТОргаши", + "sort": 80, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68230613" + } + } + }, + { + "id": 68230709, + "name": "Парки,свое производство 1-9", + "sort": 90, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#98cbff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68230709" + } + } + }, + { + "id": 68230713, + "name": "Парки, сельхоз", + "sort": 100, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68230713" + } + } + }, + { + "id": 68725049, + "name": "тк 1-9машин", + "sort": 110, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68725049" + } + } + }, + { + "id": 68230717, + "name": "таксопарк", + "sort": 120, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68230717" + } + } + }, + { + "id": 68759801, + "name": "разобрать 2я очередь", + "sort": 130, + "is_editable": true, + "pipeline_id": 8376461, + "color": "#f2f3f4", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/68759801" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8376461, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8376461, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8376461/statuses/143" + } + } + } + ] + } + }, + { + "id": 339072, + "name": "Хантеры квал", + "sort": 5, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072" + } + }, + "_embedded": { + "statuses": [ + { + "id": 22937518, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 339072, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/22937518" + } + } + }, + { + "id": 73382137, + "name": "Хочу выкинуть, проверь и закрой", + "sort": 20, + "is_editable": true, + "pipeline_id": 339072, + "color": "#f2f3f4", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/73382137" + } + } + }, + { + "id": 70464497, + "name": "Биржа", + "sort": 30, + "is_editable": true, + "pipeline_id": 339072, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/70464497" + } + } + }, + { + "id": 70421825, + "name": "обзвон биржи", + "sort": 40, + "is_editable": true, + "pipeline_id": 339072, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/70421825" + } + } + }, + { + "id": 34272084, + "name": "Кэв Назначен 2-3 месяца", + "sort": 50, + "is_editable": true, + "pipeline_id": 339072, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/34272084" + } + } + }, + { + "id": 74046301, + "name": "пора двигать сделку", + "sort": 60, + "is_editable": true, + "pipeline_id": 339072, + "color": "#f3beff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/74046301" + } + } + }, + { + "id": 35177493, + "name": "35% кэв состоялся 2-3 месяца", + "sort": 70, + "is_editable": true, + "pipeline_id": 339072, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/35177493" + } + } + }, + { + "id": 72734069, + "name": "30% Шаблон отправлен 4-6 нед", + "sort": 80, + "is_editable": true, + "pipeline_id": 339072, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/72734069" + } + } + }, + { + "id": 35177499, + "name": "25% договор отправлен 2-4 нед", + "sort": 90, + "is_editable": true, + "pipeline_id": 339072, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/35177499" + } + } + }, + { + "id": 73645309, + "name": "Сроки подтверждены 1-2 НЕД.", + "sort": 100, + "is_editable": true, + "pipeline_id": 339072, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/73645309" + } + } + }, + { + "id": 12678639, + "name": "счет выставлен 1 нед", + "sort": 110, + "is_editable": true, + "pipeline_id": 339072, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/12678639" + } + } + }, + { + "id": 48224163, + "name": "Успех!!!)))РОП проверь", + "sort": 120, + "is_editable": true, + "pipeline_id": 339072, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/48224163" + } + } + }, + { + "id": 142, + "name": "сделка", + "sort": 10000, + "is_editable": false, + "pipeline_id": 339072, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/142" + } + } + }, + { + "id": 143, + "name": "НЕ ДЛЯ ХАНТЕРА", + "sort": 11000, + "is_editable": false, + "pipeline_id": 339072, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/339072/statuses/143" + } + } + } + ] + } + }, + { + "id": 8544933, + "name": "Хантеры новые неквал", + "sort": 6, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933" + } + }, + "_embedded": { + "statuses": [ + { + "id": 69397545, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8544933, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69397545" + } + } + }, + { + "id": 69397549, + "name": "неквал прошел", + "sort": 20, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#e6e8ea", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69397549" + } + } + }, + { + "id": 70464577, + "name": "неквал НЕАЛО", + "sort": 30, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/70464577" + } + } + }, + { + "id": 70423617, + "name": "неквал обработан", + "sort": 40, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/70423617" + } + } + }, + { + "id": 70423621, + "name": "КЭВ НАЗНАЧЕН НЕКВАЛ", + "sort": 50, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/70423621" + } + } + }, + { + "id": 69397553, + "name": "ТК Просчитана НЕКВАЛ", + "sort": 60, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69397553" + } + } + }, + { + "id": 69397557, + "name": "кэв неало НЕКВАЛ", + "sort": 70, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69397557" + } + } + }, + { + "id": 69398757, + "name": "кэв состоялся НЕКВАЛ", + "sort": 80, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69398757" + } + } + }, + { + "id": 69398805, + "name": "Реквизиты получены НЕКВАЛ", + "sort": 90, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69398805" + } + } + }, + { + "id": 69398809, + "name": "договор отправлен НЕКВАЛ", + "sort": 100, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69398809" + } + } + }, + { + "id": 69398813, + "name": "до покупки 30 дней НЕКВАЛ", + "sort": 110, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#c1e0ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69398813" + } + } + }, + { + "id": 69398817, + "name": "до покупки 15 дней НЕКВАЛ", + "sort": 120, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#c1e0ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69398817" + } + } + }, + { + "id": 69398821, + "name": "счет выставлен 10 дней НЕКВАЛ", + "sort": 130, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#ffdc7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69398821" + } + } + }, + { + "id": 69398825, + "name": "окк НЕКВАЛ", + "sort": 140, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69398825" + } + } + }, + { + "id": 69402313, + "name": "УСПЕХ!!!))) РОП ПРОВЕРЬ НЕКВАЛ", + "sort": 150, + "is_editable": true, + "pipeline_id": 8544933, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/69402313" + } + } + }, + { + "id": 142, + "name": "СДЕЛКА НЕКВАЛ", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8544933, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/142" + } + } + }, + { + "id": 143, + "name": "сделка не состоялась НЕКВАЛ", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8544933, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8544933/statuses/143" + } + } + } + ] + } + }, + { + "id": 9550189, + "name": "Хантеры НЕквал", + "sort": 7, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189" + } + }, + "_embedded": { + "statuses": [ + { + "id": 76311925, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 9550189, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311925" + } + } + }, + { + "id": 76311961, + "name": "Хочу выкинуть, проверь и закрой", + "sort": 20, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#f2f3f4", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311961" + } + } + }, + { + "id": 76311953, + "name": "Биржа", + "sort": 30, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311953" + } + } + }, + { + "id": 76311949, + "name": "обзвон биржи", + "sort": 40, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#98cbff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311949" + } + } + }, + { + "id": 76311933, + "name": "Кэв Назначен 2-3 месяца", + "sort": 50, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311933" + } + } + }, + { + "id": 76311969, + "name": "пора двигать сделку", + "sort": 60, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#f9deff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311969" + } + } + }, + { + "id": 76311937, + "name": "35% кэв состоялся 2-3 месяца", + "sort": 70, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#c1e0ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311937" + } + } + }, + { + "id": 76311957, + "name": "30% Шаблон отправлен 4-6 нед", + "sort": 80, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#f3beff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311957" + } + } + }, + { + "id": 76311941, + "name": "25% договор отправлен 2-4 неД", + "sort": 90, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311941" + } + } + }, + { + "id": 76311965, + "name": "Сроки подтверждены 1-2 НЕД.", + "sort": 100, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#98cbff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311965" + } + } + }, + { + "id": 76311929, + "name": "счет выставлен 1 нед", + "sort": 110, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311929" + } + } + }, + { + "id": 76311945, + "name": "Успех!!!)))РОП проверь", + "sort": 120, + "is_editable": true, + "pipeline_id": 9550189, + "color": "#fffeb2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/76311945" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 9550189, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 9550189, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9550189/statuses/143" + } + } + } + ] + } + }, + { + "id": 3628218, + "name": "Отгрузка с дебиторкой", + "sort": 8, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218" + } + }, + "_embedded": { + "statuses": [ + { + "id": 35465775, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 3628218, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/35465775" + } + } + }, + { + "id": 35465778, + "name": "предоплата/пост оплата", + "sort": 20, + "is_editable": true, + "pipeline_id": 3628218, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/35465778" + } + } + }, + { + "id": 35465781, + "name": "отправь закупщику", + "sort": 30, + "is_editable": true, + "pipeline_id": 3628218, + "color": "#ebffb1", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/35465781" + } + } + }, + { + "id": 61332921, + "name": "21 день до оплаты", + "sort": 40, + "is_editable": true, + "pipeline_id": 3628218, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/61332921" + } + } + }, + { + "id": 41977140, + "name": "14 дней до оплаты", + "sort": 50, + "is_editable": true, + "pipeline_id": 3628218, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/41977140" + } + } + }, + { + "id": 41977143, + "name": "7 дней до оплаты", + "sort": 60, + "is_editable": true, + "pipeline_id": 3628218, + "color": "#ffeab2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/41977143" + } + } + }, + { + "id": 41977191, + "name": "3 дня до оплаты", + "sort": 70, + "is_editable": true, + "pipeline_id": 3628218, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/41977191" + } + } + }, + { + "id": 41977194, + "name": "ПРИБЫЛ! 2 дня чтобы оплатить", + "sort": 80, + "is_editable": true, + "pipeline_id": 3628218, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/41977194" + } + } + }, + { + "id": 41977137, + "name": "просрочка", + "sort": 90, + "is_editable": true, + "pipeline_id": 3628218, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/41977137" + } + } + }, + { + "id": 142, + "name": "Полностью оплачено", + "sort": 10000, + "is_editable": false, + "pipeline_id": 3628218, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/142" + } + } + }, + { + "id": 143, + "name": "возврат/ отмена ", + "sort": 11000, + "is_editable": false, + "pipeline_id": 3628218, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3628218/statuses/143" + } + } + } + ] + } + }, + { + "id": 4063281, + "name": "Фермеры КВАЛ", + "sort": 9, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281" + } + }, + "_embedded": { + "statuses": [ + { + "id": 38502606, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 4063281, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/38502606" + } + } + }, + { + "id": 75456725, + "name": "Для ропа", + "sort": 20, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#deff81", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/75456725" + } + } + }, + { + "id": 71162569, + "name": "Хочу закрыть в биржу", + "sort": 30, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#e6e8ea", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/71162569" + } + } + }, + { + "id": 76693133, + "name": "НЕало", + "sort": 40, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/76693133" + } + } + }, + { + "id": 75456729, + "name": "Разобрать", + "sort": 50, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/75456729" + } + } + }, + { + "id": 71335377, + "name": "закупка раз в 2 года", + "sort": 60, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/71335377" + } + } + }, + { + "id": 38502609, + "name": "12 месяцев", + "sort": 70, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#98cbff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/38502609" + } + } + }, + { + "id": 76247033, + "name": "10 месяцев", + "sort": 80, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/76247033" + } + } + }, + { + "id": 76247037, + "name": "8 месяцев", + "sort": 90, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/76247037" + } + } + }, + { + "id": 38502615, + "name": "6 месяцев", + "sort": 100, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#98cbff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/38502615" + } + } + }, + { + "id": 76247041, + "name": "5 месяцев", + "sort": 110, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/76247041" + } + } + }, + { + "id": 76247045, + "name": "4 месяца", + "sort": 120, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/76247045" + } + } + }, + { + "id": 38502666, + "name": "контакт 8-12 нед. до покупки", + "sort": 130, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/38502666" + } + } + }, + { + "id": 40855443, + "name": "дата согласована 4-8 недель", + "sort": 140, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#ffdc7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/40855443" + } + } + }, + { + "id": 75456781, + "name": "Заказ согласован 2-4 недели", + "sort": 150, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/75456781" + } + } + }, + { + "id": 38502672, + "name": "счет отправлен 2 недели", + "sort": 160, + "is_editable": true, + "pipeline_id": 4063281, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/38502672" + } + } + }, + { + "id": 142, + "name": "Счет оплачен", + "sort": 10000, + "is_editable": false, + "pipeline_id": 4063281, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/142" + } + } + }, + { + "id": 143, + "name": "счет АННУЛИРОВАН/нецелевой", + "sort": 11000, + "is_editable": false, + "pipeline_id": 4063281, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4063281/statuses/143" + } + } + } + ] + } + }, + { + "id": 9498129, + "name": "Фермеры НЕквал", + "sort": 10, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129" + } + }, + "_embedded": { + "statuses": [ + { + "id": 75955333, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 9498129, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955333" + } + } + }, + { + "id": 75955389, + "name": "для ропа", + "sort": 20, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#ebffb1", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955389" + } + } + }, + { + "id": 75955377, + "name": "Хочу закрыть в биржу", + "sort": 30, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#e6e8ea", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955377" + } + } + }, + { + "id": 76693137, + "name": "НЕАЛО", + "sort": 40, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/76693137" + } + } + }, + { + "id": 75955385, + "name": "Разобрать", + "sort": 50, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955385" + } + } + }, + { + "id": 75955381, + "name": "закупка раз в 2 года", + "sort": 60, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955381" + } + } + }, + { + "id": 75955337, + "name": "12 месяцев", + "sort": 70, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#c1e0ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955337" + } + } + }, + { + "id": 76246377, + "name": "10 месяцев", + "sort": 80, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/76246377" + } + } + }, + { + "id": 76246381, + "name": "8 месяцев", + "sort": 90, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/76246381" + } + } + }, + { + "id": 75955353, + "name": "6 месяцев", + "sort": 100, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#c1e0ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955353" + } + } + }, + { + "id": 76246385, + "name": "5 месяцев", + "sort": 110, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/76246385" + } + } + }, + { + "id": 76246389, + "name": "4 месяца", + "sort": 120, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/76246389" + } + } + }, + { + "id": 75955341, + "name": "контакт 8-12 нед. до покупки", + "sort": 130, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#f3beff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955341" + } + } + }, + { + "id": 75955369, + "name": "дата согласована 4-8 недель", + "sort": 140, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955369" + } + } + }, + { + "id": 75955393, + "name": "Заказ согласован 2-4 недели", + "sort": 150, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955393" + } + } + }, + { + "id": 75955365, + "name": "Счет выставлен 2 недели", + "sort": 160, + "is_editable": true, + "pipeline_id": 9498129, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/75955365" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 9498129, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 9498129, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9498129/statuses/143" + } + } + } + ] + } + }, + { + "id": 3698436, + "name": "ТОРГАШИ", + "sort": 11, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436" + } + }, + "_embedded": { + "statuses": [ + { + "id": 35947497, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 3698436, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436/statuses/35947497" + } + } + }, + { + "id": 37556328, + "name": "КЭВ назначен", + "sort": 20, + "is_editable": true, + "pipeline_id": 3698436, + "color": "#f2f3f4", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436/statuses/37556328" + } + } + }, + { + "id": 44674386, + "name": "неало", + "sort": 30, + "is_editable": true, + "pipeline_id": 3698436, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436/statuses/44674386" + } + } + }, + { + "id": 35947503, + "name": "кэв состоялся", + "sort": 40, + "is_editable": true, + "pipeline_id": 3698436, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436/statuses/35947503" + } + } + }, + { + "id": 36006519, + "name": "Договор отправлен", + "sort": 50, + "is_editable": true, + "pipeline_id": 3698436, + "color": "#ebffb1", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436/statuses/36006519" + } + } + }, + { + "id": 39233313, + "name": "счет выставлен", + "sort": 60, + "is_editable": true, + "pipeline_id": 3698436, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436/statuses/39233313" + } + } + }, + { + "id": 142, + "name": "счет оплачен", + "sort": 10000, + "is_editable": false, + "pipeline_id": 3698436, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 3698436, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3698436/statuses/143" + } + } + } + ] + } + }, + { + "id": 3711948, + "name": "ТОРГАШИ.Фермеры", + "sort": 12, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3711948" + } + }, + "_embedded": { + "statuses": [ + { + "id": 36042285, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 3711948, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3711948/statuses/36042285" + } + } + }, + { + "id": 36042288, + "name": "Разобрать", + "sort": 20, + "is_editable": true, + "pipeline_id": 3711948, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3711948/statuses/36042288" + } + } + }, + { + "id": 36042312, + "name": "заявка получена", + "sort": 30, + "is_editable": true, + "pipeline_id": 3711948, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3711948/statuses/36042312" + } + } + }, + { + "id": 38522502, + "name": "заказ согласован", + "sort": 40, + "is_editable": true, + "pipeline_id": 3711948, + "color": "#ebffb1", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3711948/statuses/38522502" + } + } + }, + { + "id": 36042315, + "name": "счет выставлен", + "sort": 50, + "is_editable": true, + "pipeline_id": 3711948, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3711948/statuses/36042315" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 3711948, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3711948/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 3711948, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3711948/statuses/143" + } + } + } + ] + } + }, + { + "id": 4128420, + "name": "ОТГРУЗКА", + "sort": 13, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420" + } + }, + "_embedded": { + "statuses": [ + { + "id": 38960598, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 4128420, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/38960598" + } + } + }, + { + "id": 38960601, + "name": "заказать товар", + "sort": 20, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/38960601" + } + } + }, + { + "id": 39055440, + "name": "Внес в список закупок", + "sort": 30, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#ebffb1", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/39055440" + } + } + }, + { + "id": 39014457, + "name": "отгрузочные доки сделаны", + "sort": 40, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#f3beff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/39014457" + } + } + }, + { + "id": 38968920, + "name": "заявка оформлена", + "sort": 50, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#f9deff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/38968920" + } + } + }, + { + "id": 39014460, + "name": "сканы упд отправлены на тк", + "sort": 60, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/39014460" + } + } + }, + { + "id": 39014454, + "name": "скинул заявку водителю", + "sort": 70, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/39014454" + } + } + }, + { + "id": 38960607, + "name": "сдан на тк/блок на отправку", + "sort": 80, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#ffdc7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/38960607" + } + } + }, + { + "id": 39509337, + "name": "груз поехал", + "sort": 90, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/39509337" + } + } + }, + { + "id": 39016791, + "name": "5 дней до прибытия", + "sort": 100, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#f2f3f4", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/39016791" + } + } + }, + { + "id": 39016794, + "name": "1 день до прибытия", + "sort": 110, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/39016794" + } + } + }, + { + "id": 55916729, + "name": "платит клиент", + "sort": 120, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/55916729" + } + } + }, + { + "id": 39145119, + "name": "груз прибыл", + "sort": 130, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#deff81", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/39145119" + } + } + }, + { + "id": 49808874, + "name": "Везем на адрес", + "sort": 140, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/49808874" + } + } + }, + { + "id": 68784749, + "name": "оплата по упд", + "sort": 150, + "is_editable": true, + "pipeline_id": 4128420, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/68784749" + } + } + }, + { + "id": 142, + "name": "ТК оплачено", + "sort": 10000, + "is_editable": false, + "pipeline_id": 4128420, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 4128420, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128420/statuses/143" + } + } + } + ] + } + }, + { + "id": 3741264, + "name": "КЦ Прайс отправлен", + "sort": 14, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3741264" + } + }, + "_embedded": { + "statuses": [ + { + "id": 36247722, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 3741264, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3741264/statuses/36247722" + } + } + }, + { + "id": 36247725, + "name": "Квал прошел/прайс отправлен", + "sort": 20, + "is_editable": true, + "pipeline_id": 3741264, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3741264/statuses/36247725" + } + } + }, + { + "id": 36488133, + "name": "нет ответа", + "sort": 30, + "is_editable": true, + "pipeline_id": 3741264, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3741264/statuses/36488133" + } + } + }, + { + "id": 36488130, + "name": "есть ответ", + "sort": 40, + "is_editable": true, + "pipeline_id": 3741264, + "color": "#fffeb2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3741264/statuses/36488130" + } + } + }, + { + "id": 142, + "name": "Звонок согласован", + "sort": 10000, + "is_editable": false, + "pipeline_id": 3741264, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3741264/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 3741264, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3741264/statuses/143" + } + } + } + ] + } + }, + { + "id": 4132437, + "name": "Найм", + "sort": 15, + "is_main": false, + "is_unsorted_on": false, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437" + } + }, + "_embedded": { + "statuses": [ + { + "id": 38988813, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 4132437, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/38988813" + } + } + }, + { + "id": 38988816, + "name": "Отбор резюме прошел", + "sort": 20, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/38988816" + } + } + }, + { + "id": 77164557, + "name": "Без действий (временно)", + "sort": 30, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/77164557" + } + } + }, + { + "id": 63800169, + "name": "Для объединения", + "sort": 40, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/63800169" + } + } + }, + { + "id": 63937365, + "name": "Оффер отправлен", + "sort": 50, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/63937365" + } + } + }, + { + "id": 45439365, + "name": "Голосовое отправлено", + "sort": 60, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#f9deff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/45439365" + } + } + }, + { + "id": 75888501, + "name": "Анкета Отправлена", + "sort": 70, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ffeab2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/75888501" + } + } + }, + { + "id": 59201773, + "name": "Анкету проверь", + "sort": 80, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#deff81", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/59201773" + } + } + }, + { + "id": 77268021, + "name": "с Хантера на кэвника", + "sort": 90, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/77268021" + } + } + }, + { + "id": 77269053, + "name": "оффер с хантера на кэвника", + "sort": 100, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#fffeb2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/77269053" + } + } + }, + { + "id": 67329469, + "name": "Анкета пройдена успешно", + "sort": 110, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/67329469" + } + } + }, + { + "id": 62787833, + "name": "Тест dick отправлен", + "sort": 120, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/62787833" + } + } + }, + { + "id": 62781569, + "name": "Тест IQ отправлен (просим почту)", + "sort": 130, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/62781569" + } + } + }, + { + "id": 39057672, + "name": "зум №1 назначен", + "sort": 140, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#fff000", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/39057672" + } + } + }, + { + "id": 39057675, + "name": "Зум №1 прошел", + "sort": 150, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ebffb1", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/39057675" + } + } + }, + { + "id": 76928877, + "name": "тест назначен", + "sort": 160, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#f9deff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/76928877" + } + } + }, + { + "id": 73984161, + "name": "Тест прошёл", + "sort": 170, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/73984161" + } + } + }, + { + "id": 39057678, + "name": "Зум №2 назначен", + "sort": 180, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/39057678" + } + } + }, + { + "id": 39057681, + "name": "ЗУм №2 прошел", + "sort": 190, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#fffeb2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/39057681" + } + } + }, + { + "id": 45974895, + "name": "Биржа: бот", + "sort": 200, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/45974895" + } + } + }, + { + "id": 53260849, + "name": "Подготовка доков", + "sort": 210, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/53260849" + } + } + }, + { + "id": 44263848, + "name": "папку КЭВника начал", + "sort": 220, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/44263848" + } + } + }, + { + "id": 52080330, + "name": "Папку кэвника закончил", + "sort": 230, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/52080330" + } + } + }, + { + "id": 52080333, + "name": "Испыт Кэвника начал", + "sort": 240, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/52080333" + } + } + }, + { + "id": 52080336, + "name": "Папку хантер начал", + "sort": 250, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/52080336" + } + } + }, + { + "id": 64696017, + "name": "Папку ассиса ОП начал", + "sort": 260, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/64696017" + } + } + }, + { + "id": 67441713, + "name": "Обучение закончил!", + "sort": 270, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#fff000", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/67441713" + } + } + }, + { + "id": 39057690, + "name": "испытательный срок начал", + "sort": 280, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/39057690" + } + } + }, + { + "id": 64321789, + "name": "дата сдачи скрипта назначена", + "sort": 290, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/64321789" + } + } + }, + { + "id": 64321793, + "name": "Скрипт сдал", + "sort": 300, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/64321793" + } + } + }, + { + "id": 64321797, + "name": "1 неделя", + "sort": 310, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/64321797" + } + } + }, + { + "id": 64321801, + "name": "2 неделя", + "sort": 320, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/64321801" + } + } + }, + { + "id": 64321805, + "name": "3неделя", + "sort": 330, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/64321805" + } + } + }, + { + "id": 64321809, + "name": "4 неделя", + "sort": 340, + "is_editable": true, + "pipeline_id": 4132437, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/64321809" + } + } + }, + { + "id": 142, + "name": "Испытательный срок прошёл", + "sort": 10000, + "is_editable": false, + "pipeline_id": 4132437, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 4132437, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4132437/statuses/143" + } + } + } + ] + } + }, + { + "id": 4181520, + "name": "Биржа фермеры", + "sort": 16, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520" + } + }, + "_embedded": { + "statuses": [ + { + "id": 39334851, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 4181520, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/39334851" + } + } + }, + { + "id": 45910638, + "name": "Говнище", + "sort": 20, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/45910638" + } + } + }, + { + "id": 76149273, + "name": "все в куче по новым причинам", + "sort": 30, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/76149273" + } + } + }, + { + "id": 79059637, + "name": "Умер как лиент", + "sort": 40, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/79059637" + } + } + }, + { + "id": 45488334, + "name": "нецелевой", + "sort": 50, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/45488334" + } + } + }, + { + "id": 39955191, + "name": "ТОргаши (БЕЗ магазинов)", + "sort": 60, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#f3beff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/39955191" + } + } + }, + { + "id": 73701881, + "name": "Прозвон оператора", + "sort": 70, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/73701881" + } + } + }, + { + "id": 77914313, + "name": "Неало Оператор", + "sort": 80, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/77914313" + } + } + }, + { + "id": 73753893, + "name": "Не кэв( по срокам)", + "sort": 90, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/73753893" + } + } + }, + { + "id": 39953334, + "name": "загас", + "sort": 100, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/39953334" + } + } + }, + { + "id": 41236947, + "name": "брак", + "sort": 110, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/41236947" + } + } + }, + { + "id": 45488331, + "name": "условия оплаты", + "sort": 120, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#e6e8ea", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/45488331" + } + } + }, + { + "id": 45488337, + "name": "дорого", + "sort": 130, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#f9deff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/45488337" + } + } + }, + { + "id": 45488340, + "name": "не подходит продукт", + "sort": 140, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/45488340" + } + } + }, + { + "id": 45488343, + "name": "долго", + "sort": 150, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#f2f3f4", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/45488343" + } + } + }, + { + "id": 45488346, + "name": "мямли или Сроки дохуища", + "sort": 160, + "is_editable": true, + "pipeline_id": 4181520, + "color": "#ffeab2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/45488346" + } + } + }, + { + "id": 142, + "name": "реанимировано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 4181520, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 4181520, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4181520/statuses/143" + } + } + } + ] + } + }, + { + "id": 1937997, + "name": "Тесты амо", + "sort": 17, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997" + } + }, + "_embedded": { + "statuses": [ + { + "id": 29070870, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 1937997, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/29070870" + } + } + }, + { + "id": 36510345, + "name": "без действий", + "sort": 20, + "is_editable": true, + "pipeline_id": 1937997, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/36510345" + } + } + }, + { + "id": 69992137, + "name": "Нужное Тане", + "sort": 30, + "is_editable": true, + "pipeline_id": 1937997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/69992137" + } + } + }, + { + "id": 51536613, + "name": "Хантеры", + "sort": 40, + "is_editable": true, + "pipeline_id": 1937997, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/51536613" + } + } + }, + { + "id": 51536757, + "name": "исправь ошибки", + "sort": 50, + "is_editable": true, + "pipeline_id": 1937997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/51536757" + } + } + }, + { + "id": 65984365, + "name": "ФИЛЬТРА", + "sort": 60, + "is_editable": true, + "pipeline_id": 1937997, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/65984365" + } + } + }, + { + "id": 62498073, + "name": "Танино говно", + "sort": 70, + "is_editable": true, + "pipeline_id": 1937997, + "color": "#e6e8ea", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/62498073" + } + } + }, + { + "id": 142, + "name": "прошел проверку ", + "sort": 10000, + "is_editable": false, + "pipeline_id": 1937997, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 1937997, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937997/statuses/143" + } + } + } + ] + } + }, + { + "id": 8310797, + "name": "Спецтехника", + "sort": 18, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797" + } + }, + "_embedded": { + "statuses": [ + { + "id": 67767257, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8310797, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/67767257" + } + } + }, + { + "id": 67767261, + "name": "новая заявка", + "sort": 20, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/67767261" + } + } + }, + { + "id": 76203437, + "name": "АКТУАЛИЗИРУЙ СРОКИ!", + "sort": 30, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/76203437" + } + } + }, + { + "id": 67767269, + "name": "квал прошел 6 мес", + "sort": 40, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/67767269" + } + } + }, + { + "id": 76155001, + "name": "Квал прошел 4-6 мес", + "sort": 50, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/76155001" + } + } + }, + { + "id": 67987357, + "name": "подбор поставщика", + "sort": 60, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/67987357" + } + } + }, + { + "id": 67987361, + "name": "КП отправлено 3-4 мес", + "sort": 70, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/67987361" + } + } + }, + { + "id": 76155005, + "name": "КП отправлено 8-12 нед", + "sort": 80, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/76155005" + } + } + }, + { + "id": 68200673, + "name": "КП рассмотрено", + "sort": 90, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/68200673" + } + } + }, + { + "id": 68173533, + "name": "лизинг расчитан 4-8 нед", + "sort": 100, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/68173533" + } + } + }, + { + "id": 69470733, + "name": "запрошены доки на лизинг", + "sort": 110, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/69470733" + } + } + }, + { + "id": 69482477, + "name": "Доки получены 2-4 нед", + "sort": 120, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/69482477" + } + } + }, + { + "id": 69470737, + "name": "лизинг одобрен 1-2 нед", + "sort": 130, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/69470737" + } + } + }, + { + "id": 69482481, + "name": "согласие на договор получено 1 нед", + "sort": 140, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/69482481" + } + } + }, + { + "id": 68234445, + "name": "договор заключен", + "sort": 150, + "is_editable": true, + "pipeline_id": 8310797, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/68234445" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8310797, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8310797, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8310797/statuses/143" + } + } + } + ] + } + }, + { + "id": 8521997, + "name": "Спецтехника Биржа", + "sort": 19, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997" + } + }, + "_embedded": { + "statuses": [ + { + "id": 69239953, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8521997, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/69239953" + } + } + }, + { + "id": 69239957, + "name": "СРОКИ", + "sort": 20, + "is_editable": true, + "pipeline_id": 8521997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/69239957" + } + } + }, + { + "id": 75010893, + "name": "СРОКИ (Больше года)", + "sort": 30, + "is_editable": true, + "pipeline_id": 8521997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/75010893" + } + } + }, + { + "id": 73611297, + "name": "Дешвеле 9 млн", + "sort": 40, + "is_editable": true, + "pipeline_id": 8521997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/73611297" + } + } + }, + { + "id": 69653817, + "name": "Загас", + "sort": 50, + "is_editable": true, + "pipeline_id": 8521997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/69653817" + } + } + }, + { + "id": 73405393, + "name": "НЕ ЛИЗИНГ", + "sort": 60, + "is_editable": true, + "pipeline_id": 8521997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/73405393" + } + } + }, + { + "id": 74342145, + "name": "НЕ ЛПР", + "sort": 70, + "is_editable": true, + "pipeline_id": 8521997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/74342145" + } + } + }, + { + "id": 72222013, + "name": "через тендеры", + "sort": 80, + "is_editable": true, + "pipeline_id": 8521997, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/72222013" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8521997, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8521997, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8521997/statuses/143" + } + } + } + ] + } + }, + { + "id": 8754789, + "name": "Спецтехника НЕКВАЛ", + "sort": 20, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8754789" + } + }, + "_embedded": { + "statuses": [ + { + "id": 70848817, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8754789, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8754789/statuses/70848817" + } + } + }, + { + "id": 71463461, + "name": "НЕ АЛО", + "sort": 20, + "is_editable": true, + "pipeline_id": 8754789, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8754789/statuses/71463461" + } + } + }, + { + "id": 71164097, + "name": "повторный квал", + "sort": 30, + "is_editable": true, + "pipeline_id": 8754789, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8754789/statuses/71164097" + } + } + }, + { + "id": 70848825, + "name": "меньше 5 млн", + "sort": 40, + "is_editable": true, + "pipeline_id": 8754789, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8754789/statuses/70848825" + } + } + }, + { + "id": 70848829, + "name": "нет таких брендов", + "sort": 50, + "is_editable": true, + "pipeline_id": 8754789, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8754789/statuses/70848829" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8754789, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8754789/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8754789, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8754789/statuses/143" + } + } + } + ] + } + }, + { + "id": 8831281, + "name": "Спецтехника ПОВТОРНИКИ", + "sort": 21, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281" + } + }, + "_embedded": { + "statuses": [ + { + "id": 71372357, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8831281, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372357" + } + } + }, + { + "id": 71372361, + "name": "Повторная квалификация", + "sort": 20, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372361" + } + } + }, + { + "id": 71372777, + "name": "ОТЛОЖЕННЫЙ СПРОС", + "sort": 30, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372777" + } + } + }, + { + "id": 71372365, + "name": "Подбор поставщика", + "sort": 40, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372365" + } + } + }, + { + "id": 71372369, + "name": "КП ОТПРАВЛЕНО", + "sort": 50, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372369" + } + } + }, + { + "id": 71372781, + "name": "КП РАССМОТРЕНО", + "sort": 60, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372781" + } + } + }, + { + "id": 71372785, + "name": "ЛИЗИНГ РАСЧИТАН", + "sort": 70, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372785" + } + } + }, + { + "id": 71372789, + "name": "Запрошены доки на лизинг", + "sort": 80, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372789" + } + } + }, + { + "id": 71372793, + "name": "ЛИЗИНГ ОДОБРЕН", + "sort": 90, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372793" + } + } + }, + { + "id": 71372797, + "name": "СОГЛАСИЕ НА ДОГОВОР ПОЛУЧЕНО", + "sort": 100, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372797" + } + } + }, + { + "id": 71372801, + "name": "ДОГОВОР ЗАКЛЮЧЕН", + "sort": 110, + "is_editable": true, + "pipeline_id": 8831281, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/71372801" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8831281, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8831281, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8831281/statuses/143" + } + } + } + ] + } + }, + { + "id": 9773905, + "name": "Найм Медсестер", + "sort": 22, + "is_main": false, + "is_unsorted_on": false, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905" + } + }, + "_embedded": { + "statuses": [ + { + "id": 77830057, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 9773905, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/77830057" + } + } + }, + { + "id": 78583213, + "name": "без действий", + "sort": 20, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/78583213" + } + } + }, + { + "id": 77830061, + "name": "Отбор резюме прошёл мед", + "sort": 30, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/77830061" + } + } + }, + { + "id": 79109713, + "name": "Анкету прошел", + "sort": 40, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/79109713" + } + } + }, + { + "id": 77830065, + "name": "Оффер отправлен мед", + "sort": 50, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/77830065" + } + } + }, + { + "id": 78664009, + "name": "Биржа мед", + "sort": 60, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/78664009" + } + } + }, + { + "id": 77830069, + "name": "Согласие отправлено мед", + "sort": 70, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/77830069" + } + } + }, + { + "id": 78499233, + "name": "Согласие принято мед", + "sort": 80, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/78499233" + } + } + }, + { + "id": 78499237, + "name": "Зум №1 назначен мед", + "sort": 90, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/78499237" + } + } + }, + { + "id": 78499241, + "name": "Зум №1 прошёл мед", + "sort": 100, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/78499241" + } + } + }, + { + "id": 78499245, + "name": "Документы получены мед", + "sort": 110, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/78499245" + } + } + }, + { + "id": 78499249, + "name": "Документы прошли верификацию мед", + "sort": 120, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/78499249" + } + } + }, + { + "id": 78499253, + "name": "Договор подписан мед", + "sort": 130, + "is_editable": true, + "pipeline_id": 9773905, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/78499253" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 9773905, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 9773905, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773905/statuses/143" + } + } + } + ] + } + }, + { + "id": 6237869, + "name": "Тендеры", + "sort": 23, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869" + } + }, + "_embedded": { + "statuses": [ + { + "id": 53759353, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 6237869, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/53759353" + } + } + }, + { + "id": 53759357, + "name": "Куча говна", + "sort": 20, + "is_editable": true, + "pipeline_id": 6237869, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/53759357" + } + } + }, + { + "id": 53759365, + "name": "Пробуем", + "sort": 30, + "is_editable": true, + "pipeline_id": 6237869, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/53759365" + } + } + }, + { + "id": 53759489, + "name": "Закупщик посчитал, техничку вложил", + "sort": 40, + "is_editable": true, + "pipeline_id": 6237869, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/53759489" + } + } + }, + { + "id": 53759493, + "name": "логист посчитал", + "sort": 50, + "is_editable": true, + "pipeline_id": 6237869, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/53759493" + } + } + }, + { + "id": 53759501, + "name": "деньги есть. берем", + "sort": 60, + "is_editable": true, + "pipeline_id": 6237869, + "color": "#f3beff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/53759501" + } + } + }, + { + "id": 53824745, + "name": "Заявка заполнена", + "sort": 70, + "is_editable": true, + "pipeline_id": 6237869, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/53824745" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 6237869, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 6237869, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/6237869/statuses/143" + } + } + } + ] + } + }, + { + "id": 9967853, + "name": "Найм Врачей", + "sort": 24, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853" + } + }, + "_embedded": { + "statuses": [ + { + "id": 79135937, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 9967853, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79135937" + } + } + }, + { + "id": 79135941, + "name": "Отбор резюме прошел врач", + "sort": 20, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79135941" + } + } + }, + { + "id": 79554233, + "name": "Написала", + "sort": 30, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79554233" + } + } + }, + { + "id": 79586349, + "name": "нет телефона или мессенджера", + "sort": 40, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79586349" + } + } + }, + { + "id": 79135945, + "name": "анкета отправлена", + "sort": 50, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79135945" + } + } + }, + { + "id": 79135949, + "name": "анкета пройдена", + "sort": 60, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79135949" + } + } + }, + { + "id": 79136041, + "name": "Интервью прошел", + "sort": 70, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79136041" + } + } + }, + { + "id": 79136045, + "name": "Готов работать", + "sort": 80, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79136045" + } + } + }, + { + "id": 79312525, + "name": "Предложение отправлено", + "sort": 90, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79312525" + } + } + }, + { + "id": 79312529, + "name": "Предложение принято", + "sort": 100, + "is_editable": true, + "pipeline_id": 9967853, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/79312529" + } + } + }, + { + "id": 142, + "name": "успешно", + "sort": 10000, + "is_editable": false, + "pipeline_id": 9967853, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 9967853, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9967853/statuses/143" + } + } + } + ] + } + }, + { + "id": 9773913, + "name": "УколДом", + "sort": 25, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773913" + } + }, + "_embedded": { + "statuses": [ + { + "id": 77830105, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 9773913, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773913/statuses/77830105" + } + } + }, + { + "id": 78542245, + "name": "новое обращение", + "sort": 20, + "is_editable": true, + "pipeline_id": 9773913, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773913/statuses/78542245" + } + } + }, + { + "id": 78488741, + "name": "Договор подписан", + "sort": 30, + "is_editable": true, + "pipeline_id": 9773913, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773913/statuses/78488741" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 9773913, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773913/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 9773913, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/9773913/statuses/143" + } + } + } + ] + } + }, + { + "id": 4128465, + "name": "ОКК", + "sort": 26, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128465" + } + }, + "_embedded": { + "statuses": [ + { + "id": 38960922, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 4128465, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128465/statuses/38960922" + } + } + }, + { + "id": 38960925, + "name": "груз получен", + "sort": 20, + "is_editable": true, + "pipeline_id": 4128465, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128465/statuses/38960925" + } + } + }, + { + "id": 49062774, + "name": "Реанимировано из Биржи", + "sort": 30, + "is_editable": true, + "pipeline_id": 4128465, + "color": "#f3beff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128465/statuses/49062774" + } + } + }, + { + "id": 142, + "name": "NPS собран", + "sort": 10000, + "is_editable": false, + "pipeline_id": 4128465, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128465/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 4128465, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4128465/statuses/143" + } + } + } + ] + } + }, + { + "id": 7229953, + "name": "Биржа Хантеры ОБЩАЯ ДЛЯ РОПОВ", + "sort": 27, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953" + } + }, + "_embedded": { + "statuses": [ + { + "id": 60321225, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 7229953, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/60321225" + } + } + }, + { + "id": 60321229, + "name": "Биржа", + "sort": 20, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/60321229" + } + } + }, + { + "id": 69658381, + "name": "ГОВНОМЕСЫ", + "sort": 30, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/69658381" + } + } + }, + { + "id": 60321257, + "name": "ДО ПОКУПКИ 90 ДНЕЙ", + "sort": 40, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/60321257" + } + } + }, + { + "id": 60321261, + "name": "ДО ПОКУПКИ 60 ДНЕЙ", + "sort": 50, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#ffeab2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/60321261" + } + } + }, + { + "id": 64735537, + "name": "Звонок оператора(биржа)", + "sort": 60, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/64735537" + } + } + }, + { + "id": 67644913, + "name": "Созвон на неделе (биржа)", + "sort": 70, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#ccc8f9", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/67644913" + } + } + }, + { + "id": 67600621, + "name": "неало (биржа)", + "sort": 80, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#f9deff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/67600621" + } + } + }, + { + "id": 67634033, + "name": "полное неало", + "sort": 90, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/67634033" + } + } + }, + { + "id": 60321233, + "name": "до покупки 180 дней", + "sort": 100, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/60321233" + } + } + }, + { + "id": 60321237, + "name": "ДО ПОКУПКИ 150 ДНЕй", + "sort": 110, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/60321237" + } + } + }, + { + "id": 60321253, + "name": "ДО ПОКУПКИ 120 ДНЕЙ", + "sort": 120, + "is_editable": true, + "pipeline_id": 7229953, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/60321253" + } + } + }, + { + "id": 142, + "name": "Успешно РЕАНИМИРОВАНО", + "sort": 10000, + "is_editable": false, + "pipeline_id": 7229953, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 7229953, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7229953/statuses/143" + } + } + } + ] + } + }, + { + "id": 8440261, + "name": "Хантеры квал Биржевые в работе", + "sort": 28, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261" + } + }, + "_embedded": { + "statuses": [ + { + "id": 68669805, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 8440261, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68669805" + } + } + }, + { + "id": 68669809, + "name": "рАЗОБРАТЬ БИРЖУ ИЗ БИРЖИ", + "sort": 20, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68669809" + } + } + }, + { + "id": 68669813, + "name": "ТК ПРОСЧИТАНА ИЗ БИРЖИ", + "sort": 30, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68669813" + } + } + }, + { + "id": 68669817, + "name": "КЭВ НЕАЛО ИЗ БИРЖИ", + "sort": 40, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68669817" + } + } + }, + { + "id": 68670669, + "name": "КЭВ СОСтОЛСЯ ИЗ БИРЖИ", + "sort": 50, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#d6eaff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68670669" + } + } + }, + { + "id": 68670673, + "name": "реквизиты получены ИЗ БИРЖИ", + "sort": 60, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68670673" + } + } + }, + { + "id": 68670677, + "name": "договор отправлен ИЗ БИРЖИ", + "sort": 70, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68670677" + } + } + }, + { + "id": 68670681, + "name": "ДО ПОКУПКИ 30 ДНЕЙ ИЗ БИРЖИ", + "sort": 80, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68670681" + } + } + }, + { + "id": 68670685, + "name": "ДО ПОКУПКИ 15 ДНЕЙ ИЗ БИРЖИ", + "sort": 90, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68670685" + } + } + }, + { + "id": 68670689, + "name": "счет выставлен 10 дней ИЗ БИРЖИ", + "sort": 100, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68670689" + } + } + }, + { + "id": 68670693, + "name": "окк ИЗ БИРЖИ", + "sort": 110, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#f3beff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68670693" + } + } + }, + { + "id": 68670697, + "name": "УСПЕХ!!!)))РОП ПРОВЕРЬ ИЗ БИРЖИ", + "sort": 120, + "is_editable": true, + "pipeline_id": 8440261, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/68670697" + } + } + }, + { + "id": 142, + "name": "сделка из биржи", + "sort": 10000, + "is_editable": false, + "pipeline_id": 8440261, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/142" + } + } + }, + { + "id": 143, + "name": "сделка не состоялась из биржи", + "sort": 11000, + "is_editable": false, + "pipeline_id": 8440261, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/8440261/statuses/143" + } + } + } + ] + } + }, + { + "id": 4477476, + "name": "Школа продаж АвтоМасло", + "sort": 29, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4477476" + } + }, + "_embedded": { + "statuses": [ + { + "id": 41425878, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 4477476, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4477476/statuses/41425878" + } + } + }, + { + "id": 41425881, + "name": "Адепт", + "sort": 20, + "is_editable": true, + "pipeline_id": 4477476, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4477476/statuses/41425881" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 4477476, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4477476/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 4477476, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/4477476/statuses/143" + } + } + } + ] + } + }, + { + "id": 7969873, + "name": "WB 1.0 НАЙМ", + "sort": 30, + "is_main": false, + "is_unsorted_on": false, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873" + } + }, + "_embedded": { + "statuses": [ + { + "id": 65419137, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 7969873, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65419137" + } + } + }, + { + "id": 65419141, + "name": "отбор резюме прошёл", + "sort": 20, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65419141" + } + } + }, + { + "id": 65419145, + "name": "для объединения", + "sort": 30, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#ffce5a", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65419145" + } + } + }, + { + "id": 65436853, + "name": "Анкета отправлена WB", + "sort": 40, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#fffeb2", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65436853" + } + } + }, + { + "id": 65435121, + "name": "Анкета прошёл WB", + "sort": 50, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65435121" + } + } + }, + { + "id": 65419149, + "name": "тест iq WB", + "sort": 60, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65419149" + } + } + }, + { + "id": 65419601, + "name": "Тестовое задание начал", + "sort": 70, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65419601" + } + } + }, + { + "id": 65419593, + "name": "Зум 1 назначен", + "sort": 80, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65419593" + } + } + }, + { + "id": 65419597, + "name": "зум 1 прошёл", + "sort": 90, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#deff81", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65419597" + } + } + }, + { + "id": 65563477, + "name": "Тест от WB", + "sort": 100, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65563477" + } + } + }, + { + "id": 65530329, + "name": "тестовое задание закончил", + "sort": 110, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65530329" + } + } + }, + { + "id": 65419605, + "name": "Испыт начал", + "sort": 120, + "is_editable": true, + "pipeline_id": 7969873, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/65419605" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 7969873, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 7969873, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/7969873/statuses/143" + } + } + } + ] + } + }, + { + "id": 2030844, + "name": "Масло.Фермеры", + "sort": 31, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844" + } + }, + "_embedded": { + "statuses": [ + { + "id": 29721855, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 2030844, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/29721855" + } + } + }, + { + "id": 30171192, + "name": "знакомство", + "sort": 20, + "is_editable": true, + "pipeline_id": 2030844, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/30171192" + } + } + }, + { + "id": 34754907, + "name": "отгрузка", + "sort": 30, + "is_editable": true, + "pipeline_id": 2030844, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/34754907" + } + } + }, + { + "id": 34854189, + "name": "окк", + "sort": 40, + "is_editable": true, + "pipeline_id": 2030844, + "color": "#ff8f92", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/34854189" + } + } + }, + { + "id": 29721858, + "name": "Контакт запланирован", + "sort": 50, + "is_editable": true, + "pipeline_id": 2030844, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/29721858" + } + } + }, + { + "id": 29721861, + "name": "Заявка получена", + "sort": 60, + "is_editable": true, + "pipeline_id": 2030844, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/29721861" + } + } + }, + { + "id": 29725194, + "name": "Счет отправлен", + "sort": 70, + "is_editable": true, + "pipeline_id": 2030844, + "color": "#ffc8c8", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/29725194" + } + } + }, + { + "id": 142, + "name": "СЧЕТ ОПЛАЧЕН", + "sort": 10000, + "is_editable": false, + "pipeline_id": 2030844, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/142" + } + } + }, + { + "id": 143, + "name": "СЧЕТ АННУЛИРОВАН", + "sort": 11000, + "is_editable": false, + "pipeline_id": 2030844, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2030844/statuses/143" + } + } + } + ] + } + }, + { + "id": 1937232, + "name": "HR курсы", + "sort": 32, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232" + } + }, + "_embedded": { + "statuses": [ + { + "id": 29060604, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 1937232, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/29060604" + } + } + }, + { + "id": 29060607, + "name": "Новая заявка", + "sort": 20, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/29060607" + } + } + }, + { + "id": 36810507, + "name": "взяла в работу", + "sort": 30, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/36810507" + } + } + }, + { + "id": 34218981, + "name": "вышел на связь/КВАЛ ПРОЙДЕН", + "sort": 40, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#eb93ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/34218981" + } + } + }, + { + "id": 36369066, + "name": "кэв назначен/доступ открыт", + "sort": 50, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/36369066" + } + } + }, + { + "id": 36600444, + "name": "прошел регистрацию", + "sort": 60, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#fffd7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/36600444" + } + } + }, + { + "id": 36834969, + "name": "1 урок пройден", + "sort": 70, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/36834969" + } + } + }, + { + "id": 36834972, + "name": "2 урок пройден", + "sort": 80, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/36834972" + } + } + }, + { + "id": 29060613, + "name": "3 урока пройден", + "sort": 90, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/29060613" + } + } + }, + { + "id": 36834975, + "name": "обратная связь получена", + "sort": 100, + "is_editable": true, + "pipeline_id": 1937232, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/36834975" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 1937232, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 1937232, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1937232/statuses/143" + } + } + } + ] + } + }, + { + "id": 2307768, + "name": "ФЕРМЕРЫ БИРЖА", + "sort": 33, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2307768" + } + }, + "_embedded": { + "statuses": [ + { + "id": 31633338, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 2307768, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2307768/statuses/31633338" + } + } + }, + { + "id": 34903041, + "name": "до покупки 360 дней", + "sort": 20, + "is_editable": true, + "pipeline_id": 2307768, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2307768/statuses/34903041" + } + } + }, + { + "id": 34903044, + "name": "до покупки 270 дней", + "sort": 30, + "is_editable": true, + "pipeline_id": 2307768, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2307768/statuses/34903044" + } + } + }, + { + "id": 34903047, + "name": "до покупки 180 дней", + "sort": 40, + "is_editable": true, + "pipeline_id": 2307768, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2307768/statuses/34903047" + } + } + }, + { + "id": 34903050, + "name": "до покупки 90 дней", + "sort": 50, + "is_editable": true, + "pipeline_id": 2307768, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2307768/statuses/34903050" + } + } + }, + { + "id": 142, + "name": "До покупки осталось менее 60 дней", + "sort": 10000, + "is_editable": false, + "pipeline_id": 2307768, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2307768/statuses/142" + } + } + }, + { + "id": 143, + "name": "счет аннулирован", + "sort": 11000, + "is_editable": false, + "pipeline_id": 2307768, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/2307768/statuses/143" + } + } + } + ] + } + }, + { + "id": 1999590, + "name": "RENTUP. первый раз", + "sort": 34, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1999590" + } + }, + "_embedded": { + "statuses": [ + { + "id": 29513844, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 1999590, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1999590/statuses/29513844" + } + } + }, + { + "id": 29513847, + "name": "Новая заявка получена", + "sort": 20, + "is_editable": true, + "pipeline_id": 1999590, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1999590/statuses/29513847" + } + } + }, + { + "id": 29513850, + "name": "квалификация пройдена, ответственный назначен", + "sort": 30, + "is_editable": true, + "pipeline_id": 1999590, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1999590/statuses/29513850" + } + } + }, + { + "id": 29686896, + "name": "высланы доступы к дэмо КЭВ", + "sort": 40, + "is_editable": true, + "pipeline_id": 1999590, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1999590/statuses/29686896" + } + } + }, + { + "id": 29513853, + "name": "КЭВ СОСТОЯЛСЯ", + "sort": 50, + "is_editable": true, + "pipeline_id": 1999590, + "color": "#c1e0ff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1999590/statuses/29513853" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 1999590, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1999590/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 1999590, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1999590/statuses/143" + } + } + } + ] + } + }, + { + "id": 1564249, + "name": "БИРЖА ЛИДОВ", + "sort": 35, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1564249" + } + }, + "_embedded": { + "statuses": [ + { + "id": 23852689, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 1564249, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1564249/statuses/23852689" + } + } + }, + { + "id": 23852692, + "name": "Масло", + "sort": 20, + "is_editable": true, + "pipeline_id": 1564249, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1564249/statuses/23852692" + } + } + }, + { + "id": 25172736, + "name": "Склад", + "sort": 30, + "is_editable": true, + "pipeline_id": 1564249, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1564249/statuses/25172736" + } + } + }, + { + "id": 29833497, + "name": "Rentup", + "sort": 40, + "is_editable": true, + "pipeline_id": 1564249, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1564249/statuses/29833497" + } + } + }, + { + "id": 35116002, + "name": "снимал склад", + "sort": 50, + "is_editable": true, + "pipeline_id": 1564249, + "color": "#f9deff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1564249/statuses/35116002" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 1564249, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1564249/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 1564249, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1564249/statuses/143" + } + } + } + ] + } + }, + { + "id": 1613389, + "name": "МАСЛО.Мелкая тара", + "sort": 36, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389" + } + }, + "_embedded": { + "statuses": [ + { + "id": 24487864, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 1613389, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/24487864" + } + } + }, + { + "id": 24487867, + "name": "Квалификация", + "sort": 20, + "is_editable": true, + "pipeline_id": 1613389, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/24487867" + } + } + }, + { + "id": 28399980, + "name": "Звонок продажника", + "sort": 30, + "is_editable": true, + "pipeline_id": 1613389, + "color": "#fff000", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/28399980" + } + } + }, + { + "id": 28399983, + "name": "Озвучил КП", + "sort": 40, + "is_editable": true, + "pipeline_id": 1613389, + "color": "#87f2c0", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/28399983" + } + } + }, + { + "id": 28399986, + "name": "Повторный звонок", + "sort": 50, + "is_editable": true, + "pipeline_id": 1613389, + "color": "#ffdc7f", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/28399986" + } + } + }, + { + "id": 28399989, + "name": "Решение положительное", + "sort": 60, + "is_editable": true, + "pipeline_id": 1613389, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/28399989" + } + } + }, + { + "id": 24487870, + "name": "решение отрицательное", + "sort": 70, + "is_editable": true, + "pipeline_id": 1613389, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/24487870" + } + } + }, + { + "id": 24487873, + "name": "оплата прошла", + "sort": 80, + "is_editable": true, + "pipeline_id": 1613389, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/24487873" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 1613389, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 1613389, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/1613389/statuses/143" + } + } + } + ] + } + }, + { + "id": 3169260, + "name": "ЗАЛОГ СКЛАД", + "sort": 37, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3169260" + } + }, + "_embedded": { + "statuses": [ + { + "id": 32330964, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 3169260, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3169260/statuses/32330964" + } + } + }, + { + "id": 32330967, + "name": "Залог внесен", + "sort": 20, + "is_editable": true, + "pipeline_id": 3169260, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3169260/statuses/32330967" + } + } + }, + { + "id": 142, + "name": "оплата залогом", + "sort": 10000, + "is_editable": false, + "pipeline_id": 3169260, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3169260/statuses/142" + } + } + }, + { + "id": 143, + "name": "залог вернули", + "sort": 11000, + "is_editable": false, + "pipeline_id": 3169260, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/3169260/statuses/143" + } + } + } + ] + } + }, + { + "id": 5300715, + "name": "Отгрузка ТЕСТОВОЕ", + "sort": 38, + "is_main": false, + "is_unsorted_on": true, + "is_archive": true, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715" + } + }, + "_embedded": { + "statuses": [ + { + "id": 47232222, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 5300715, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715/statuses/47232222" + } + } + }, + { + "id": 47232225, + "name": "Счет оплачен дата подтверждена", + "sort": 20, + "is_editable": true, + "pipeline_id": 5300715, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715/statuses/47232225" + } + } + }, + { + "id": 47232228, + "name": "отгрузочные документы сделаны", + "sort": 30, + "is_editable": true, + "pipeline_id": 5300715, + "color": "#ffff99", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715/statuses/47232228" + } + } + }, + { + "id": 47232231, + "name": "заявка оформлена", + "sort": 40, + "is_editable": true, + "pipeline_id": 5300715, + "color": "#ffcc66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715/statuses/47232231" + } + } + }, + { + "id": 47232234, + "name": "сканы упд отправлены на тк", + "sort": 50, + "is_editable": true, + "pipeline_id": 5300715, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715/statuses/47232234" + } + } + }, + { + "id": 47232237, + "name": "скинул заявку водителю", + "sort": 60, + "is_editable": true, + "pipeline_id": 5300715, + "color": "#ffdbdb", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715/statuses/47232237" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 5300715, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 5300715, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/5300715/statuses/143" + } + } + } + ] + } + }, + { + "id": 10047453, + "name": "КЦ (закрытые)", + "sort": 39, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047453" + } + }, + "_embedded": { + "statuses": [ + { + "id": 79688101, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 10047453, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047453/statuses/79688101" + } + } + }, + { + "id": 79688105, + "name": "Первичный контакт", + "sort": 20, + "is_editable": true, + "pipeline_id": 10047453, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047453/statuses/79688105" + } + } + }, + { + "id": 142, + "name": "Полный не ало", + "sort": 10000, + "is_editable": false, + "pipeline_id": 10047453, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047453/statuses/142" + } + } + }, + { + "id": 143, + "name": "Хз кто", + "sort": 11000, + "is_editable": false, + "pipeline_id": 10047453, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047453/statuses/143" + } + } + } + ] + } + }, + { + "id": 10047473, + "name": "КЦ НЕквал (закрытые)", + "sort": 40, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047473" + } + }, + "_embedded": { + "statuses": [ + { + "id": 79688261, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 10047473, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047473/statuses/79688261" + } + } + }, + { + "id": 79688265, + "name": "Первичный контакт", + "sort": 20, + "is_editable": true, + "pipeline_id": 10047473, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047473/statuses/79688265" + } + } + }, + { + "id": 142, + "name": "СТО", + "sort": 10000, + "is_editable": false, + "pipeline_id": 10047473, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047473/statuses/142" + } + } + }, + { + "id": 143, + "name": "Магазин", + "sort": 11000, + "is_editable": false, + "pipeline_id": 10047473, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047473/statuses/143" + } + } + } + ] + } + }, + { + "id": 10047477, + "name": "Торгаши (закрытые)", + "sort": 41, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047477" + } + }, + "_embedded": { + "statuses": [ + { + "id": 79688313, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 10047477, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047477/statuses/79688313" + } + } + }, + { + "id": 79688317, + "name": "Первичный контакт", + "sort": 20, + "is_editable": true, + "pipeline_id": 10047477, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047477/statuses/79688317" + } + } + }, + { + "id": 142, + "name": "Торгаши КЦ", + "sort": 10000, + "is_editable": false, + "pipeline_id": 10047477, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047477/statuses/142" + } + } + }, + { + "id": 143, + "name": "Закрыто и не реализовано", + "sort": 11000, + "is_editable": false, + "pipeline_id": 10047477, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10047477/statuses/143" + } + } + } + ] + } + }, + { + "id": 10049845, + "name": "Шлак кц", + "sort": 42, + "is_main": false, + "is_unsorted_on": true, + "is_archive": false, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10049845" + } + }, + "_embedded": { + "statuses": [ + { + "id": 79704929, + "name": "Неразобранное", + "sort": 10, + "is_editable": false, + "pipeline_id": 10049845, + "color": "#c1c1c1", + "type": 1, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10049845/statuses/79704929" + } + } + }, + { + "id": 79704933, + "name": "Первичный контакт", + "sort": 20, + "is_editable": true, + "pipeline_id": 10049845, + "color": "#99ccff", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10049845/statuses/79704933" + } + } + }, + { + "id": 142, + "name": "Успешно реализовано", + "sort": 10000, + "is_editable": false, + "pipeline_id": 10049845, + "color": "#CCFF66", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10049845/statuses/142" + } + } + }, + { + "id": 143, + "name": "удалить контакты", + "sort": 11000, + "is_editable": false, + "pipeline_id": 10049845, + "color": "#D5D8DB", + "type": 0, + "account_id": 12676854, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/pipelines/10049845/statuses/143" + } + } + } + ] + } + } + ] + } +} + +# Companies (Компании) response +COMPANIES_RESPONSE = { + "_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": "318‒40‒54", + "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 + } + ] + } + } + ] + } +} + +# Contacts (Контакты) response +CONTACTS_RESPONSE = { + "_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" + } + } + } + ] + } + } + ] + } +} + +# Deals (Сделки) response +DEALS_RESPONSE = { + "_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" + } + } + } + ] + } + } + ] + } +} + +# Events (События) response +EVENTS_RESPONSE = { + "_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" + } + } + } + } + } + ] + } +} + +# Custom fields metadata for deals +CUSTOM_FIELDS_DEALS_RESPONSE = { + "_total_items": 307, + "_page": 1, + "_page_count": 2, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields?page=1&limit=250" + }, + "next": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields?page=2&limit=250" + }, + "last": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields?page=2&limit=250" + } + }, + "_embedded": { + "custom_fields": [ + { + "id": 1988155, + "name": "Марка масла", + "type": "multiselect", + "account_id": 12676854, + "code": "", + "sort": 520, + "is_api_only": false, + "enums": [ + { + "id": 4730493, + "value": "mobil", + "sort": 8 + }, + { + "id": 4730495, + "value": "shell", + "sort": 9 + }, + { + "id": 4730497, + "value": "castrol", + "sort": 10 + }, + { + "id": 4730499, + "value": "Volvo", + "sort": 500 + }, + { + "id": 4730501, + "value": "total", + "sort": 11 + }, + { + "id": 4730503, + "value": "elf", + "sort": 12 + }, + { + "id": 4730513, + "value": "zic", + "sort": 13 + }, + { + "id": 4730517, + "value": "neste", + "sort": 14 + }, + { + "id": 4730527, + "value": "repsol", + "sort": 15 + }, + { + "id": 4765262, + "value": "scania", + "sort": 1 + }, + { + "id": 4765264, + "value": "ford", + "sort": 2 + }, + { + "id": 4765266, + "value": "toyota", + "sort": 3 + }, + { + "id": 4765268, + "value": "mercedes", + "sort": 4 + }, + { + "id": 4765270, + "value": "nissan", + "sort": 5 + }, + { + "id": 4765272, + "value": "general motors", + "sort": 6 + }, + { + "id": 4765274, + "value": "cat", + "sort": 7 + }, + { + "id": 4771508, + "value": "под заказ", + "sort": 16 + } + ], + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/1988155?page=1&limit=250" + } + } + }, + { + "id": 1991574, + "name": "Оценка", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 548, + "is_api_only": true, + "enums": [ + { + "id": 4736442, + "value": "1", + "sort": 500 + }, + { + "id": 4736444, + "value": "2", + "sort": 1 + }, + { + "id": 4736446, + "value": "3", + "sort": 2 + }, + { + "id": 4736448, + "value": "4", + "sort": 3 + }, + { + "id": 4736450, + "value": "5", + "sort": 4 + } + ], + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/1991574?page=1&limit=250" + } + } + }, + { + "id": 1991580, + "name": "Комментарии", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 542, + "is_api_only": false, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/1991580?page=1&limit=250" + } + } + }, + { + "id": 1995524, + "name": "Причина Отказа", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 684, + "is_api_only": false, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/1995524?page=1&limit=250" + } + } + }, + { + "id": 1999120, + "name": "Данные визита", + "type": "textarea", + "account_id": 12676854, + "code": "", + "sort": 569, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/1999120?page=1&limit=250" + } + } + }, + { + "id": 1999654, + "name": "Причина закрытия КЦ", + "type": "multiselect", + "account_id": 12676854, + "code": "", + "sort": 530, + "is_api_only": false, + "enums": [ + { + "id": 4744744, + "value": "Не целевой: не ЛПР", + "sort": 10 + }, + { + "id": 4752334, + "value": "нет товара у нас", + "sort": 2 + }, + { + "id": 4764528, + "value": "Не целевой: локация", + "sort": 11 + }, + { + "id": 4764544, + "value": "Не целевой: умер/закрылся/сгорел", + "sort": 12 + }, + { + "id": 4765276, + "value": "объем", + "sort": 3 + }, + { + "id": 4766434, + "value": "Не выходит на связь", + "sort": 5 + }, + { + "id": 4766860, + "value": "Дорого", + "sort": 500 + }, + { + "id": 5171846, + "value": "Дешево", + "sort": 1 + }, + { + "id": 5257004, + "value": "Не целивой:нет номера", + "sort": 13 + }, + { + "id": 5258842, + "value": "Не квал", + "sort": 4 + }, + { + "id": 5258844, + "value": "Авито:игнор", + "sort": 9 + }, + { + "id": 5258846, + "value": "Реклама/спам/предложения", + "sort": 15 + }, + { + "id": 5258848, + "value": "Не целевой:частник", + "sort": 14 + }, + { + "id": 5260084, + "value": "Не целевой:пешеход", + "sort": 16 + }, + { + "id": 5264426, + "value": "Есть поставщик", + "sort": 6 + }, + { + "id": 5302620, + "value": "Доверие 0-4", + "sort": 7 + }, + { + "id": 5302622, + "value": "Не срочно", + "sort": 8 + }, + { + "id": 5309134, + "value": "Не целевой:ТЕНДЕР", + "sort": 17 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 2058699, + "status_id": 143 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/1999654?page=1&limit=250" + } + } + }, + { + "id": 1999810, + "name": "Направление", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 529, + "is_api_only": false, + "enums": [ + { + "id": 4747520, + "value": "Масло", + "sort": 500 + }, + { + "id": 4747526, + "value": "Rentup", + "sort": 2 + }, + { + "id": 4763790, + "value": "HR", + "sort": 1 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 2030844, + "status_id": 143 + }, + { + "pipeline_id": 1937232, + "status_id": 143 + }, + { + "pipeline_id": 1999590, + "status_id": 143 + }, + { + "pipeline_id": 2058699, + "status_id": 41171385 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/1999810?page=1&limit=250" + } + } + }, + { + "id": 2000092, + "name": "Хантер*", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 508, + "is_api_only": false, + "enums": [ + { + "id": 4761960, + "value": "РОП", + "sort": 6 + }, + { + "id": 5244344, + "value": "Юлия Таскаева", + "sort": 8 + }, + { + "id": 5269612, + "value": "Дмитрий Гагарин", + "sort": 5 + }, + { + "id": 5291522, + "value": "Александр Добржинский", + "sort": 7 + }, + { + "id": 5302082, + "value": "Александра Халикова", + "sort": 9 + }, + { + "id": 5302084, + "value": "Юлия Леденская", + "sort": 500 + }, + { + "id": 5304164, + "value": "Виктория Хасанова", + "sort": 4 + }, + { + "id": 5304642, + "value": "Мемет Сейтаблаев", + "sort": 1 + }, + { + "id": 5304644, + "value": "Алексей Марков", + "sort": 2 + }, + { + "id": 5304646, + "value": "Илья Анкудинов", + "sort": 3 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 142 + }, + { + "pipeline_id": 8388345, + "status_id": 142 + }, + { + "pipeline_id": 9550189, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2000092?page=1&limit=250" + } + } + }, + { + "id": 2008522, + "name": "комментарий Nps", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 545, + "is_api_only": false, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2008522?page=1&limit=250" + } + } + }, + { + "id": 2009022, + "name": "Чем занимается общее", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 513, + "is_api_only": false, + "enums": [ + { + "id": 4763810, + "value": "1. сто/парк/индустрия/магазин", + "sort": 500 + }, + { + "id": 4763816, + "value": "2. торгов. компания", + "sort": 1 + }, + { + "id": 4772762, + "value": "3. Тендеры", + "sort": 2 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 34272084 + }, + { + "pipeline_id": 3628218, + "status_id": 35465778 + }, + { + "pipeline_id": 3711948, + "status_id": 36042288 + }, + { + "pipeline_id": 3698436, + "status_id": 37556328 + }, + { + "pipeline_id": 4128420, + "status_id": 38960601 + }, + { + "pipeline_id": 2058699, + "status_id": 41171385 + }, + { + "pipeline_id": 8388345, + "status_id": 68311501 + }, + { + "pipeline_id": 4063281, + "status_id": 71162569 + }, + { + "pipeline_id": 9498129, + "status_id": 75955377 + }, + { + "pipeline_id": 9550189, + "status_id": 76311933 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2009022?page=1&limit=250" + } + } + }, + { + "id": 2009870, + "name": "Закрытия Хантер", + "type": "multiselect", + "account_id": 12676854, + "code": "", + "sort": 681, + "is_api_only": false, + "enums": [ + { + "id": 4764530, + "value": "Условия оплаты", + "sort": 5 + }, + { + "id": 4764532, + "value": "Дорого", + "sort": 3 + }, + { + "id": 4764534, + "value": "Долго", + "sort": 8 + }, + { + "id": 4764536, + "value": "Нет сроков", + "sort": 1 + }, + { + "id": 4764538, + "value": "Загасился", + "sort": 2 + }, + { + "id": 4764540, + "value": "Нецелевой", + "sort": 9 + }, + { + "id": 4772152, + "value": "Нет денег", + "sort": 500 + }, + { + "id": 4772154, + "value": "Не доверяет", + "sort": 4 + }, + { + "id": 4772156, + "value": "Не подходит продукт", + "sort": 6 + }, + { + "id": 4772158, + "value": "Дата покупки согласована", + "sort": 7 + } + ], + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2009870?page=1&limit=250" + } + } + }, + { + "id": 2010402, + "name": "Город", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 525, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 8376461, + "status_id": 142 + }, + { + "pipeline_id": 8388345, + "status_id": 68314517 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010402?page=1&limit=250" + } + } + }, + { + "id": 2010694, + "name": "Сылка авито", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 554, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010694?page=1&limit=250" + } + } + }, + { + "id": 2010696, + "name": "Источник (Маркер)", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 580, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010696?page=1&limit=250" + } + } + }, + { + "id": 2010698, + "name": "{utmSource} - Рекламная система", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 581, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010698?page=1&limit=250" + } + } + }, + { + "id": 2010700, + "name": "{utmMedium} - Тип трафика", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 582, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010700?page=1&limit=250" + } + } + }, + { + "id": 2010702, + "name": "{utmCampaign} - Рекламная кампания", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 584, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010702?page=1&limit=250" + } + } + }, + { + "id": 2010704, + "name": "{utmTerm} - Ключевое слово", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 585, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010704?page=1&limit=250" + } + } + }, + { + "id": 2010706, + "name": "{utmContent} - Объявление", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 586, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010706?page=1&limit=250" + } + } + }, + { + "id": 2010906, + "name": "UTM_MEDIUM", + "type": "tracking_data", + "account_id": 12676854, + "code": "UTM_MEDIUM", + "sort": 822, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010906?page=1&limit=250" + } + } + }, + { + "id": 2010908, + "name": "UTM_CONTENT", + "type": "tracking_data", + "account_id": 12676854, + "code": "UTM_CONTENT", + "sort": 821, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2010908?page=1&limit=250" + } + } + }, + { + "id": 2067296, + "name": "Roistat", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 553, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2067296?page=1&limit=250" + } + } + }, + { + "id": 2076380, + "name": "КЭВник", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 507, + "is_api_only": false, + "enums": [ + { + "id": 4766614, + "value": "Беденко Алевтина", + "sort": 8 + }, + { + "id": 4772320, + "value": "Ника Киселева", + "sort": 9 + }, + { + "id": 4772508, + "value": "Алекса Халикова", + "sort": 11 + }, + { + "id": 4772820, + "value": "Анастасия Рыжкова", + "sort": 10 + }, + { + "id": 4773006, + "value": "Маргарита Гавриш", + "sort": 500 + }, + { + "id": 4773208, + "value": "Дмитрий Иванов", + "sort": 1 + }, + { + "id": 5191240, + "value": "Алексей Ященко", + "sort": 2 + }, + { + "id": 5304384, + "value": "Ася Чертановская", + "sort": 3 + }, + { + "id": 5305124, + "value": "Сергей Жуматаев", + "sort": 4 + }, + { + "id": 5305134, + "value": "Хантер", + "sort": 12 + }, + { + "id": 5305722, + "value": "Максим Логвинович", + "sort": 5 + }, + { + "id": 5307090, + "value": "Кристина Сердюкова", + "sort": 6 + }, + { + "id": 5307092, + "value": "Ника Шведова", + "sort": 7 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 8376461, + "status_id": 142 + }, + { + "pipeline_id": 2058699, + "status_id": 41171385 + }, + { + "pipeline_id": 8388345, + "status_id": 68314517 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2076380?page=1&limit=250" + } + } + }, + { + "id": 2078327, + "name": "utm_source", + "type": "tracking_data", + "account_id": 12676854, + "code": "UTM_SOURCE", + "sort": 820, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078327?page=1&limit=250" + } + } + }, + { + "id": 2078329, + "name": "utm_campaign", + "type": "tracking_data", + "account_id": 12676854, + "code": "UTM_CAMPAIGN", + "sort": 819, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078329?page=1&limit=250" + } + } + }, + { + "id": 2078331, + "name": "utm_term", + "type": "tracking_data", + "account_id": 12676854, + "code": "UTM_TERM", + "sort": 818, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078331?page=1&limit=250" + } + } + }, + { + "id": 2078333, + "name": "utm_referrer", + "type": "tracking_data", + "account_id": 12676854, + "code": "UTM_REFERRER", + "sort": 812, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078333?page=1&limit=250" + } + } + }, + { + "id": 2078335, + "name": "_ym_uid", + "type": "tracking_data", + "account_id": 12676854, + "code": "_YM_UID", + "sort": 816, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078335?page=1&limit=250" + } + } + }, + { + "id": 2078337, + "name": "_ym_counter", + "type": "tracking_data", + "account_id": 12676854, + "code": "_YM_COUNTER", + "sort": 805, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078337?page=1&limit=250" + } + } + }, + { + "id": 2078339, + "name": "roistat", + "type": "tracking_data", + "account_id": 12676854, + "code": "ROISTAT", + "sort": 806, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078339?page=1&limit=250" + } + } + }, + { + "id": 2078341, + "name": "referrer", + "type": "tracking_data", + "account_id": 12676854, + "code": "REFERRER", + "sort": 807, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078341?page=1&limit=250" + } + } + }, + { + "id": 2078343, + "name": "openstat_service", + "type": "tracking_data", + "account_id": 12676854, + "code": "OPENSTAT_SERVICE", + "sort": 808, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078343?page=1&limit=250" + } + } + }, + { + "id": 2078345, + "name": "openstat_campaign", + "type": "tracking_data", + "account_id": 12676854, + "code": "OPENSTAT_CAMPAIGN", + "sort": 809, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078345?page=1&limit=250" + } + } + }, + { + "id": 2078347, + "name": "openstat_ad", + "type": "tracking_data", + "account_id": 12676854, + "code": "OPENSTAT_AD", + "sort": 804, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078347?page=1&limit=250" + } + } + }, + { + "id": 2078349, + "name": "openstat_source", + "type": "tracking_data", + "account_id": 12676854, + "code": "OPENSTAT_SOURCE", + "sort": 811, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078349?page=1&limit=250" + } + } + }, + { + "id": 2078351, + "name": "from", + "type": "tracking_data", + "account_id": 12676854, + "code": "FROM", + "sort": 810, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078351?page=1&limit=250" + } + } + }, + { + "id": 2078353, + "name": "gclientid", + "type": "tracking_data", + "account_id": 12676854, + "code": "GCLIENTID", + "sort": 817, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078353?page=1&limit=250" + } + } + }, + { + "id": 2078355, + "name": "gclid", + "type": "tracking_data", + "account_id": 12676854, + "code": "GCLID", + "sort": 813, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078355?page=1&limit=250" + } + } + }, + { + "id": 2078357, + "name": "yclid", + "type": "tracking_data", + "account_id": 12676854, + "code": "YCLID", + "sort": 814, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078357?page=1&limit=250" + } + } + }, + { + "id": 2078359, + "name": "fbclid", + "type": "tracking_data", + "account_id": 12676854, + "code": "FBCLID", + "sort": 815, + "is_api_only": true, + "enums": null, + "group_id": "statistic", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078359?page=1&limit=250" + } + } + }, + { + "id": 2078400, + "name": "(Старое)Причина закрытия фермер", + "type": "multiselect", + "account_id": 12676854, + "code": "", + "sort": 682, + "is_api_only": false, + "enums": [ + { + "id": 4766678, + "value": "Условия оплаты( биржа)", + "sort": 4 + }, + { + "id": 4766680, + "value": "Цена", + "sort": 500 + }, + { + "id": 4766682, + "value": "Долго (биржа)", + "sort": 6 + }, + { + "id": 4766684, + "value": "Срочность", + "sort": 1 + }, + { + "id": 4766686, + "value": "Загасился (не тыкай)", + "sort": 13 + }, + { + "id": 4766688, + "value": "Нецелевой ( биржа)", + "sort": 7 + }, + { + "id": 4768762, + "value": "Брак возврат (биржа)", + "sort": 3 + }, + { + "id": 4771798, + "value": "Дорого ( биржа)", + "sort": 5 + }, + { + "id": 4771800, + "value": "не подходит продукт (не тыкай) * надо переставить где есть", + "sort": 15 + }, + { + "id": 4771802, + "value": "Мямли или сроки дохуища (не тыкай)", + "sort": 14 + }, + { + "id": 4772290, + "value": "Замена брака", + "sort": 2 + }, + { + "id": 5269306, + "value": "масло которого у нас нет (биржа)", + "sort": 10 + }, + { + "id": 5269308, + "value": "РФ масло(Биржа)", + "sort": 11 + }, + { + "id": 5269310, + "value": "Мелкая фасовка (которой у нас нет) (биржа)", + "sort": 12 + }, + { + "id": 5269312, + "value": "Сомнения в качестве (биржа)", + "sort": 9 + }, + { + "id": 5292090, + "value": "4+ лет (биржа)", + "sort": 8 + } + ], + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2078400?page=1&limit=250" + } + } + }, + { + "id": 2079354, + "name": "VIP", + "type": "radiobutton", + "account_id": 12676854, + "code": "", + "sort": 628, + "is_api_only": true, + "enums": [ + { + "id": 4766754, + "value": "2 сделка", + "sort": 1 + }, + { + "id": 4766756, + "value": "3+ сделка", + "sort": 2 + }, + { + "id": 5263100, + "value": "1 Сделка", + "sort": 500 + } + ], + "group_id": "leads_95981641899094", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079354?page=1&limit=250" + } + } + }, + { + "id": 2079364, + "name": "телефон получателя МОП", + "type": "numeric", + "account_id": 12676854, + "code": "", + "sort": 652, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079364?page=1&limit=250" + } + } + }, + { + "id": 2079368, + "name": "Доставка до МОП", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 657, + "is_api_only": false, + "enums": [ + { + "id": 4766766, + "value": "Адреса", + "sort": 500 + }, + { + "id": 4766768, + "value": "Терминала", + "sort": 1 + } + ], + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079368?page=1&limit=250" + } + } + }, + { + "id": 2079372, + "name": "Название ТК МОП", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 656, + "is_api_only": false, + "enums": [ + { + "id": 4766796, + "value": "Байкал Сервис", + "sort": 3 + }, + { + "id": 4766798, + "value": "Мега Транс", + "sort": 14 + }, + { + "id": 4766800, + "value": "Мэйджик Транс", + "sort": 15 + }, + { + "id": 4766802, + "value": "Энергия", + "sort": 29 + }, + { + "id": 4766804, + "value": "Возовоз", + "sort": 6 + }, + { + "id": 4766806, + "value": "Главдоставка", + "sort": 8 + }, + { + "id": 4766808, + "value": "БСД", + "sort": 5 + }, + { + "id": 4766810, + "value": "Рейл Континент", + "sort": 19 + }, + { + "id": 4766812, + "value": "ТЭС", + "sort": 25 + }, + { + "id": 4766814, + "value": "ФасТранс", + "sort": 26 + }, + { + "id": 4766816, + "value": "ПЭК", + "sort": 17 + }, + { + "id": 4766818, + "value": "Фортуна", + "sort": 27 + }, + { + "id": 4766820, + "value": "КИТ", + "sort": 12 + }, + { + "id": 4766822, + "value": "Наша доставка", + "sort": 16 + }, + { + "id": 4766866, + "value": "Авиамир", + "sort": 1 + }, + { + "id": 4767760, + "value": "Транзит Авто", + "sort": 22 + }, + { + "id": 4768764, + "value": "Групп Ст", + "sort": 9 + }, + { + "id": 4769708, + "value": "Желдор Экспедиция", + "sort": 11 + }, + { + "id": 4769778, + "value": "Деловые линии", + "sort": 10 + }, + { + "id": 4771174, + "value": "Артек", + "sort": 2 + }, + { + "id": 4771212, + "value": "РГ групп", + "sort": 18 + }, + { + "id": 4772512, + "value": "РТА групп", + "sort": 20 + }, + { + "id": 4772666, + "value": "ТЭК Сибирь", + "sort": 24 + }, + { + "id": 4772700, + "value": "ТрансЛогистика", + "sort": 23 + }, + { + "id": 4772746, + "value": "ТК клиента", + "sort": 500 + }, + { + "id": 4772828, + "value": "ЦАП", + "sort": 28 + }, + { + "id": 4773002, + "value": "Байт Транзит", + "sort": 4 + }, + { + "id": 4773062, + "value": "Гарант логистика", + "sort": 7 + }, + { + "id": 4773392, + "value": "Сибтехнотранс", + "sort": 21 + }, + { + "id": 5236380, + "value": "ТК Луч", + "sort": 13 + } + ], + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079372?page=1&limit=250" + } + } + }, + { + "id": 2079374, + "name": "ИНН или ПД получателя МОП", + "type": "textarea", + "account_id": 12676854, + "code": "", + "sort": 650, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079374?page=1&limit=250" + } + } + }, + { + "id": 2079376, + "name": "ФИО или ООО получателя МОП", + "type": "textarea", + "account_id": 12676854, + "code": "", + "sort": 649, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079376?page=1&limit=250" + } + } + }, + { + "id": 2079378, + "name": "Дата отгрузки", + "type": "date", + "account_id": 12676854, + "code": "", + "sort": 654, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079378?page=1&limit=250" + } + } + }, + { + "id": 2079380, + "name": "Дата прибытия", + "type": "date", + "account_id": 12676854, + "code": "", + "sort": 666, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 39016791 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079380?page=1&limit=250" + } + } + }, + { + "id": 2079382, + "name": "№накладной", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 664, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 38960607 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079382?page=1&limit=250" + } + } + }, + { + "id": 2079384, + "name": "За доставку платит МОП", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 647, + "is_api_only": false, + "enums": [ + { + "id": 4766824, + "value": "Клиент", + "sort": 500 + }, + { + "id": 4766826, + "value": "МЫ", + "sort": 1 + } + ], + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079384?page=1&limit=250" + } + } + }, + { + "id": 2079386, + "name": "Блок на ТК МОП", + "type": "select", + "account_id": 12676854, + "code": "", + "sort": 653, + "is_api_only": false, + "enums": [ + { + "id": 4766828, + "value": "нужен", + "sort": 500 + }, + { + "id": 4766830, + "value": "не нужен", + "sort": 1 + } + ], + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079386?page=1&limit=250" + } + } + }, + { + "id": 2079388, + "name": "Адрес МОП", + "type": "textarea", + "account_id": 12676854, + "code": "", + "sort": 658, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079388?page=1&limit=250" + } + } + }, + { + "id": 2079404, + "name": "Чем занимается старая версия", + "type": "multiselect", + "account_id": 12676854, + "code": "", + "sort": 680, + "is_api_only": false, + "enums": [ + { + "id": 4766832, + "value": "Продажа и замена масла в СТО", + "sort": 500 + }, + { + "id": 4766834, + "value": "Замена масла для своей техники", + "sort": 1 + }, + { + "id": 4766836, + "value": "Продажа в магазине", + "sort": 2 + }, + { + "id": 4766838, + "value": "Торговая компания (перепродажа)", + "sort": 3 + }, + { + "id": 4766840, + "value": "Индустрия (производство)", + "sort": 4 + } + ], + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079404?page=1&limit=250" + } + } + }, + { + "id": 2079410, + "name": "Расход на ТК МОП", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 659, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 142 + }, + { + "pipeline_id": 4063281, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079410?page=1&limit=250" + } + } + }, + { + "id": 2079412, + "name": "Товар МОП", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 660, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079412?page=1&limit=250" + } + } + }, + { + "id": 2079414, + "name": "№ заявки на ТК", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 663, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 39014454 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079414?page=1&limit=250" + } + } + }, + { + "id": 2079422, + "name": "КПП МОП", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 651, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "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": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079422?page=1&limit=250" + } + } + }, + { + "id": 2079428, + "name": "№ счета ТК", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 669, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 39145119 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079428?page=1&limit=250" + } + } + }, + { + "id": 2079430, + "name": "Оплата ТК дата", + "type": "date", + "account_id": 12676854, + "code": "", + "sort": 671, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 39145119 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079430?page=1&limit=250" + } + } + }, + { + "id": 2079438, + "name": "Счет от ТК подгрузил", + "type": "checkbox", + "account_id": 12676854, + "code": "", + "sort": 670, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 39016794 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079438?page=1&limit=250" + } + } + }, + { + "id": 2079440, + "name": "Оплата ТК", + "type": "checkbox", + "account_id": 12676854, + "code": "", + "sort": 672, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079440?page=1&limit=250" + } + } + }, + { + "id": 2079448, + "name": "Скан упд в карточку", + "type": "checkbox", + "account_id": 12676854, + "code": "", + "sort": 661, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 39014457 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2079448?page=1&limit=250" + } + } + }, + { + "id": 2080448, + "name": "Город отправки", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 655, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2080448?page=1&limit=250" + } + } + }, + { + "id": 2080752, + "name": "Анкета", + "type": "url", + "account_id": 12676854, + "code": "FORM_CARD", + "sort": 543, + "is_api_only": false, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2080752?page=1&limit=250" + } + } + }, + { + "id": 2080754, + "name": "Сколько литров масло нужно", + "type": "numeric", + "account_id": 12676854, + "code": "", + "sort": 522, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2080754?page=1&limit=250" + } + } + }, + { + "id": 2080756, + "name": "Тип техники", + "type": "multiselect", + "account_id": 12676854, + "code": "", + "sort": 519, + "is_api_only": false, + "enums": [ + { + "id": 4767812, + "value": "Грузовая", + "sort": 500 + }, + { + "id": 4767814, + "value": "Легковая", + "sort": 1 + }, + { + "id": 4767816, + "value": "Другое", + "sort": 2 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 2058699, + "status_id": 41171385 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2080756?page=1&limit=250" + } + } + }, + { + "id": 2080758, + "name": "Вязкость", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 521, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2080758?page=1&limit=250" + } + } + }, + { + "id": 2080760, + "name": "АНКЕТА", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 544, + "is_api_only": false, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2080760?page=1&limit=250" + } + } + }, + { + "id": 2081068, + "name": "Какую проблему хотите решить с нашей помощью?", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 547, + "is_api_only": true, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2081068?page=1&limit=250" + } + } + }, + { + "id": 2081070, + "name": "Что нужно чтобы вы поставили 5?", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 549, + "is_api_only": true, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2081070?page=1&limit=250" + } + } + }, + { + "id": 2081072, + "name": "Откуда вы узнали о нашей компании?", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 550, + "is_api_only": true, + "enums": [ + { + "id": 4768002, + "value": "Яндекс реклама", + "sort": 3 + }, + { + "id": 4768004, + "value": "Гугл реклама", + "sort": 4 + }, + { + "id": 4768006, + "value": "Яндекс поиск", + "sort": 500 + }, + { + "id": 4768008, + "value": "Гугл поиск", + "sort": 1 + }, + { + "id": 4768010, + "value": "Реклама", + "sort": 5 + }, + { + "id": 4768012, + "value": "Посоветовали", + "sort": 2 + }, + { + "id": 4768014, + "value": "Инстаграм", + "sort": 6 + }, + { + "id": 4768016, + "value": "ВК", + "sort": 7 + }, + { + "id": 4768018, + "value": "Одноклассники", + "sort": 8 + }, + { + "id": 4768020, + "value": "Почта", + "sort": 9 + } + ], + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2081072?page=1&limit=250" + } + } + }, + { + "id": 2081114, + "name": "NPS ОТЗЫВ КЦ", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 546, + "is_api_only": true, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2081114?page=1&limit=250" + } + } + }, + { + "id": 2082786, + "name": "Цены оператора", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 683, + "is_api_only": true, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2082786?page=1&limit=250" + } + } + }, + { + "id": 2082788, + "name": "Идентификатор платежа", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 677, + "is_api_only": false, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2082788?page=1&limit=250" + } + } + }, + { + "id": 2082790, + "name": "Второстепенно", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 535, + "is_api_only": true, + "enums": [ + { + "id": 4768776, + "value": "Цены", + "sort": 4 + }, + { + "id": 4768778, + "value": "Сроки поставки", + "sort": 500 + }, + { + "id": 4768780, + "value": "Наличие на складе", + "sort": 2 + }, + { + "id": 4768782, + "value": "Качество масла", + "sort": 5 + }, + { + "id": 4768784, + "value": "Скидки и бонусы", + "sort": 1 + }, + { + "id": 4768830, + "value": "Доставка до адреса", + "sort": 6 + }, + { + "id": 4768832, + "value": "Условия возврата", + "sort": 8 + }, + { + "id": 4768834, + "value": "Оплата при получении", + "sort": 7 + }, + { + "id": 4768838, + "value": "Отсрочка платежа", + "sort": 10 + }, + { + "id": 4768840, + "value": "Рекомендации", + "sort": 3 + }, + { + "id": 4768842, + "value": "Отзывы", + "sort": 9 + }, + { + "id": 4768844, + "value": "Сертификаты к маслу", + "sort": 11 + }, + { + "id": 4768870, + "value": "Компетентность менеджера", + "sort": 12 + } + ], + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2082790?page=1&limit=250" + } + } + }, + { + "id": 2082792, + "name": "Опрос, поставщик", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 533, + "is_api_only": true, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2082792?page=1&limit=250" + } + } + }, + { + "id": 2082910, + "name": "Ваш комментарий", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 536, + "is_api_only": true, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2082910?page=1&limit=250" + } + } + }, + { + "id": 2082912, + "name": "Самое важное при выборе", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 534, + "is_api_only": true, + "enums": [ + { + "id": 4768848, + "value": "Сроки поставки", + "sort": 500 + }, + { + "id": 4768850, + "value": "Скидки и бонусы", + "sort": 1 + }, + { + "id": 4768852, + "value": "Наличие на складе", + "sort": 2 + }, + { + "id": 4768854, + "value": "Рекомендации", + "sort": 3 + }, + { + "id": 4768856, + "value": "Цены", + "sort": 4 + }, + { + "id": 4768858, + "value": "Качество масла", + "sort": 5 + }, + { + "id": 4768860, + "value": "Доставка до адреса", + "sort": 6 + }, + { + "id": 4768862, + "value": "Оплата при получении", + "sort": 7 + }, + { + "id": 4768864, + "value": "Отзывы", + "sort": 8 + }, + { + "id": 4768866, + "value": "Условия возврата", + "sort": 9 + }, + { + "id": 4768868, + "value": "Отсрочка платежа", + "sort": 10 + }, + { + "id": 4768872, + "value": "Компетентность менеджера", + "sort": 11 + }, + { + "id": 4768874, + "value": "Сертификаты к маслу", + "sort": 12 + } + ], + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2082912?page=1&limit=250" + } + } + }, + { + "id": 2085456, + "name": "Плательщик по счету МОП", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 648, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 3698436, + "status_id": 142 + }, + { + "pipeline_id": 3711948, + "status_id": 142 + }, + { + "pipeline_id": 3628218, + "status_id": 142 + }, + { + "pipeline_id": 4063281, + "status_id": 142 + }, + { + "pipeline_id": 9498129, + "status_id": 142 + }, + { + "pipeline_id": 339072, + "status_id": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2085456?page=1&limit=250" + } + } + }, + { + "id": 2087336, + "name": "Пакеты МОП", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 690, + "is_api_only": false, + "enums": [ + { + "id": 4770406, + "value": "Без пакета", + "sort": 500 + }, + { + "id": 4770408, + "value": "Пакет VIP 12000р", + "sort": 1 + }, + { + "id": 4771662, + "value": "Фикс цены (стоимость)", + "sort": 2 + } + ], + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2087336?page=1&limit=250" + } + } + }, + { + "id": 2087354, + "name": "Ссылка на договор", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 686, + "is_api_only": false, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2087354?page=1&limit=250" + } + } + }, + { + "id": 2087356, + "name": "договор", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 685, + "is_api_only": false, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2087356?page=1&limit=250" + } + } + }, + { + "id": 2087810, + "name": "NPS после Хантера", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 537, + "is_api_only": true, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2087810?page=1&limit=250" + } + } + }, + { + "id": 2087812, + "name": "Работа менеджера", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 538, + "is_api_only": true, + "enums": [ + { + "id": 4770538, + "value": "1", + "sort": 500 + }, + { + "id": 4770540, + "value": "2", + "sort": 1 + }, + { + "id": 4770542, + "value": "3", + "sort": 2 + }, + { + "id": 4770544, + "value": "4", + "sort": 3 + }, + { + "id": 4770546, + "value": "5", + "sort": 4 + } + ], + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2087812?page=1&limit=250" + } + } + }, + { + "id": 2087814, + "name": "Оценка доставки", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 540, + "is_api_only": true, + "enums": [ + { + "id": 4770548, + "value": "1", + "sort": 500 + }, + { + "id": 4770550, + "value": "2", + "sort": 1 + }, + { + "id": 4770552, + "value": "3", + "sort": 2 + }, + { + "id": 4770554, + "value": "4", + "sort": 3 + }, + { + "id": 4770556, + "value": "5", + "sort": 4 + } + ], + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2087814?page=1&limit=250" + } + } + }, + { + "id": 2087816, + "name": "Оценка товара", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 539, + "is_api_only": true, + "enums": [ + { + "id": 4770558, + "value": "1", + "sort": 500 + }, + { + "id": 4770560, + "value": "2", + "sort": 1 + }, + { + "id": 4770562, + "value": "3", + "sort": 2 + }, + { + "id": 4770564, + "value": "4", + "sort": 3 + }, + { + "id": 4770566, + "value": "5", + "sort": 4 + } + ], + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2087816?page=1&limit=250" + } + } + }, + { + "id": 2087818, + "name": "Ваш комментарий о нашей работе", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 541, + "is_api_only": true, + "enums": null, + "group_id": "leads_17261641899012", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2087818?page=1&limit=250" + } + } + }, + { + "id": 2088768, + "name": "полный неало", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 678, + "is_api_only": true, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2088768?page=1&limit=250" + } + } + }, + { + "id": 2088900, + "name": "закрыто", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 687, + "is_api_only": true, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2088900?page=1&limit=250" + } + } + }, + { + "id": 2089456, + "name": "Должность", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 702, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089456?page=1&limit=250" + } + } + }, + { + "id": 2089458, + "name": "Город соискателя", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 703, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089458?page=1&limit=250" + } + } + }, + { + "id": 2089460, + "name": "Желаемая оплата", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 704, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089460?page=1&limit=250" + } + } + }, + { + "id": 2089462, + "name": "ID резюме", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 705, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089462?page=1&limit=250" + } + } + }, + { + "id": 2089464, + "name": "URL резюме", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 706, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089464?page=1&limit=250" + } + } + }, + { + "id": 2089466, + "name": "Возраст", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 707, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089466?page=1&limit=250" + } + } + }, + { + "id": 2089468, + "name": "День рождения", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 708, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089468?page=1&limit=250" + } + } + }, + { + "id": 2089470, + "name": "Семейное положение", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 710, + "is_api_only": false, + "enums": [ + { + "id": 4771790, + "value": "женат/замужем", + "sort": 500 + }, + { + "id": 4771792, + "value": "разведен (-а)", + "sort": 1 + }, + { + "id": 4771794, + "value": "Не женат/ не замужем", + "sort": 2 + }, + { + "id": 4771796, + "value": "В отношениях", + "sort": 3 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089470?page=1&limit=250" + } + } + }, + { + "id": 2089472, + "name": "клиент говорит дорого", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 711, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089472?page=1&limit=250" + } + } + }, + { + "id": 2089474, + "name": "Увеличение продаж", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 712, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089474?page=1&limit=250" + } + } + }, + { + "id": 2089476, + "name": "ЦКП продажника", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 713, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089476?page=1&limit=250" + } + } + }, + { + "id": 2089478, + "name": "Книги", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 714, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089478?page=1&limit=250" + } + } + }, + { + "id": 2089480, + "name": "Рекомендации", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 715, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089480?page=1&limit=250" + } + } + }, + { + "id": 2089482, + "name": "Победы в жизни", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 716, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089482?page=1&limit=250" + } + } + }, + { + "id": 2089484, + "name": "Готовность выйти", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 717, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089484?page=1&limit=250" + } + } + }, + { + "id": 2089486, + "name": "Анкета сотруднику Продажник", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 699, + "is_api_only": true, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089486?page=1&limit=250" + } + } + }, + { + "id": 2089488, + "name": "Дата зум 1", + "type": "date_time", + "account_id": 12676854, + "code": null, + "sort": 724, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057672 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089488?page=1&limit=250" + } + } + }, + { + "id": 2089490, + "name": "Дата зум 2", + "type": "date_time", + "account_id": 12676854, + "code": null, + "sort": 726, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057678 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089490?page=1&limit=250" + } + } + }, + { + "id": 2089492, + "name": "Оценка Зум2", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 727, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057681 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089492?page=1&limit=250" + } + } + }, + { + "id": 2089612, + "name": "Оценка анкеты", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 723, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057672 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089612?page=1&limit=250" + } + } + }, + { + "id": 2089614, + "name": "Оценка зум№1", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 725, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057675 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089614?page=1&limit=250" + } + } + }, + { + "id": 2089932, + "name": "Примечание оператора", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 523, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 8376461, + "status_id": 142 + }, + { + "pipeline_id": 2058699, + "status_id": 41171385 + }, + { + "pipeline_id": 8388345, + "status_id": 68314517 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089932?page=1&limit=250" + } + } + }, + { + "id": 2089944, + "name": "Вариант оплаты МОП", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 645, + "is_api_only": false, + "enums": [ + { + "id": 4772322, + "value": "полная оплата", + "sort": 500 + }, + { + "id": 4772324, + "value": "частичная оплата", + "sort": 1 + }, + { + "id": 4772326, + "value": "блок на отправку", + "sort": 2 + }, + { + "id": 4772592, + "value": "самовывоз", + "sort": 3 + }, + { + "id": 5309132, + "value": "постоплата", + "sort": 4 + } + ], + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 142 + }, + { + "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": 9550189, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089944?page=1&limit=250" + } + } + }, + { + "id": 2089946, + "name": "Дата первой продажи", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 565, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089946?page=1&limit=250" + } + } + }, + { + "id": 2089958, + "name": "Примечание МОП", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 642, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2089958?page=1&limit=250" + } + } + }, + { + "id": 2090070, + "name": "Вакансия", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 692, + "is_api_only": false, + "enums": [ + { + "id": 4772554, + "value": "КЭВник", + "sort": 500 + }, + { + "id": 4772556, + "value": "Хантер", + "sort": 1 + }, + { + "id": 4772558, + "value": "Логист", + "sort": 2 + }, + { + "id": 4773056, + "value": "HR", + "sort": 3 + }, + { + "id": 5167606, + "value": "Ассистент", + "sort": 4 + }, + { + "id": 5174966, + "value": "Бухгалтер", + "sort": 5 + }, + { + "id": 5227444, + "value": "Владелец ОПГ2", + "sort": 6 + }, + { + "id": 5244374, + "value": "WB", + "sort": 7 + }, + { + "id": 5308460, + "value": "Медицина", + "sort": 8 + }, + { + "id": 5309286, + "value": "Врач удаленка", + "sort": 9 + }, + { + "id": 5309288, + "value": "Врач НЕ удаленка", + "sort": 10 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057672 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090070?page=1&limit=250" + } + } + }, + { + "id": 2090126, + "name": "Причина отказа найм", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 693, + "is_api_only": false, + "enums": [ + { + "id": 4772634, + "value": "Загас", + "sort": 500 + }, + { + "id": 4772636, + "value": "ТК РФ", + "sort": 1 + }, + { + "id": 4772638, + "value": "Оклад", + "sort": 2 + }, + { + "id": 4772640, + "value": "сам отказался", + "sort": 3 + }, + { + "id": 4772642, + "value": "не пришёл на зум 1 (если договорились)", + "sort": 4 + }, + { + "id": 4772644, + "value": "не начал обучение", + "sort": 5 + }, + { + "id": 4772646, + "value": "не вышел на испыт", + "sort": 6 + }, + { + "id": 4772648, + "value": "испыт не прошёл", + "sort": 7 + }, + { + "id": 4772656, + "value": "не прошёл зум 2", + "sort": 8 + }, + { + "id": 4772658, + "value": "не прошёл зум 1", + "sort": 9 + }, + { + "id": 4772660, + "value": "не прошёл анкету", + "sort": 10 + }, + { + "id": 4773150, + "value": "не устраивает видео перед зум1", + "sort": 11 + }, + { + "id": 5200506, + "value": "нашёл работу", + "sort": 12 + }, + { + "id": 5257018, + "value": "не сдал скрипт", + "sort": 13 + }, + { + "id": 5258486, + "value": "снесли с обучалки сами", + "sort": 14 + }, + { + "id": 5262400, + "value": "график", + "sort": 15 + }, + { + "id": 5263998, + "value": "загас после оффера", + "sort": 16 + }, + { + "id": 5299398, + "value": "Отказался записывать голосовое сообщение", + "sort": 17 + }, + { + "id": 5299790, + "value": "ЗП", + "sort": 18 + }, + { + "id": 5299792, + "value": "Возраст", + "sort": 19 + }, + { + "id": 5300274, + "value": "Учеба/сессии", + "sort": 20 + }, + { + "id": 5300328, + "value": "Вакансия закрыта", + "sort": 21 + }, + { + "id": 5303360, + "value": "Голосовое не соответствует нормам", + "sort": 22 + }, + { + "id": 5303432, + "value": "Москва", + "sort": 23 + }, + { + "id": 5303434, + "value": "Санкт-Петербург", + "sort": 24 + }, + { + "id": 5303436, + "value": "отказался проходить тест iq", + "sort": 25 + }, + { + "id": 5303438, + "value": "не прошел тест iq по баллам", + "sort": 26 + }, + { + "id": 5308748, + "value": "нет документов", + "sort": 27 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 9773905, + "status_id": 143 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090126?page=1&limit=250" + } + } + }, + { + "id": 2090128, + "name": "Счет", + "type": "file", + "account_id": 12676854, + "code": null, + "sort": 643, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090128?page=1&limit=250" + } + } + }, + { + "id": 2090130, + "name": "Спецификация/ Доп счет", + "type": "file", + "account_id": 12676854, + "code": null, + "sort": 644, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090130?page=1&limit=250" + } + } + }, + { + "id": 2090146, + "name": "Ссылка на тендер", + "type": "url", + "account_id": 12676854, + "code": null, + "sort": 736, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090146?page=1&limit=250" + } + } + }, + { + "id": 2090150, + "name": "Базис поставки", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 739, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [ + { + "pipeline_id": 6237869, + "status_id": 53759365 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090150?page=1&limit=250" + } + } + }, + { + "id": 2090154, + "name": "Стартовая стоимость", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 740, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090154?page=1&limit=250" + } + } + }, + { + "id": 2090160, + "name": "Расход товар", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 741, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [ + { + "pipeline_id": 6237869, + "status_id": 53759489 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090160?page=1&limit=250" + } + } + }, + { + "id": 2090168, + "name": "Расход логистика", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 742, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [ + { + "pipeline_id": 6237869, + "status_id": 53759493 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090168?page=1&limit=250" + } + } + }, + { + "id": 2090172, + "name": "Дата и время окончания подачи заявок", + "type": "date_time", + "account_id": 12676854, + "code": null, + "sort": 737, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090172?page=1&limit=250" + } + } + }, + { + "id": 2090176, + "name": "Маржа %", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 743, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [ + { + "pipeline_id": 6237869, + "status_id": 53759501 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090176?page=1&limit=250" + } + } + }, + { + "id": 2090178, + "name": "Причина закрытия", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 744, + "is_api_only": false, + "enums": [ + { + "id": 4772720, + "value": "срок доставки", + "sort": 500 + }, + { + "id": 4772722, + "value": "условия оплаты", + "sort": 1 + }, + { + "id": 4772724, + "value": "товар мимо", + "sort": 2 + }, + { + "id": 4772726, + "value": "цена", + "sort": 3 + }, + { + "id": 4772736, + "value": "срок подачи", + "sort": 4 + }, + { + "id": 4772738, + "value": "площадка говно", + "sort": 5 + }, + { + "id": 4772748, + "value": "неквал", + "sort": 6 + } + ], + "group_id": "leads_73791671715876", + "required_statuses": [ + { + "pipeline_id": 6237869, + "status_id": 143 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090178?page=1&limit=250" + } + } + }, + { + "id": 2090182, + "name": "Техничка", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 745, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [ + { + "pipeline_id": 6237869, + "status_id": 53759489 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090182?page=1&limit=250" + } + } + }, + { + "id": 2090198, + "name": "дата конца", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 738, + "is_api_only": false, + "enums": null, + "group_id": "leads_73791671715876", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090198?page=1&limit=250" + } + } + }, + { + "id": 2090202, + "name": "Мессенджер", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 568, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090202?page=1&limit=250" + } + } + }, + { + "id": 2090306, + "name": "Дополнительно", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 531, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090306?page=1&limit=250" + } + } + }, + { + "id": 2090414, + "name": "Количество бочек", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 673, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090414?page=1&limit=250" + } + } + }, + { + "id": 2090436, + "name": "Трудоустройство", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 718, + "is_api_only": false, + "enums": [ + { + "id": 4773082, + "value": "Хочу трудоустройство по ТК РФ", + "sort": 500 + }, + { + "id": 4773084, + "value": "Самозанятость", + "sort": 1 + }, + { + "id": 4773086, + "value": "По ГПХ", + "sort": 2 + }, + { + "id": 4773088, + "value": "Могу без оформления", + "sort": 3 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090436?page=1&limit=250" + } + } + }, + { + "id": 2090440, + "name": "Сколько лет", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 719, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090440?page=1&limit=250" + } + } + }, + { + "id": 2090794, + "name": "Фермер", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 509, + "is_api_only": false, + "enums": [ + { + "id": 4773420, + "value": "ТТ Таня Томчук", + "sort": 3 + }, + { + "id": 5256680, + "value": "Никита Егоров", + "sort": 4 + }, + { + "id": 5256682, + "value": "Наталья Никитина", + "sort": 1 + }, + { + "id": 5256684, + "value": "Илья Демидов", + "sort": 2 + }, + { + "id": 5307646, + "value": "Екатерина Ганенко", + "sort": 500 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 142 + }, + { + "pipeline_id": 3698436, + "status_id": 142 + }, + { + "pipeline_id": 9550189, + "status_id": 142 + }, + { + "pipeline_id": 3711948, + "status_id": 36042288 + }, + { + "pipeline_id": 4063281, + "status_id": 75456725 + }, + { + "pipeline_id": 9498129, + "status_id": 75955389 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2090794?page=1&limit=250" + } + } + }, + { + "id": 2185436, + "name": "Хантер Закрытие", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 689, + "is_api_only": false, + "enums": [ + { + "id": 4822516, + "value": "Дорого(биржа)", + "sort": 1 + }, + { + "id": 4822518, + "value": "Загас(биржа)", + "sort": 2 + }, + { + "id": 4822520, + "value": "Не верит в качество(биржа)", + "sort": 3 + }, + { + "id": 4822522, + "value": "Боится, что кинем(биржа)", + "sort": 4 + }, + { + "id": 4822524, + "value": "Долгая доставка(биржа)", + "sort": 5 + }, + { + "id": 4822526, + "value": "Не подходит продукт(биржа)", + "sort": 6 + }, + { + "id": 4822528, + "value": "Условия оплаты(биржа)", + "sort": 7 + }, + { + "id": 4822530, + "value": "Нет денег(биржа)", + "sort": 8 + }, + { + "id": 4822532, + "value": "Нет сроков(биржа)", + "sort": 9 + }, + { + "id": 4822534, + "value": "Нецелевой (утиль) (не работает с маслом, уволился, помер)", + "sort": 15 + }, + { + "id": 4822536, + "value": "Бочки не закупает(утиль)", + "sort": 16 + }, + { + "id": 4822538, + "value": "Берет русское говно(утиль)", + "sort": 17 + }, + { + "id": 4822540, + "value": "СБ не пустила(утиль)", + "sort": 18 + }, + { + "id": 4822542, + "value": "180 дней до покупки(биржа)", + "sort": 10 + }, + { + "id": 4822544, + "value": "150 дней до покупки(биржа)", + "sort": 11 + }, + { + "id": 4822546, + "value": "120 дней до покупки(биржа)", + "sort": 12 + }, + { + "id": 4822548, + "value": "90 дней до покупки(биржа)", + "sort": 13 + }, + { + "id": 4822550, + "value": "60 дней до покупки(биржа)", + "sort": 14 + }, + { + "id": 5294454, + "value": "Обратно в кц", + "sort": 500 + } + ], + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2185436?page=1&limit=250" + } + } + }, + { + "id": 2197708, + "name": "От кого Рефералка", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 552, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2197708?page=1&limit=250" + } + } + }, + { + "id": 2341986, + "name": "panel_zoom_meeting", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 676, + "is_api_only": false, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2341986?page=1&limit=250" + } + } + }, + { + "id": 2770414, + "name": "Анкета Ассистенту", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 700, + "is_api_only": true, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2770414?page=1&limit=250" + } + } + }, + { + "id": 2792390, + "name": "Товар", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 626, + "is_api_only": false, + "enums": null, + "group_id": "leads_95981641899094", + "required_statuses": [ + { + "pipeline_id": 4063281, + "status_id": 71335377 + }, + { + "pipeline_id": 9498129, + "status_id": 75955381 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2792390?page=1&limit=250" + } + } + }, + { + "id": 2797200, + "name": "Оценка Зум2 по новой схеме", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 728, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057681 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2797200?page=1&limit=250" + } + } + }, + { + "id": 2798188, + "name": "Оценка Зум2 по схеме 1-0", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 729, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057681 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2798188?page=1&limit=250" + } + } + }, + { + "id": 2801572, + "name": "IQ - тест", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 696, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 73984161 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2801572?page=1&limit=250" + } + } + }, + { + "id": 2802210, + "name": "Тест DISK", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 695, + "is_api_only": false, + "enums": [ + { + "id": 5228468, + "value": "Красный", + "sort": 500 + }, + { + "id": 5228470, + "value": "Синий", + "sort": 1 + }, + { + "id": 5228472, + "value": "Желтый", + "sort": 2 + }, + { + "id": 5228474, + "value": "Зеленый", + "sort": 3 + }, + { + "id": 5234218, + "value": "НИЧЕГО", + "sort": 4 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2802210?page=1&limit=250" + } + } + }, + { + "id": 2805946, + "name": "С каким средним чеком ты работал(а)?", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 720, + "is_api_only": false, + "enums": [ + { + "id": 5232530, + "value": "от 10 000 до 20 000", + "sort": 500 + }, + { + "id": 5232532, + "value": "от 20 000 до 50 000", + "sort": 1 + }, + { + "id": 5232534, + "value": "от 50 000 до 100 000", + "sort": 2 + }, + { + "id": 5232536, + "value": "от 100 000 до 200 000", + "sort": 3 + }, + { + "id": 5232538, + "value": "от 200 000 и выше", + "sort": 4 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2805946?page=1&limit=250" + } + } + }, + { + "id": 2809088, + "name": "Сколько лет ты руководил УДАЛЕННЫМ отделом продаж??", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 732, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2809088?page=1&limit=250" + } + } + }, + { + "id": 2809090, + "name": "Был ли опыт руководителя УДАЛЕННОГО отдела продаж?", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 731, + "is_api_only": false, + "enums": [ + { + "id": 5235768, + "value": "Да", + "sort": 500 + }, + { + "id": 5235770, + "value": "Нет", + "sort": 1 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2809090?page=1&limit=250" + } + } + }, + { + "id": 2809170, + "name": "URL", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 730, + "is_api_only": false, + "enums": null, + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2809170?page=1&limit=250" + } + } + }, + { + "id": 2810492, + "name": "Название сделки из сообщения", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 688, + "is_api_only": false, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2810492?page=1&limit=250" + } + } + }, + { + "id": 2813790, + "name": "По анкете кто?", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 697, + "is_api_only": false, + "enums": [ + { + "id": 5239882, + "value": "Результатник", + "sort": 500 + }, + { + "id": 5239884, + "value": "Процессник", + "sort": 1 + }, + { + "id": 5239886, + "value": "Не определен", + "sort": 2 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 59201773 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2813790?page=1&limit=250" + } + } + }, + { + "id": 2813792, + "name": "По зум1 кто?", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 698, + "is_api_only": false, + "enums": [ + { + "id": 5239888, + "value": "Результатник", + "sort": 500 + }, + { + "id": 5239890, + "value": "Процессник", + "sort": 1 + }, + { + "id": 5239892, + "value": "Не выявлено", + "sort": 2 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [ + { + "pipeline_id": 4132437, + "status_id": 39057675 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2813792?page=1&limit=250" + } + } + }, + { + "id": 2817013, + "name": "Source phone", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 679, + "is_api_only": true, + "enums": null, + "group_id": "leads_7401641900739", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2817013?page=1&limit=250" + } + } + }, + { + "id": 2818070, + "name": "рассылка вотсап", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 588, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2818070?page=1&limit=250" + } + } + }, + { + "id": 2819862, + "name": "КЭВ", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 511, + "is_api_only": false, + "enums": [ + { + "id": 5246318, + "value": "Новый", + "sort": 2 + }, + { + "id": 5261756, + "value": "Слитый", + "sort": 5 + }, + { + "id": 5261812, + "value": "КЭВ НЕ КВАЛ", + "sort": 3 + }, + { + "id": 5261814, + "value": "НЕ КЭВ", + "sort": 4 + }, + { + "id": 5292002, + "value": "БХ", + "sort": 500 + }, + { + "id": 5302078, + "value": "БФ", + "sort": 1 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 2058699, + "status_id": 143 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2819862?page=1&limit=250" + } + } + }, + { + "id": 2822002, + "name": "товар", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 747, + "is_api_only": false, + "enums": null, + "group_id": "leads_831716383894", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2822002?page=1&limit=250" + } + } + }, + { + "id": 2822942, + "name": "Есть временный?", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 526, + "is_api_only": false, + "enums": [ + { + "id": 5256652, + "value": "Да", + "sort": 500 + }, + { + "id": 5256654, + "value": "Нет", + "sort": 1 + }, + { + "id": 5256664, + "value": "Оставил свой номер сам", + "sort": 2 + }, + { + "id": 5265192, + "value": "Сам звонил", + "sort": 3 + } + ], + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2822942?page=1&limit=250" + } + } + }, + { + "id": 2823066, + "name": "дата рождения лида", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 560, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [ + { + "pipeline_id": 2058699, + "status_id": 142 + }, + { + "pipeline_id": 8376461, + "status_id": 142 + }, + { + "pipeline_id": 8388345, + "status_id": 68314517 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823066?page=1&limit=250" + } + } + }, + { + "id": 2823068, + "name": "Дата кэв назначен", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 562, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [ + { + "pipeline_id": 8376461, + "status_id": 142 + }, + { + "pipeline_id": 8388345, + "status_id": 68314517 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823068?page=1&limit=250" + } + } + }, + { + "id": 2823070, + "name": "Дата второй продажи", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 567, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823070?page=1&limit=250" + } + } + }, + { + "id": 2823072, + "name": "Дата третьей продажи", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 587, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823072?page=1&limit=250" + } + } + }, + { + "id": 2823534, + "name": "Какой вариант графика хотите?", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 721, + "is_api_only": false, + "enums": [ + { + "id": 5258144, + "value": "Полный рабочий день", + "sort": 500 + }, + { + "id": 5258146, + "value": "Хочу совмещать с подработкой", + "sort": 1 + }, + { + "id": 5258148, + "value": "Хочу совмещать со своим бизнесом", + "sort": 2 + }, + { + "id": 5258150, + "value": "Как только пройду испытательный - сразу брошу подработку", + "sort": 3 + } + ], + "group_id": "leads_53321642425706", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823534?page=1&limit=250" + } + } + }, + { + "id": 2823668, + "name": "Можно ли писать", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 527, + "is_api_only": false, + "enums": [ + { + "id": 5258260, + "value": "Нет, рассылка", + "sort": 500 + }, + { + "id": 5258262, + "value": "Нет, лайкнул", + "sort": 1 + }, + { + "id": 5258264, + "value": "Да,можно", + "sort": 2 + }, + { + "id": 5264532, + "value": "Звонил", + "sort": 3 + } + ], + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823668?page=1&limit=250" + } + } + }, + { + "id": 2823990, + "name": "количество машин", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 517, + "is_api_only": false, + "enums": [ + { + "id": 5258674, + "value": "1-9", + "sort": 500 + }, + { + "id": 5258676, + "value": "10-29", + "sort": 1 + }, + { + "id": 5258678, + "value": "30+", + "sort": 2 + }, + { + "id": 5258700, + "value": "не парк", + "sort": 4 + }, + { + "id": 5258704, + "value": "ХЗ (позже прозвонить и узнать)", + "sort": 3 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 3628218, + "status_id": 35465778 + }, + { + "pipeline_id": 8440261, + "status_id": 68670689 + }, + { + "pipeline_id": 4063281, + "status_id": 71162569 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823990?page=1&limit=250" + } + } + }, + { + "id": 2823992, + "name": "чем занимается", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 514, + "is_api_only": false, + "enums": [ + { + "id": 5258680, + "value": "Продажа и замена масла в СТО", + "sort": 500 + }, + { + "id": 5258682, + "value": "Замена масла для своей техники", + "sort": 1 + }, + { + "id": 5258684, + "value": "Продажа в магазине", + "sort": 2 + }, + { + "id": 5258686, + "value": "ТОрговая компания(перепродажа)", + "sort": 3 + }, + { + "id": 5258688, + "value": "Индустрия производство", + "sort": 4 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 3628218, + "status_id": 35465778 + }, + { + "pipeline_id": 3711948, + "status_id": 36042288 + }, + { + "pipeline_id": 3698436, + "status_id": 37556328 + }, + { + "pipeline_id": 4128420, + "status_id": 38960601 + }, + { + "pipeline_id": 8440261, + "status_id": 68670669 + }, + { + "pipeline_id": 8376461, + "status_id": 68990725 + }, + { + "pipeline_id": 8544933, + "status_id": 69398757 + }, + { + "pipeline_id": 339072, + "status_id": 70464497 + }, + { + "pipeline_id": 4063281, + "status_id": 71162569 + }, + { + "pipeline_id": 9498129, + "status_id": 75955377 + }, + { + "pipeline_id": 9550189, + "status_id": 76311953 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823992?page=1&limit=250" + } + } + }, + { + "id": 2823994, + "name": "Какой парк", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 515, + "is_api_only": false, + "enums": [ + { + "id": 5258690, + "value": "Транспортная компания", + "sort": 500 + }, + { + "id": 5258692, + "value": "Свое производство", + "sort": 1 + }, + { + "id": 5258694, + "value": "Сельхоз", + "sort": 2 + }, + { + "id": 5258696, + "value": "Таксопарк(легковые+трансфер)", + "sort": 3 + }, + { + "id": 5258698, + "value": "не парк", + "sort": 6 + }, + { + "id": 5264592, + "value": "Дорожные/строительные работы", + "sort": 4 + }, + { + "id": 5309120, + "value": "Судна", + "sort": 5 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 35177493 + }, + { + "pipeline_id": 3628218, + "status_id": 35465778 + }, + { + "pipeline_id": 8440261, + "status_id": 68670669 + }, + { + "pipeline_id": 8544933, + "status_id": 69398757 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2823994?page=1&limit=250" + } + } + }, + { + "id": 2824074, + "name": "Причина закрытия", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 749, + "is_api_only": false, + "enums": [ + { + "id": 5259960, + "value": "Не прошли по бюджету", + "sort": 3 + }, + { + "id": 5259962, + "value": "Дешевле 9 млн", + "sort": 4 + }, + { + "id": 5260726, + "value": "Загас/не вышел на связь", + "sort": 500 + }, + { + "id": 5260896, + "value": "Сроки", + "sort": 1 + }, + { + "id": 5262026, + "value": "Отказ лизинговой", + "sort": 5 + }, + { + "id": 5292276, + "value": "Закуп через тендеры", + "sort": 6 + }, + { + "id": 5297778, + "value": "НЕ ЛИЗИНГ", + "sort": 7 + }, + { + "id": 5300276, + "value": "Не ЛПР", + "sort": 8 + }, + { + "id": 5301762, + "value": "Сроки больше года", + "sort": 2 + }, + { + "id": 5302354, + "value": "Закреплен за другими во всех лизинговых", + "sort": 9 + }, + { + "id": 5302356, + "value": "Выбрал другую лизинговую", + "sort": 10 + } + ], + "group_id": "leads_73111720612902", + "required_statuses": [ + { + "pipeline_id": 8310797, + "status_id": 143 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2824074?page=1&limit=250" + } + } + }, + { + "id": 2824076, + "name": "Специализация компании", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 750, + "is_api_only": false, + "enums": [ + { + "id": 5258766, + "value": "ТК", + "sort": 500 + }, + { + "id": 5258768, + "value": "Строительство", + "sort": 1 + }, + { + "id": 5258770, + "value": "Дорожные работы", + "sort": 2 + }, + { + "id": 5258772, + "value": "Буровые работы", + "sort": 3 + }, + { + "id": 5258774, + "value": "Земляные работы", + "sort": 4 + }, + { + "id": 5258776, + "value": "Сельскохозяйственные рабоы", + "sort": 5 + }, + { + "id": 5258778, + "value": "Аренда техники", + "sort": 6 + }, + { + "id": 5258902, + "value": "Свое производство", + "sort": 8 + }, + { + "id": 5259958, + "value": "Лесозаготовка", + "sort": 7 + } + ], + "group_id": "leads_73111720612902", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2824076?page=1&limit=250" + } + } + }, + { + "id": 2824168, + "name": "Соц.сети", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 518, + "is_api_only": false, + "enums": [ + { + "id": 5258806, + "value": "ВК", + "sort": 500 + }, + { + "id": 5258808, + "value": "Инста", + "sort": 1 + }, + { + "id": 5258810, + "value": "Телеграм", + "sort": 2 + }, + { + "id": 5258812, + "value": "Одноклассники", + "sort": 3 + }, + { + "id": 5258814, + "value": "Ютуб", + "sort": 4 + }, + { + "id": 5258816, + "value": "Фейсбук", + "sort": 5 + }, + { + "id": 5258818, + "value": "Тик Ток", + "sort": 6 + }, + { + "id": 5258820, + "value": "Не сижу", + "sort": 7 + } + ], + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2824168?page=1&limit=250" + } + } + }, + { + "id": 2824346, + "name": "Дата Квал лид", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 561, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [ + { + "pipeline_id": 8376461, + "status_id": 142 + }, + { + "pipeline_id": 8388345, + "status_id": 68314517 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2824346?page=1&limit=250" + } + } + }, + { + "id": 2824576, + "name": "Примечание Хантеры", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 608, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2824576?page=1&limit=250" + } + } + }, + { + "id": 2824880, + "name": "Производитель", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 751, + "is_api_only": false, + "enums": [ + { + "id": 5260682, + "value": "Европа", + "sort": 500 + }, + { + "id": 5260684, + "value": "Китай", + "sort": 1 + }, + { + "id": 5260686, + "value": "Россия", + "sort": 2 + }, + { + "id": 5260688, + "value": "Мультибренд", + "sort": 3 + } + ], + "group_id": "leads_73111720612902", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2824880?page=1&limit=250" + } + } + }, + { + "id": 2824882, + "name": "Состояние", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 752, + "is_api_only": false, + "enums": [ + { + "id": 5260690, + "value": "Новое", + "sort": 500 + }, + { + "id": 5260692, + "value": "Б/У", + "sort": 1 + }, + { + "id": 5260694, + "value": "Новое и Б/У", + "sort": 2 + } + ], + "group_id": "leads_73111720612902", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2824882?page=1&limit=250" + } + } + }, + { + "id": 2825644, + "name": "Дата смены этапа", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 590, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2825644?page=1&limit=250" + } + } + }, + { + "id": 2826158, + "name": "Подрядчик", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 556, + "is_api_only": false, + "enums": [ + { + "id": 5262198, + "value": "ИП Смирнов", + "sort": 500 + }, + { + "id": 5262200, + "value": "Милена", + "sort": 1 + }, + { + "id": 5262202, + "value": "Варя", + "sort": 2 + }, + { + "id": 5262270, + "value": "КЦ", + "sort": 3 + }, + { + "id": 5262272, + "value": "ИП Кедров", + "sort": 4 + }, + { + "id": 5262800, + "value": "ИП Масколенко", + "sort": 5 + }, + { + "id": 5262802, + "value": "ип Байковский", + "sort": 6 + }, + { + "id": 5262804, + "value": "ИП Щукин", + "sort": 7 + } + ], + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826158?page=1&limit=250" + } + } + }, + { + "id": 2826160, + "name": "Канал", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 558, + "is_api_only": false, + "enums": [ + { + "id": 5262204, + "value": "Яндекс 1(Капинос)", + "sort": 9 + }, + { + "id": 5262206, + "value": "Авито 1", + "sort": 500 + }, + { + "id": 5262208, + "value": "Авито 2", + "sort": 1 + }, + { + "id": 5262210, + "value": "Авито 3", + "sort": 2 + }, + { + "id": 5262212, + "value": "Авито 4", + "sort": 3 + }, + { + "id": 5262214, + "value": "Авито 5", + "sort": 4 + }, + { + "id": 5262216, + "value": "Прямые заходы", + "sort": 5 + }, + { + "id": 5262218, + "value": "SEO", + "sort": 6 + }, + { + "id": 5262220, + "value": "Яндекс 2 (Ганенко)", + "sort": 10 + }, + { + "id": 5262222, + "value": "Яндекс 3 (Лазарева)", + "sort": 11 + }, + { + "id": 5262224, + "value": "Whatsapp сообщение", + "sort": 13 + }, + { + "id": 5262226, + "value": "Телега сообщение", + "sort": 14 + }, + { + "id": 5262228, + "value": "ВК сообщение", + "sort": 15 + }, + { + "id": 5262230, + "value": "Email", + "sort": 16 + }, + { + "id": 5262240, + "value": "Рефералка", + "sort": 17 + }, + { + "id": 5262242, + "value": "Дзен", + "sort": 18 + }, + { + "id": 5262268, + "value": "Холодный обзвон", + "sort": 19 + }, + { + "id": 5262288, + "value": "Входящий звонок ( неопознан)", + "sort": 20 + }, + { + "id": 5262316, + "value": "FB", + "sort": 21 + }, + { + "id": 5262318, + "value": "Инста", + "sort": 22 + }, + { + "id": 5262320, + "value": "МТ", + "sort": 23 + }, + { + "id": 5262322, + "value": "вк", + "sort": 24 + }, + { + "id": 5262806, + "value": "Древность", + "sort": 25 + }, + { + "id": 5264252, + "value": "Яндекс 5(Капинос) Витамин", + "sort": 12 + }, + { + "id": 5264376, + "value": "Авито старое", + "sort": 8 + }, + { + "id": 5264378, + "value": "Яндекс старое", + "sort": 7 + }, + { + "id": 5302614, + "value": "СпецТехника", + "sort": 26 + }, + { + "id": 5303560, + "value": "Холодный подрядчик", + "sort": 27 + }, + { + "id": 5305036, + "value": "Доп окведы", + "sort": 28 + } + ], + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826160?page=1&limit=250" + } + } + }, + { + "id": 2826162, + "name": "ютмметка", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 570, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826162?page=1&limit=250" + } + } + }, + { + "id": 2826166, + "name": "Где показывается", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 591, + "is_api_only": false, + "enums": [ + { + "id": 5262232, + "value": "РСЯ", + "sort": 500 + }, + { + "id": 5262234, + "value": "Поиск", + "sort": 1 + }, + { + "id": 5262236, + "value": "Мастер", + "sort": 2 + }, + { + "id": 5262238, + "value": "Фид", + "sort": 4 + }, + { + "id": 5262262, + "value": "Авито звонок", + "sort": 5 + }, + { + "id": 5262264, + "value": "Авито сообщения", + "sort": 6 + }, + { + "id": 5262266, + "value": "Авито рассылка", + "sort": 7 + }, + { + "id": 5262290, + "value": "context", + "sort": 3 + } + ], + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826166?page=1&limit=250" + } + } + }, + { + "id": 2826168, + "name": "Регион показов", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 596, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826168?page=1&limit=250" + } + } + }, + { + "id": 2826170, + "name": "Масло в обяъвлении", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 597, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826170?page=1&limit=250" + } + } + }, + { + "id": 2826258, + "name": "Домен посадочной", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 598, + "is_api_only": false, + "enums": [ + { + "id": 5262278, + "value": "avtomaslo-optom.ru", + "sort": 500 + }, + { + "id": 5262280, + "value": "avtomaslooptom.ru", + "sort": 1 + }, + { + "id": 5262282, + "value": "bochki-avtomasla.ru", + "sort": 2 + }, + { + "id": 5262284, + "value": "автомасло-бочки.рф", + "sort": 3 + }, + { + "id": 5262286, + "value": "avtomaslobochka.ru", + "sort": 4 + } + ], + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826258?page=1&limit=250" + } + } + }, + { + "id": 2826458, + "name": "ключ для сделки", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 506, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 2058699, + "status_id": 142 + }, + { + "pipeline_id": 8388345, + "status_id": 142 + }, + { + "pipeline_id": 8376461, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826458?page=1&limit=250" + } + } + }, + { + "id": 2826466, + "name": "Рассылка стоп", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 599, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826466?page=1&limit=250" + } + } + }, + { + "id": 2826740, + "name": "Когда прослушала?", + "type": "date_time", + "account_id": 12676854, + "code": null, + "sort": 764, + "is_api_only": false, + "enums": null, + "group_id": "leads_30231725274040", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826740?page=1&limit=250" + } + } + }, + { + "id": 2826742, + "name": "Послушала?", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 763, + "is_api_only": false, + "enums": [ + { + "id": 5262922, + "value": "Да, слитый", + "sort": 500 + }, + { + "id": 5262924, + "value": "Да, не слитый", + "sort": 1 + }, + { + "id": 5263174, + "value": "Да, не было вопроса", + "sort": 2 + } + ], + "group_id": "leads_30231725274040", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2826742?page=1&limit=250" + } + } + }, + { + "id": 2827228, + "name": "Категория масла", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 516, + "is_api_only": false, + "enums": [ + { + "id": 5264002, + "value": "Легковое", + "sort": 500 + }, + { + "id": 5264004, + "value": "Грузовое", + "sort": 1 + }, + { + "id": 5264006, + "value": "Легковое+Грузовое", + "sort": 2 + }, + { + "id": 5264036, + "value": "Индустриальное", + "sort": 3 + } + ], + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827228?page=1&limit=250" + } + } + }, + { + "id": 2827300, + "name": "Страница", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 579, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827300?page=1&limit=250" + } + } + }, + { + "id": 2827302, + "name": "Адрес страницы", + "type": "url", + "account_id": 12676854, + "code": null, + "sort": 578, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827302?page=1&limit=250" + } + } + }, + { + "id": 2827304, + "name": "Форма", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 574, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827304?page=1&limit=250" + } + } + }, + { + "id": 2827306, + "name": "Дата создания", + "type": "date_time", + "account_id": 12676854, + "code": null, + "sort": 583, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827306?page=1&limit=250" + } + } + }, + { + "id": 2827308, + "name": "ip", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 575, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827308?page=1&limit=250" + } + } + }, + { + "id": 2827310, + "name": "ym_client_id", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 577, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827310?page=1&limit=250" + } + } + }, + { + "id": 2827312, + "name": "ip_location", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 576, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827312?page=1&limit=250" + } + } + }, + { + "id": 2827316, + "name": "Бизнес", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 572, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827316?page=1&limit=250" + } + } + }, + { + "id": 2827318, + "name": "Машин", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 573, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827318?page=1&limit=250" + } + } + }, + { + "id": 2827320, + "name": "Бренд", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 571, + "is_api_only": true, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827320?page=1&limit=250" + } + } + }, + { + "id": 2827530, + "name": "В груз прибыл поставь!!!", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 667, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 39145119 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827530?page=1&limit=250" + } + } + }, + { + "id": 2827748, + "name": "% предоплаты", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 646, + "is_api_only": false, + "enums": [ + { + "id": 5264472, + "value": "меньше 25%", + "sort": 500 + }, + { + "id": 5264474, + "value": "25%", + "sort": 1 + }, + { + "id": 5264476, + "value": "50%", + "sort": 2 + }, + { + "id": 5264478, + "value": "100%", + "sort": 4 + }, + { + "id": 5264480, + "value": "0+25%", + "sort": 5 + }, + { + "id": 5264482, + "value": "25%+25%", + "sort": 6 + }, + { + "id": 5264484, + "value": "50%+25%", + "sort": 7 + }, + { + "id": 5264486, + "value": "0+100%", + "sort": 8 + }, + { + "id": 5264524, + "value": "75%", + "sort": 3 + } + ], + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 3698436, + "status_id": 142 + }, + { + "pipeline_id": 3711948, + "status_id": 142 + }, + { + "pipeline_id": 8440261, + "status_id": 142 + }, + { + "pipeline_id": 8544933, + "status_id": 142 + }, + { + "pipeline_id": 4063281, + "status_id": 142 + }, + { + "pipeline_id": 9498129, + "status_id": 142 + }, + { + "pipeline_id": 3628218, + "status_id": 35465781 + }, + { + "pipeline_id": 339072, + "status_id": 48224163 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827748?page=1&limit=250" + } + } + }, + { + "id": 2827980, + "name": "Расход на товар число", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 674, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827980?page=1&limit=250" + } + } + }, + { + "id": 2827982, + "name": "Расход на ТК сумма (число)", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 668, + "is_api_only": false, + "enums": null, + "group_id": "leads_66391641899728", + "required_statuses": [ + { + "pipeline_id": 4128420, + "status_id": 39509337 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827982?page=1&limit=250" + } + } + }, + { + "id": 2827986, + "name": "Бюджет по счету", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 503, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 3698436, + "status_id": 142 + }, + { + "pipeline_id": 3711948, + "status_id": 142 + }, + { + "pipeline_id": 3628218, + "status_id": 142 + }, + { + "pipeline_id": 8440261, + "status_id": 142 + }, + { + "pipeline_id": 8544933, + "status_id": 142 + }, + { + "pipeline_id": 4063281, + "status_id": 38502672 + }, + { + "pipeline_id": 339072, + "status_id": 48224163 + }, + { + "pipeline_id": 9498129, + "status_id": 75955365 + }, + { + "pipeline_id": 9550189, + "status_id": 76311945 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2827986?page=1&limit=250" + } + } + }, + { + "id": 2828270, + "name": "квал/неквал", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 512, + "is_api_only": false, + "enums": [ + { + "id": 5265100, + "value": "Квал-перевозит что то куда то", + "sort": 500 + }, + { + "id": 5265102, + "value": "НЕ квал- ниче не возит", + "sort": 1 + }, + { + "id": 5305136, + "value": "ТОргаш", + "sort": 2 + } + ], + "group_id": null, + "required_statuses": [ + { + "pipeline_id": 8376461, + "status_id": 142 + }, + { + "pipeline_id": 339072, + "status_id": 34272084 + }, + { + "pipeline_id": 3628218, + "status_id": 35465778 + }, + { + "pipeline_id": 3711948, + "status_id": 36042288 + }, + { + "pipeline_id": 3698436, + "status_id": 37556328 + }, + { + "pipeline_id": 4128420, + "status_id": 38960601 + }, + { + "pipeline_id": 4128465, + "status_id": 38960925 + }, + { + "pipeline_id": 2058699, + "status_id": 41171385 + }, + { + "pipeline_id": 4181520, + "status_id": 41236947 + }, + { + "pipeline_id": 6237869, + "status_id": 53759357 + }, + { + "pipeline_id": 8388345, + "status_id": 68311501 + }, + { + "pipeline_id": 8440261, + "status_id": 68669809 + }, + { + "pipeline_id": 8544933, + "status_id": 69397549 + }, + { + "pipeline_id": 4063281, + "status_id": 71162569 + }, + { + "pipeline_id": 9498129, + "status_id": 75955377 + }, + { + "pipeline_id": 9550189, + "status_id": 76311933 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2828270?page=1&limit=250" + } + } + }, + { + "id": 2828878, + "name": "База", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 559, + "is_api_only": false, + "enums": [ + { + "id": 5267938, + "value": "кедров спецуха", + "sort": 500 + }, + { + "id": 5267940, + "value": "кедров грузоперевозки", + "sort": 1 + }, + { + "id": 5267942, + "value": "наш поставщик", + "sort": 2 + } + ], + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2828878?page=1&limit=250" + } + } + }, + { + "id": 2829034, + "name": "База спецуха", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 753, + "is_api_only": false, + "enums": [ + { + "id": 5268070, + "value": "Аренда спецтехники", + "sort": 500 + }, + { + "id": 5268072, + "value": "Грузоперевозки", + "sort": 1 + }, + { + "id": 5268074, + "value": "Строительство (многоквартирные+административные здания)", + "sort": 2 + }, + { + "id": 5268076, + "value": "Строительство (дороги+внешние коммуникации)", + "sort": 3 + }, + { + "id": 5268078, + "value": "Буровые и земляные работы", + "sort": 4 + }, + { + "id": 5268080, + "value": "Строительство (пром+сельхоз+быстровозводимые)", + "sort": 5 + }, + { + "id": 5268082, + "value": "Строительство (дачи/коттеджи+бассейны)", + "sort": 6 + }, + { + "id": 5268084, + "value": "Промышленные (Песок/щебень+цемент)", + "sort": 7 + } + ], + "group_id": "leads_73111720612902", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2829034?page=1&limit=250" + } + } + }, + { + "id": 2830380, + "name": "Холодняк", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 754, + "is_api_only": false, + "enums": [ + { + "id": 5269180, + "value": "Да", + "sort": 500 + }, + { + "id": 5269182, + "value": "Нет", + "sort": 1 + } + ], + "group_id": "leads_73111720612902", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2830380?page=1&limit=250" + } + } + }, + { + "id": 2831038, + "name": "авито профиль чувака", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 555, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2831038?page=1&limit=250" + } + } + }, + { + "id": 2831392, + "name": "Сумма успешных сделок", + "type": "numeric", + "account_id": 12676854, + "code": "VCRGROUP_SUM_SUCCESS_LEADS", + "sort": 771, + "is_api_only": true, + "enums": null, + "group_id": "leads_60561730982267", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2831392?page=1&limit=250" + } + } + }, + { + "id": 2831394, + "name": "Количество успешных сделок", + "type": "numeric", + "account_id": 12676854, + "code": "VCRGROUP_QUANTITY_SUCCESS_LEADS", + "sort": 772, + "is_api_only": true, + "enums": null, + "group_id": "leads_60561730982267", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2831394?page=1&limit=250" + } + } + }, + { + "id": 2831396, + "name": "Средний чек", + "type": "numeric", + "account_id": 12676854, + "code": "VCRGROUP_AVERAGE_CHECK_SUCCESS_LEADS", + "sort": 773, + "is_api_only": true, + "enums": null, + "group_id": "leads_60561730982267", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2831396?page=1&limit=250" + } + } + }, + { + "id": 2831398, + "name": "Цикл сделки (неделя)", + "type": "numeric", + "account_id": 12676854, + "code": "VCRGROUP_CYCLE_SUCCESS_LEADS", + "sort": 774, + "is_api_only": true, + "enums": null, + "group_id": "leads_60561730982267", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2831398?page=1&limit=250" + } + } + }, + { + "id": 2831400, + "name": "Дата след. покупки", + "type": "date", + "account_id": 12676854, + "code": "VCRGROUP_DATE_NEXT_SUCCESS_LEAD", + "sort": 775, + "is_api_only": true, + "enums": null, + "group_id": "leads_60561730982267", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2831400?page=1&limit=250" + } + } + }, + { + "id": 2832894, + "name": "тема рассылки", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 589, + "is_api_only": false, + "enums": [ + { + "id": 5291954, + "value": "БХ", + "sort": 500 + }, + { + "id": 5291956, + "value": "Хантеры", + "sort": 1 + }, + { + "id": 5300720, + "value": "Ниче не делать", + "sort": 2 + }, + { + "id": 5301106, + "value": "Фермер контакт", + "sort": 3 + }, + { + "id": 5301108, + "value": "Фермер дата", + "sort": 4 + } + ], + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2832894?page=1&limit=250" + } + } + }, + { + "id": 2835394, + "name": "Дата КЭВ назначенБХ", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 563, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835394?page=1&limit=250" + } + } + }, + { + "id": 2835402, + "name": "дней с кэва", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 566, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835402?page=1&limit=250" + } + } + }, + { + "id": 2835404, + "name": "Заказ", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 765, + "is_api_only": false, + "enums": null, + "group_id": "leads_30231725274040", + "required_statuses": [ + { + "pipeline_id": 8388345, + "status_id": 142 + }, + { + "pipeline_id": 8376461, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835404?page=1&limit=250" + } + } + }, + { + "id": 2835406, + "name": "Сроки", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 766, + "is_api_only": false, + "enums": null, + "group_id": "leads_30231725274040", + "required_statuses": [ + { + "pipeline_id": 8388345, + "status_id": 142 + }, + { + "pipeline_id": 8376461, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835406?page=1&limit=250" + } + } + }, + { + "id": 2835408, + "name": "Адекватность", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 767, + "is_api_only": false, + "enums": null, + "group_id": "leads_30231725274040", + "required_statuses": [ + { + "pipeline_id": 8388345, + "status_id": 142 + }, + { + "pipeline_id": 8376461, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835408?page=1&limit=250" + } + } + }, + { + "id": 2835496, + "name": "Состоялся Заказ 6+", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 609, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 35177493 + }, + { + "pipeline_id": 9550189, + "status_id": 76311937 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835496?page=1&limit=250" + } + } + }, + { + "id": 2835498, + "name": "Состоялся Сроки 4+", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 610, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 35177493 + }, + { + "pipeline_id": 9550189, + "status_id": 76311937 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835498?page=1&limit=250" + } + } + }, + { + "id": 2835500, + "name": "Состоялся Адек-сть 5-6", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 611, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 35177493 + }, + { + "pipeline_id": 9550189, + "status_id": 76311937 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835500?page=1&limit=250" + } + } + }, + { + "id": 2835502, + "name": "Шаблон:Заказ 6-7", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 612, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 72734069 + }, + { + "pipeline_id": 9550189, + "status_id": 76311957 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835502?page=1&limit=250" + } + } + }, + { + "id": 2835504, + "name": "Шаблон Сроки 5-6", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 613, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 72734069 + }, + { + "pipeline_id": 9550189, + "status_id": 76311957 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835504?page=1&limit=250" + } + } + }, + { + "id": 2835506, + "name": "Шаблон Адек-сть 5-6", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 614, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 72734069 + }, + { + "pipeline_id": 9550189, + "status_id": 76311957 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835506?page=1&limit=250" + } + } + }, + { + "id": 2835508, + "name": "Договор: Заказ 7-8", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 615, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 35177499 + }, + { + "pipeline_id": 9550189, + "status_id": 76311941 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835508?page=1&limit=250" + } + } + }, + { + "id": 2835510, + "name": "Договор: Сроки 6-8", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 616, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 35177499 + }, + { + "pipeline_id": 9550189, + "status_id": 76311941 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835510?page=1&limit=250" + } + } + }, + { + "id": 2835512, + "name": "Договор Адек-сть 7-8", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 617, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 35177499 + }, + { + "pipeline_id": 9550189, + "status_id": 76311941 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835512?page=1&limit=250" + } + } + }, + { + "id": 2835514, + "name": "Счет: заказ 9-10", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 621, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 12678639 + }, + { + "pipeline_id": 9550189, + "status_id": 76311929 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835514?page=1&limit=250" + } + } + }, + { + "id": 2835516, + "name": "Счет: сроки 9-10", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 622, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 12678639 + }, + { + "pipeline_id": 9550189, + "status_id": 76311929 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835516?page=1&limit=250" + } + } + }, + { + "id": 2835518, + "name": "Счет: Адек-сть 8-10", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 623, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 12678639 + }, + { + "pipeline_id": 9550189, + "status_id": 76311929 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835518?page=1&limit=250" + } + } + }, + { + "id": 2835884, + "name": "ЛИЗИНГ", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 755, + "is_api_only": false, + "enums": [ + { + "id": 5294728, + "value": "Да", + "sort": 500 + }, + { + "id": 5294730, + "value": "Нет", + "sort": 1 + }, + { + "id": 5294732, + "value": "Не выяснено", + "sort": 2 + } + ], + "group_id": "leads_73111720612902", + "required_statuses": [ + { + "pipeline_id": 8310797, + "status_id": 67767269 + }, + { + "pipeline_id": 8521997, + "status_id": 69239957 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835884?page=1&limit=250" + } + } + }, + { + "id": 2835950, + "name": "Причина закрытия Хантер", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 624, + "is_api_only": false, + "enums": [ + { + "id": 5297628, + "value": "в кц не бочки наше масло", + "sort": 1 + }, + { + "id": 5297630, + "value": "в кц импорт, не наш", + "sort": 2 + }, + { + "id": 5297632, + "value": "в кц русское гавно", + "sort": 3 + }, + { + "id": 5297634, + "value": "в кц Доверие 0-4", + "sort": 4 + }, + { + "id": 5297636, + "value": "в кц сроки > 90 дней", + "sort": 5 + }, + { + "id": 5297638, + "value": "умер/сдох/закрылся( утиль)", + "sort": 6 + }, + { + "id": 5297640, + "value": "дорого наше масло(БХ)", + "sort": 7 + }, + { + "id": 5297642, + "value": "условия оплаты (БХ)", + "sort": 8 + }, + { + "id": 5297644, + "value": "загас (БХ)", + "sort": 9 + }, + { + "id": 5297646, + "value": "доверие 5-10 (БХ)", + "sort": 10 + }, + { + "id": 5297648, + "value": "не Лпр (БХ)", + "sort": 11 + }, + { + "id": 5297650, + "value": "Долго ждать (от заявки до заказа 3 дня) (БХ)", + "sort": 12 + }, + { + "id": 5300224, + "value": "Он мне не нравится (БХ)", + "sort": 13 + }, + { + "id": 5302074, + "value": "в кц КЭВ не ало 3 дня", + "sort": 500 + } + ], + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 143 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2835950?page=1&limit=250" + } + } + }, + { + "id": 2836894, + "name": "Дата кэв назначен БФ", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 564, + "is_api_only": false, + "enums": null, + "group_id": "leads_7551641899031", + "required_statuses": [ + { + "pipeline_id": 4181520, + "status_id": 142 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2836894?page=1&limit=250" + } + } + }, + { + "id": 2837282, + "name": "Сроки Заказ 7-8", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 618, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 73645309 + }, + { + "pipeline_id": 9550189, + "status_id": 76311965 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2837282?page=1&limit=250" + } + } + }, + { + "id": 2837284, + "name": "Сроки : Сроки 8", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 619, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 73645309 + }, + { + "pipeline_id": 9550189, + "status_id": 76311965 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2837284?page=1&limit=250" + } + } + }, + { + "id": 2837286, + "name": "Сроки: Адек-сть 7-8", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 620, + "is_api_only": false, + "enums": null, + "group_id": "leads_30031641899087", + "required_statuses": [ + { + "pipeline_id": 339072, + "status_id": 73645309 + }, + { + "pipeline_id": 9550189, + "status_id": 76311965 + } + ], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2837286?page=1&limit=250" + } + } + }, + { + "id": 2838790, + "name": "ID успешной сделки", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 505, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838790?page=1&limit=250" + } + } + }, + { + "id": 2838982, + "name": "ДКТ: client_id", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 794, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838982?page=1&limit=250" + } + } + }, + { + "id": 2838984, + "name": "ДКТ: client_cid", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 793, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838984?page=1&limit=250" + } + } + }, + { + "id": 2838986, + "name": "ДКТ: client_sid", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 792, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838986?page=1&limit=250" + } + } + }, + { + "id": 2838988, + "name": "ДКТ: ya_client_id", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 777, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838988?page=1&limit=250" + } + } + }, + { + "id": 2838990, + "name": "ДКТ: Город", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 778, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838990?page=1&limit=250" + } + } + }, + { + "id": 2838992, + "name": "ДКТ: Источник", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 795, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838992?page=1&limit=250" + } + } + }, + { + "id": 2838994, + "name": "ДКТ: Канал", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 791, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838994?page=1&limit=250" + } + } + }, + { + "id": 2838996, + "name": "ДКТ: Кампания", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 785, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838996?page=1&limit=250" + } + } + }, + { + "id": 2838998, + "name": "ДКТ: Содержимое", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 779, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2838998?page=1&limit=250" + } + } + }, + { + "id": 2839000, + "name": "ДКТ: Что искал", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 780, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2839000?page=1&limit=250" + } + } + }, + { + "id": 2839002, + "name": "ДКТ: custom", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 781, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2839002?page=1&limit=250" + } + } + }, + { + "id": 2839004, + "name": "ДКТ: Имя виджета", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 782, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2839004?page=1&limit=250" + } + } + }, + { + "id": 2839006, + "name": "ДКТ: Тип заявки", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 783, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2839006?page=1&limit=250" + } + } + }, + { + "id": 2839008, + "name": "ДКТ: Время на сайте", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 784, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2839008?page=1&limit=250" + } + } + }, + { + "id": 2839010, + "name": "ДКТ: Страница звонка", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 786, + "is_api_only": true, + "enums": null, + "group_id": "leads_27981740472852", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "leads", + "tracking_callback": null, + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "chained_lists": null, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/leads/custom_fields/2839010?page=1&limit=250" + } + } + } + ] + } +} + +# Custom fields metadata for contacts +CUSTOM_FIELDS_CONTACTS_RESPONSE = { + "_total_items": 57, + "_page": 1, + "_page_count": 1, + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields?page=1&limit=250" + } + }, + "_embedded": { + "custom_fields": [ + { + "id": 1414672, + "name": "Должность", + "type": "text", + "account_id": 12676854, + "code": "POSITION", + "sort": 514, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/1414672?page=1&limit=250" + } + } + }, + { + "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": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/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": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/1414676?page=1&limit=250" + } + } + }, + { + "id": 1414680, + "name": "Мгн. сообщения", + "type": "multitext", + "account_id": 12676854, + "code": "IM", + "sort": 517, + "is_api_only": false, + "enums": [ + { + "id": 3379216, + "value": "SKYPE", + "sort": 2 + }, + { + "id": 3379218, + "value": "ICQ", + "sort": 4 + }, + { + "id": 3379220, + "value": "JABBER", + "sort": 6 + }, + { + "id": 3379222, + "value": "GTALK", + "sort": 8 + }, + { + "id": 3379224, + "value": "MSN", + "sort": 10 + }, + { + "id": 3379226, + "value": "OTHER", + "sort": 12 + } + ], + "group_id": null, + "required_statuses": [], + "is_deletable": false, + "is_predefined": true, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/1414680?page=1&limit=250" + } + } + }, + { + "id": 1967229, + "name": "Паспорт", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 516, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/1967229?page=1&limit=250" + } + } + }, + { + "id": 1967235, + "name": "Фамилия", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 513, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/1967235?page=1&limit=250" + } + } + }, + { + "id": 1988525, + "name": "Пользовательское соглашение (контакт)", + "type": "text", + "account_id": 12676854, + "code": "", + "sort": 518, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/1988525?page=1&limit=250" + } + } + }, + { + "remind": "never", + "id": 2000818, + "name": "День рождения", + "type": "birthday", + "account_id": 12676854, + "code": "", + "sort": 512, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2000818?page=1&limit=250" + } + } + }, + { + "id": 2080738, + "name": "Пользовательское соглашение", + "type": "checkbox", + "account_id": 12676854, + "code": "USER_AGREEMENT", + "sort": 515, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2080738?page=1&limit=250" + } + } + }, + { + "id": 2090122, + "name": "TelegramUsername_WZ", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 511, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090122?page=1&limit=250" + } + } + }, + { + "id": 2090124, + "name": "TelegramId_WZ", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 509, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090124?page=1&limit=250" + } + } + }, + { + "id": 2090818, + "name": "Whatsgroup_WZ", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 510, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090818?page=1&limit=250" + } + } + }, + { + "id": 2090844, + "name": "тест", + "type": "text", + "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": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090844?page=1&limit=250" + } + } + }, + { + "id": 2090848, + "name": "Звонок 1 сделка", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 527, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090848?page=1&limit=250" + } + } + }, + { + "id": 2090850, + "name": "Дозвонились", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 528, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090850?page=1&limit=250" + } + } + }, + { + "id": 2090854, + "name": "Фактор принятия решения", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 535, + "is_api_only": false, + "enums": [ + { + "id": 4773432, + "value": "цена", + "sort": 500 + }, + { + "id": 4773434, + "value": "доставка", + "sort": 1 + }, + { + "id": 4773436, + "value": "скорость", + "sort": 2 + }, + { + "id": 4773438, + "value": "менеджер", + "sort": 3 + }, + { + "id": 4773440, + "value": "ассортимент", + "sort": 4 + }, + { + "id": 4773442, + "value": "качество", + "sort": 5 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090854?page=1&limit=250" + } + } + }, + { + "id": 2090858, + "name": "Коммент к принятию покупки", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 536, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090858?page=1&limit=250" + } + } + }, + { + "id": 2090862, + "name": "Коммент к работе фермера", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 540, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090862?page=1&limit=250" + } + } + }, + { + "id": 2090866, + "name": "Коммент товару", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 542, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090866?page=1&limit=250" + } + } + }, + { + "id": 2090870, + "name": "Коммент к доставке", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 544, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090870?page=1&limit=250" + } + } + }, + { + "id": 2090872, + "name": "Звонок 2 сделка", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 537, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090872?page=1&limit=250" + } + } + }, + { + "id": 2090874, + "name": "Что сделать чтоб было лучше 2 сделка", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 545, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090874?page=1&limit=250" + } + } + }, + { + "id": 2090876, + "name": "Рекомендация 2 сделка", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 547, + "is_api_only": false, + "enums": [ + { + "id": 4773474, + "value": "1", + "sort": 500 + }, + { + "id": 4773476, + "value": "2", + "sort": 1 + }, + { + "id": 4773478, + "value": "3", + "sort": 2 + }, + { + "id": 4773480, + "value": "4", + "sort": 3 + }, + { + "id": 4773482, + "value": "5", + "sort": 4 + }, + { + "id": 5226052, + "value": "6", + "sort": 5 + }, + { + "id": 5226054, + "value": "7", + "sort": 6 + }, + { + "id": 5226056, + "value": "8", + "sort": 7 + }, + { + "id": 5226058, + "value": "9", + "sort": 8 + }, + { + "id": 5226060, + "value": "10", + "sort": 9 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090876?page=1&limit=250" + } + } + }, + { + "id": 2090878, + "name": "Дозвонились", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 538, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090878?page=1&limit=250" + } + } + }, + { + "id": 2090880, + "name": "Звонок 3 сделка", + "type": "date", + "account_id": 12676854, + "code": null, + "sort": 552, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090880?page=1&limit=250" + } + } + }, + { + "id": 2090882, + "name": "Дозвонились", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 553, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090882?page=1&limit=250" + } + } + }, + { + "id": 2090884, + "name": "Что сделать чтоб было лучше 3 сделка", + "type": "textarea", + "account_id": 12676854, + "code": null, + "sort": 554, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090884?page=1&limit=250" + } + } + }, + { + "id": 2090888, + "name": "Усиление 2 сделка", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 546, + "is_api_only": false, + "enums": [ + { + "id": 4773494, + "value": "Да", + "sort": 500 + }, + { + "id": 4773496, + "value": "Нет", + "sort": 1 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090888?page=1&limit=250" + } + } + }, + { + "id": 2090890, + "name": "Усиление 3 сделка", + "type": "select", + "account_id": 12676854, + "code": null, + "sort": 555, + "is_api_only": false, + "enums": [ + { + "id": 4773498, + "value": "Да", + "sort": 500 + }, + { + "id": 4773500, + "value": "Нет", + "sort": 1 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090890?page=1&limit=250" + } + } + }, + { + "id": 2090892, + "name": "коммент к рекомендации", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 548, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090892?page=1&limit=250" + } + } + }, + { + "id": 2090894, + "name": "оставить отзыв", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 550, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2090894?page=1&limit=250" + } + } + }, + { + "id": 2199314, + "name": "поставщики", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 551, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2199314?page=1&limit=250" + } + } + }, + { + "id": 2205512, + "name": "контакт", + "type": "checkbox", + "account_id": 12676854, + "code": null, + "sort": 549, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2205512?page=1&limit=250" + } + } + }, + { + "id": 2783444, + "name": "Никнейм (Pact.im)", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 508, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2783444?page=1&limit=250" + } + } + }, + { + "id": 2785030, + "name": "работа хантера", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 529, + "is_api_only": false, + "enums": [ + { + "id": 5184742, + "value": "1", + "sort": 500 + }, + { + "id": 5184744, + "value": "2", + "sort": 1 + }, + { + "id": 5196206, + "value": "3", + "sort": 2 + }, + { + "id": 5196208, + "value": "4", + "sort": 3 + }, + { + "id": 5196210, + "value": "5", + "sort": 4 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2785030?page=1&limit=250" + } + } + }, + { + "id": 2785032, + "name": "Коммент к работе хантера", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 530, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2785032?page=1&limit=250" + } + } + }, + { + "id": 2785034, + "name": "Оценка товара", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 531, + "is_api_only": false, + "enums": [ + { + "id": 5184766, + "value": "1", + "sort": 500 + }, + { + "id": 5184768, + "value": "2", + "sort": 1 + }, + { + "id": 5184770, + "value": "3", + "sort": 2 + }, + { + "id": 5184772, + "value": "4", + "sort": 3 + }, + { + "id": 5184774, + "value": "5", + "sort": 4 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2785034?page=1&limit=250" + } + } + }, + { + "id": 2785036, + "name": "Коммент товару", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 532, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2785036?page=1&limit=250" + } + } + }, + { + "id": 2785038, + "name": "Оценка доставки", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 533, + "is_api_only": false, + "enums": [ + { + "id": 5184776, + "value": "1", + "sort": 500 + }, + { + "id": 5184778, + "value": "2", + "sort": 1 + }, + { + "id": 5184780, + "value": "3", + "sort": 2 + }, + { + "id": 5184782, + "value": "4", + "sort": 3 + }, + { + "id": 5184784, + "value": "5", + "sort": 4 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2785038?page=1&limit=250" + } + } + }, + { + "id": 2785040, + "name": "Коммент к доставке", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 534, + "is_api_only": false, + "enums": null, + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2785040?page=1&limit=250" + } + } + }, + { + "id": 2786694, + "name": "Instagram Business (Pact.im)", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 507, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2786694?page=1&limit=250" + } + } + }, + { + "id": 2792304, + "name": "работа фермера", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 539, + "is_api_only": false, + "enums": [ + { + "id": 5192218, + "value": "1", + "sort": 500 + }, + { + "id": 5192220, + "value": "2", + "sort": 1 + }, + { + "id": 5192222, + "value": "3", + "sort": 2 + }, + { + "id": 5192224, + "value": "4", + "sort": 3 + }, + { + "id": 5192226, + "value": "5", + "sort": 4 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2792304?page=1&limit=250" + } + } + }, + { + "id": 2792306, + "name": "оценка товара", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 541, + "is_api_only": false, + "enums": [ + { + "id": 5192228, + "value": "1", + "sort": 500 + }, + { + "id": 5192230, + "value": "2", + "sort": 1 + }, + { + "id": 5192232, + "value": "3", + "sort": 2 + }, + { + "id": 5192234, + "value": "4", + "sort": 3 + }, + { + "id": 5192236, + "value": "5", + "sort": 4 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2792306?page=1&limit=250" + } + } + }, + { + "id": 2792308, + "name": "оценка доставки", + "type": "multiselect", + "account_id": 12676854, + "code": null, + "sort": 543, + "is_api_only": false, + "enums": [ + { + "id": 5192238, + "value": "1", + "sort": 500 + }, + { + "id": 5192240, + "value": "2", + "sort": 1 + }, + { + "id": 5192242, + "value": "3", + "sort": 2 + }, + { + "id": 5192244, + "value": "4", + "sort": 3 + }, + { + "id": 5192246, + "value": "5", + "sort": 4 + } + ], + "group_id": "contacts_63711693470393", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2792308?page=1&limit=250" + } + } + }, + { + "id": 2811014, + "name": "Телеграм chat_id (Pact.im)", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 506, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2811014?page=1&limit=250" + } + } + }, + { + "id": 2825322, + "name": "Телеграм Никнейм (Pact.im)", + "type": "text", + "account_id": 12676854, + "code": "TELEGRAM_NICKNAME", + "sort": 505, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2825322?page=1&limit=250" + } + } + }, + { + "id": 2827314, + "name": "Имя", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 504, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2827314?page=1&limit=250" + } + } + }, + { + "id": 2838980, + "name": "roistat", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 503, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2838980?page=1&limit=250" + } + } + }, + { + "id": 2842620, + "name": "LTV по контактам", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 521, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2842620?page=1&limit=250" + } + } + }, + { + "id": 2842622, + "name": "Сделок по контактам", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 520, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2842622?page=1&limit=250" + } + } + }, + { + "id": 2842626, + "name": "сделок у хантера", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 523, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2842626?page=1&limit=250" + } + } + }, + { + "id": 2842628, + "name": "типа лтв хантера", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 522, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2842628?page=1&limit=250" + } + } + }, + { + "id": 2842630, + "name": "типа LTV кц", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 524, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2842630?page=1&limit=250" + } + } + }, + { + "id": 2842632, + "name": "Сделки в кц", + "type": "numeric", + "account_id": 12676854, + "code": null, + "sort": 526, + "is_api_only": false, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2842632?page=1&limit=250" + } + } + }, + { + "id": 2843046, + "name": "Source phone", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 500, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2843046?page=1&limit=250" + } + } + }, + { + "id": 2844958, + "name": "Введите имя", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 500, + "is_api_only": true, + "enums": null, + "group_id": null, + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2844958?page=1&limit=250" + } + } + }, + { + "id": 2848152, + "name": "n_docs", + "type": "text", + "account_id": 12676854, + "code": null, + "sort": 500, + "is_api_only": true, + "enums": null, + "group_id": "contacts_5121754908273", + "required_statuses": [], + "is_deletable": true, + "is_predefined": false, + "entity_type": "contacts", + "remind": null, + "triggers": [], + "currency": null, + "hidden_statuses": [], + "_links": { + "self": { + "href": "https://wecheap.amocrm.ru/api/v4/contacts/custom_fields/2848152?page=1&limit=250" + } + } + } + ] + } +} + +# Custom fields metadata for companies +CUSTOM_FIELDS_COMPANIES_RESPONSE = { + "_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" + } + } + } + ] + } +} diff --git a/utils/config.py b/utils/config.py index a1cec6a..2716912 100644 --- a/utils/config.py +++ b/utils/config.py @@ -1,5 +1,5 @@ from pydantic_settings import BaseSettings -from typing import Optional +# Removed unused import class Settings(BaseSettings): @@ -8,13 +8,13 @@ class Settings(BaseSettings): # AMO CRM API AMO_CRM_DOMAIN: str = "wecheap.amocrm.ru" - AMO_CRM_ACCESS_TOKEN: str + AMO_CRM_ACCESS_TOKEN: str = "" # Make it optional with default empty string # Google Sheets API - GOOGLE_SERVICE_ACCOUNT_FILE: str + GOOGLE_SERVICE_ACCOUNT_FILE: str = "" # Make it optional GOOGLE_SCOPES: str = "https://www.googleapis.com/auth/spreadsheets" - # Redis (for Celery) + # Redis (for FastStream message broker) REDIS_URL: str = "redis://localhost:6379/0" # API Settings diff --git a/workers/broker.py b/workers/broker.py new file mode 100644 index 0000000..5b0d041 --- /dev/null +++ b/workers/broker.py @@ -0,0 +1,132 @@ +""" +FastStream broker setup for AMO CRM service background processing. + +This module sets up the Redis-based message broker and defines worker +functions for processing export jobs, data synchronization, and scheduled tasks. +""" + +import logging +from typing import Dict, Any +from faststream import FastStream +from faststream.redis import RedisBroker +from utils.config import settings + +# Configure logging +logging.basicConfig(level=settings.LOG_LEVEL) +logger = logging.getLogger(__name__) + +# Initialize Redis broker +broker = RedisBroker(settings.REDIS_URL) +app = FastStream(broker) + + +@broker.subscriber("export-jobs") +async def process_export_job(job_data: Dict[str, Any]) -> None: + """ + Process Google Sheets export jobs. + + Args: + job_data: Dictionary containing job_id, configuration_id, and metadata + """ + logger.info(f"Processing export job: {job_data.get('job_id')}") + + try: + from servers.export_server import ExportServer + + export_server = ExportServer() + await export_server.process_export_job(job_data) + + logger.info(f"Export job {job_data.get('job_id')} completed successfully") + + except Exception as e: + logger.error(f"Export job {job_data.get('job_id')} failed: {str(e)}") + raise + + +@broker.subscriber("sync-jobs") +async def process_sync_job(sync_data: Dict[str, Any]) -> None: + """ + Process AMO CRM data synchronization jobs. + + Args: + sync_data: Dictionary containing job_id, entity_type, and parameters + """ + logger.info(f"Processing sync job: {sync_data.get('job_id')} for {sync_data.get('entity_type')}") + + try: + from servers.sync_server import SyncServer + + sync_server = SyncServer() + await sync_server.process_sync_job(sync_data) + + logger.info(f"Sync job {sync_data.get('job_id')} completed successfully") + + except Exception as e: + logger.error(f"Sync job {sync_data.get('job_id')} failed: {str(e)}") + raise + + +@broker.subscriber("refresh-jobs") +async def process_refresh_job(entity_type: str) -> None: + """ + Process scheduled entity data refresh jobs. + + Args: + entity_type: Type of entity to refresh (deals, contacts, companies, etc.) + """ + logger.info(f"Processing refresh job for entity type: {entity_type}") + + try: + from servers.sync_server import SyncServer + + sync_server = SyncServer() + await sync_server.refresh_entity_data(entity_type) + + logger.info(f"Refresh job for {entity_type} completed successfully") + + except Exception as e: + logger.error(f"Refresh job for {entity_type} failed: {str(e)}") + raise + + +@broker.subscriber("failed-jobs") +async def handle_failed_jobs(job_data: Dict[str, Any]) -> None: + """ + Handle permanently failed jobs (dead letter queue). + + Args: + job_data: Failed job data for logging and potential manual intervention + """ + logger.error(f"Job permanently failed: {job_data}") + + # TODO: Implement notification system (email, Slack, etc.) + # TODO: Store failed jobs for manual review + + # For now, just log the failure + job_id = job_data.get("job_id", "unknown") + job_type = job_data.get("job_type", "unknown") + error_message = job_data.get("error_message", "No error message provided") + + logger.error( + f"DEAD LETTER QUEUE - Job ID: {job_id}, " + f"Type: {job_type}, Error: {error_message}" + ) + + +@broker.after_startup +async def startup_handler() -> None: + """Handle broker startup tasks.""" + logger.info("FastStream broker started successfully") + logger.info(f"Connected to Redis: {settings.REDIS_URL}") + + +@broker.before_shutdown +async def shutdown_handler() -> None: + """Handle broker shutdown tasks.""" + logger.info("FastStream broker shutting down") + + +if __name__ == "__main__": + # This allows running the worker directly with: python workers/broker.py + import asyncio + asyncio.run(app.run()) diff --git a/workers/middleware.py b/workers/middleware.py new file mode 100644 index 0000000..5c1106b --- /dev/null +++ b/workers/middleware.py @@ -0,0 +1,98 @@ +""" +FastStream middleware for observability and error handling. + +This module provides middleware for adding metrics, tracing, and +enhanced error handling to FastStream message processing. +""" + +import logging +from typing import Any, Awaitable, Callable +from faststream import BaseMiddleware +from faststream.redis import RedisPublishCommand +from faststream.prometheus import PrometheusMiddleware +from faststream.observability.middleware import TelemetryMiddleware + +logger = logging.getLogger(__name__) + + +class ErrorHandlingMiddleware(BaseMiddleware): + """Middleware for enhanced error handling and logging.""" + + async def consume_scope( + self, + call_next: Callable[..., Awaitable[Any]], + msg: Any, + ) -> Any: + """ + Handle message consumption with error logging. + + Args: + call_next: Next middleware/handler in the chain + msg: Incoming message + + Returns: + Result from the handler + """ + try: + logger.debug(f"Processing message: {type(msg).__name__}") + result = await call_next(msg) + logger.debug("Message processed successfully") + return result + + except Exception as e: + logger.error(f"Error processing message: {str(e)}", exc_info=True) + + # TODO: Implement dead letter queue publishing for permanent failures + # For now, re-raise to let FastStream handle retries + raise + + +class RedisPublishMiddleware(BaseMiddleware[RedisPublishCommand]): + """Middleware for Redis publishing operations.""" + + async def publish_scope( + self, + call_next: Callable[[RedisPublishCommand], Awaitable[Any]], + cmd: RedisPublishCommand, + ) -> Any: + """ + Handle Redis publish operations with logging. + + Args: + call_next: Next middleware/handler in the chain + cmd: Redis publish command + + Returns: + Result from the publish operation + """ + try: + logger.debug(f"Publishing to Redis: {cmd}") + result = await call_next(cmd) + logger.debug("Redis publish successful") + return result + + except Exception as e: + logger.error(f"Redis publish failed: {str(e)}", exc_info=True) + raise + + +def setup_middleware(broker): + """ + Set up all middleware for the FastStream broker. + + Args: + broker: FastStream Redis broker instance + """ + # Add Prometheus metrics middleware + broker.add_middleware(PrometheusMiddleware) + + # Add OpenTelemetry tracing middleware + broker.add_middleware(TelemetryMiddleware) + + # Add custom error handling middleware + broker.add_middleware(ErrorHandlingMiddleware) + + # Add custom Redis publish middleware + broker.add_middleware(RedisPublishMiddleware) + + logger.info("FastStream middleware configured successfully") diff --git a/workers/scheduler.py b/workers/scheduler.py new file mode 100644 index 0000000..f753f26 --- /dev/null +++ b/workers/scheduler.py @@ -0,0 +1,110 @@ +""" +Task scheduler for periodic AMO CRM data refresh jobs. + +This module sets up scheduled tasks using TaskIQ-FastStream integration +for periodic data synchronization and maintenance operations. +""" + +import logging +from taskiq_faststream import StreamScheduler +from taskiq.schedule_sources import LabelScheduleSource +from workers.broker import broker + +logger = logging.getLogger(__name__) + +# Schedule periodic data refresh jobs +@broker.task( + message={"entity_type": "deals"}, + channel="refresh-jobs", + schedule=[{"cron": "0 */6 * * *"}] # Every 6 hours +) +async def scheduled_deals_refresh(): + """Scheduled refresh for deals data.""" + logger.info("Scheduled deals refresh triggered") + + +@broker.task( + message={"entity_type": "contacts"}, + channel="refresh-jobs", + schedule=[{"cron": "0 */4 * * *"}] # Every 4 hours +) +async def scheduled_contacts_refresh(): + """Scheduled refresh for contacts data.""" + logger.info("Scheduled contacts refresh triggered") + + +@broker.task( + message={"entity_type": "companies"}, + channel="refresh-jobs", + schedule=[{"cron": "0 */8 * * *"}] # Every 8 hours +) +async def scheduled_companies_refresh(): + """Scheduled refresh for companies data.""" + logger.info("Scheduled companies refresh triggered") + + +@broker.task( + message={"entity_type": "users"}, + channel="refresh-jobs", + schedule=[{"cron": "0 */12 * * *"}] # Every 12 hours +) +async def scheduled_users_refresh(): + """Scheduled refresh for users data.""" + logger.info("Scheduled users refresh triggered") + + +@broker.task( + message={"entity_type": "pipelines"}, + channel="refresh-jobs", + schedule=[{"cron": "0 */24 * * *"}] # Daily +) +async def scheduled_pipelines_refresh(): + """Scheduled refresh for pipelines data.""" + logger.info("Scheduled pipelines refresh triggered") + + +@broker.task( + message={"entity_type": "events"}, + channel="refresh-jobs", + schedule=[{"cron": "0 */2 * * *"}] # Every 2 hours +) +async def scheduled_events_refresh(): + """Scheduled refresh for events data.""" + logger.info("Scheduled events refresh triggered") + + +# Initialize scheduler +scheduler = StreamScheduler( + broker=broker, + sources=[LabelScheduleSource(broker)] +) + + +async def start_scheduler(): + """Start the task scheduler.""" + logger.info("Starting FastStream task scheduler") + await scheduler.startup() + + +async def stop_scheduler(): + """Stop the task scheduler.""" + logger.info("Stopping FastStream task scheduler") + await scheduler.shutdown() + + +if __name__ == "__main__": + # This allows running the scheduler directly + import asyncio + + async def main(): + await start_scheduler() + try: + # Keep the scheduler running + while True: + await asyncio.sleep(60) + except KeyboardInterrupt: + logger.info("Scheduler interrupted by user") + finally: + await stop_scheduler() + + asyncio.run(main())