1. Schemas
Bitrix24
  • Calculation Items
    • Уведомление о новом сообщении в чате по элементу в списке 'Просчет'
    • Этап 1: Создание элемента в списке 'Просчет'
    • Этап 2: Обновление элемента в списке 'Просчет'
  • Единоразовая синхронизация из Продаж в Битрикс24
    • From Sales To Bitrix24
      • Customers (Битрикс Контакты)
        • Добавление нового Клиента
      • Leads (Битрикс Лиды)
        • Добавление нового Лида /leads/process_item
      • Users (Битрикс Пользователи)
        • Добавление нового пользователя /users/process_item
      • Payers/Recipients (Битрикс Компании)
        • Добавление нового Плательщика или Получателя
      • Requests/RequestItems (Битрикс Просчеты)
        • Создание или обновление элемента в списке 'Просчет'
  • Schemas
    • Schemas
      • Users
        • Roles
          • Sections
            • Секции
            • Поля
          • Роли
        • Пользователи
        • Пользователи Extend
        • Пользователи (base)
        • Группы пользователей
        • Должности
        • Коды пользователей (users view)
      • Лиды/Клиенты
        • Leads
          • Лиды
        • Customers
          • Реестр контактных телефонов
          • Реестр контактных телефонов (edit)
          • Реестр контактных Email
          • Реестр контактных Email (edit)
          • Клиенты
          • Клиенты (edit)
        • Звонки
        • Письма
        • Дела
        • Комментарии
        • Комментарии (edit)
      • DeliveryBasis
        • Базисы поставки
      • Requests
        • ТП в запросах на расчет ТС
        • ТП в запросах на расчет ТС (edit)
        • ТП в запросах на расчет ТС (upload)
        • Запросы на расчет ТС
        • Запросы на расчет ТС (edit)
      • Запрос на создание Плательщика/Получателя Copy
      • CreateItemRequest
      • Услуги
      • Error
      • ProcessItemRequest
      • Запрос на создание Плательщика/Получателя
      • CreateItemResponse
      • Страны
      • ProcessItemResponse
      • Ответ при создании Плательщика/Получателя
      • UpdateItemRequest
      • Города
      • UpdateItemResponse
      • Коды подразделений
      • ErrorResponse
      • Статусы сделок
      • Типы сделок
      • Типы договоров
      • Причины отказов
      • Способы оплаты
      • Формы оплаты
      • Источники лидов
      • Единицы измерения
      • UTM-метки
      • Компании РФ
      • Договора
      • Плательщики
      • Технические сделки
      • Маркировка
      • Получатели
      • Плательщики (edit)
      • Способы отправки
      • Способы выдачи груза
      • Товарные позиции
      • Получатели (edit)
    • Responses
      • Headers
      • Enum
    • Components
      • BaseFieldsModel
      • Pagination
      • BaseFieldsExtendedModel
      • BaseFieldDeleteMany
      • File
      • AccessLevel
      • FieldTypes
      • Image
    • Обмен
      • Customer
      • Payer
    • Партнер
  1. Schemas

TechDeal(Технические сделки)

{
    "id": 1,
    "deletedAt": "2019-08-24T14:15:22.123Z",
    "marking": {
        "marking": "string",
        "departmentCode": "string",
        "managerCode": "string",
        "clientCode": "string",
        "payerCode": "string",
        "techDealTypeCode": "string",
        "shippingMethodCode": "string",
        "dateArrival": "2019-08-24",
        "countPlaces": 0,
        "countPlacesTotal": 0,
        "isTakenBorder": false
    },
    "techDealType": {
        "title": "string",
        "code": "string",
        "ruContractTypes": [
            {
                "title": "string"
            }
        ]
    },
    "techDealStatus": {
        "title": "string",
        "dealTypes": [
            {
                "title": "string",
                "code": "string",
                "ruContractTypes": [
                    {
                        "title": "string"
                    }
                ]
            }
        ]
    },
    "ruContract": {
        "payer": {
            "code": "string",
            "paymentMethod": {
                "title": "string"
            },
            "paymentOption": {
                "paymentMethod": {
                    "title": "string"
                },
                "title": "string"
            },
            "title": "string",
            "titleShort": "string",
            "accountingPhone": "string",
            "customer": {
                "code": "string",
                "firstname": "string",
                "surname": "string",
                "middlename": "string",
                "birthdate": "2019-08-24",
                "phone": "string",
                "email": "user@example.com",
                "additionalPhone": "string",
                "company": "string",
                "companyUrl": "http://example.com",
                "comment": "string",
                "serviceAssigned": [
                    {
                        "service": {
                            "title": "string",
                            "departureCountry": {
                                "title": "string"
                            },
                            "departureCity": {
                                "title": "string",
                                "country": {
                                    "title": "string"
                                }
                            },
                            "isForwarding": false
                        },
                        "assigned": {
                            "id": 1,
                            "firstname": "string",
                            "surname": "string",
                            "phone": "string",
                            "email": "user@example.com",
                            "codes": [
                                {
                                    "code": "string"
                                }
                            ],
                            "departmentCode": {
                                "code": "string"
                            },
                            "position": {
                                "title": "string"
                            },
                            "group": {
                                "title": "string"
                            },
                            "roles": [
                                {
                                    "title": "string",
                                    "allServices": true,
                                    "services": [
                                        {
                                            "title": "string",
                                            "departureCity": {
                                                "title": "string",
                                                "country": {
                                                    "title": "string"
                                                }
                                            },
                                            "isForwarding": false
                                        }
                                    ]
                                }
                            ],
                            "partner": {
                                "id": "string",
                                "name": "string"
                            },
                            "createdAt": "2019-08-24T14:15:22.123Z",
                            "updatedAt": "2019-08-24T14:15:22.123Z",
                            "deletedAt": "2019-08-24T14:15:22.123Z",
                            "createdBy": {
                                "id": 1,
                                "firstname": "string",
                                "surname": "string",
                                "phone": "string",
                                "email": "user@example.com",
                                "codes": [],
                                "roles": [],
                                "partner": {
                                    "id": "string",
                                    "name": "string"
                                }
                            },
                            "updatedBy": {
                                "id": 1,
                                "firstname": "string",
                                "surname": "string",
                                "phone": "string",
                                "email": "user@example.com",
                                "codes": [],
                                "roles": [],
                                "partner": {
                                    "id": "string",
                                    "name": "string"
                                }
                            },
                            "parent": {
                                "id": 1,
                                "firstname": "string",
                                "surname": "string",
                                "phone": "string",
                                "email": "user@example.com",
                                "codes": [],
                                "roles": [],
                                "partner": {
                                    "id": "string",
                                    "name": "string"
                                }
                            },
                            "isAdmin": false
                        }
                    }
                ],
                "isSeason": true,
                "isManagement": true,
                "isBonus": true,
                "bonus": 0,
                "irs": true,
                "leads": [
                    {
                        "id": 1,
                        "leadSource": {
                            "title": "string",
                            "purpose": {
                                "id": 1,
                                "title": "string"
                            },
                            "utmMarks": [
                                {
                                    "user": {
                                        "id": 1,
                                        "firstname": "string",
                                        "surname": "string",
                                        "phone": "string",
                                        "email": "user@example.com",
                                        "codes": [],
                                        "roles": [],
                                        "partner": {
                                            "id": "string",
                                            "name": "string"
                                        },
                                        "createdAt": "2019-08-24T14:15:22.123Z",
                                        "updatedAt": "2019-08-24T14:15:22.123Z",
                                        "deletedAt": "2019-08-24T14:15:22.123Z",
                                        "createdBy": {
                                            "id": 1,
                                            "firstname": "string",
                                            "surname": "string",
                                            "phone": "string",
                                            "email": "user@example.com",
                                            "codes": [],
                                            "roles": [],
                                            "partner": {
                                                "id": "string",
                                                "name": "string"
                                            }
                                        },
                                        "updatedBy": {
                                            "id": 1,
                                            "firstname": "string",
                                            "surname": "string",
                                            "phone": "string",
                                            "email": "user@example.com",
                                            "codes": [],
                                            "roles": [],
                                            "partner": {
                                                "id": "string",
                                                "name": "string"
                                            }
                                        },
                                        "parent": {
                                            "id": 1,
                                            "firstname": "string",
                                            "surname": "string",
                                            "phone": "string",
                                            "email": "user@example.com",
                                            "codes": [],
                                            "roles": [],
                                            "partner": {
                                                "id": "string",
                                                "name": "string"
                                            }
                                        },
                                        "isAdmin": false
                                    },
                                    "type": "string",
                                    "value": "string"
                                }
                            ]
                        },
                        "name": "string",
                        "surname": "string",
                        "company": "string",
                        "campaign": "string",
                        "phone": "string",
                        "email": "user@example.com",
                        "city": "string",
                        "leadStatus": {
                            "id": 1,
                            "title": "string"
                        },
                        "additionalInformation": "string",
                        "manager": {
                            "id": 1,
                            "firstname": "string",
                            "surname": "string",
                            "phone": "string",
                            "email": "user@example.com",
                            "codes": [],
                            "roles": [],
                            "partner": {
                                "id": "string",
                                "name": "string"
                            },
                            "createdAt": "2019-08-24T14:15:22.123Z",
                            "updatedAt": "2019-08-24T14:15:22.123Z",
                            "deletedAt": "2019-08-24T14:15:22.123Z",
                            "createdBy": {
                                "id": 1,
                                "firstname": "string",
                                "surname": "string",
                                "phone": "string",
                                "email": "user@example.com",
                                "codes": [],
                                "roles": [],
                                "partner": {
                                    "id": "string",
                                    "name": "string"
                                }
                            },
                            "updatedBy": {
                                "id": 1,
                                "firstname": "string",
                                "surname": "string",
                                "phone": "string",
                                "email": "user@example.com",
                                "codes": [],
                                "roles": [],
                                "partner": {
                                    "id": "string",
                                    "name": "string"
                                }
                            },
                            "parent": {
                                "id": 1,
                                "firstname": "string",
                                "surname": "string",
                                "phone": "string",
                                "email": "user@example.com",
                                "codes": [],
                                "roles": [],
                                "partner": {
                                    "id": "string",
                                    "name": "string"
                                }
                            },
                            "isAdmin": false
                        },
                        "service": {
                            "title": "string",
                            "departureCity": {
                                "title": "string",
                                "country": {
                                    "title": "string"
                                }
                            },
                            "isForwarding": false
                        },
                        "labelUtm": "string",
                        "causeFailure": {
                            "title": "string"
                        },
                        "lastTodo": {
                            "topic": "Перезвон",
                            "description": "string",
                            "expires": "2019-08-24T14:15:22.123Z",
                            "assigned": {
                                "id": 1,
                                "firstname": "string",
                                "surname": "string",
                                "phone": "string",
                                "email": "user@example.com",
                                "codes": [],
                                "roles": [],
                                "partner": {
                                    "id": "string",
                                    "name": "string"
                                },
                                "createdAt": "2019-08-24T14:15:22.123Z",
                                "updatedAt": "2019-08-24T14:15:22.123Z",
                                "deletedAt": "2019-08-24T14:15:22.123Z",
                                "createdBy": {
                                    "id": 1,
                                    "firstname": "string",
                                    "surname": "string",
                                    "phone": "string",
                                    "email": "user@example.com",
                                    "codes": [],
                                    "roles": [],
                                    "partner": {
                                        "id": "string",
                                        "name": "string"
                                    }
                                },
                                "updatedBy": {
                                    "id": 1,
                                    "firstname": "string",
                                    "surname": "string",
                                    "phone": "string",
                                    "email": "user@example.com",
                                    "codes": [],
                                    "roles": [],
                                    "partner": {
                                        "id": "string",
                                        "name": "string"
                                    }
                                },
                                "parent": {
                                    "id": 1,
                                    "firstname": "string",
                                    "surname": "string",
                                    "phone": "string",
                                    "email": "user@example.com",
                                    "codes": [],
                                    "roles": [],
                                    "partner": {
                                        "id": "string",
                                        "name": "string"
                                    }
                                },
                                "isAdmin": false
                            },
                            "lead": {},
                            "phone": "string",
                            "techDeal": {},
                            "isCompleted": false,
                            "dateCompleted": "2019-08-24T14:15:22.123Z"
                        },
                        "additionalPhone": "string"
                    }
                ],
                "payers": [
                    null
                ],
                "recipients": [
                    {
                        "code": "string",
                        "isBlocked": false,
                        "isPayRuDelivery": false,
                        "type": {
                            "id": 1,
                            "title": "string"
                        },
                        "title": "string",
                        "titleShort": "string",
                        "inn": "string",
                        "kpp": "string",
                        "ogrn": "string",
                        "legalAddress": "string",
                        "email": "user@example.com",
                        "contacts": "string",
                        "shippingMethod": {
                            "title": "string",
                            "code": "string"
                        },
                        "city": {
                            "title": "string",
                            "country": {
                                "title": "string"
                            }
                        },
                        "issuanceMethod": {
                            "title": "string",
                            "deliveryBases": [
                                {
                                    "title": "string"
                                }
                            ]
                        },
                        "addressDelivery": "string",
                        "fio": "string",
                        "passport": "string",
                        "addressReg": "string"
                    }
                ],
                "lastTodo": {
                    "topic": "Перезвон",
                    "description": "string",
                    "expires": "2019-08-24T14:15:22.123Z",
                    "lead": {},
                    "phone": "string",
                    "techDeal": {},
                    "isCompleted": false,
                    "dateCompleted": "2019-08-24T14:15:22.123Z"
                },
                "partner": {
                    "id": "string",
                    "name": "string"
                }
            },
            "inn": "string",
            "kpp": "string",
            "ogrn": "string",
            "bankTitle": "string",
            "rs": "string",
            "ks": "string",
            "bik": "string",
            "isEdo": false,
            "director": "string",
            "directorRp": "string",
            "basisRp": "string",
            "legalAddress": "string",
            "mailingAddress": "string",
            "email": "user@example.com",
            "contacts": "string",
            "assortment": "string",
            "requisites": {
                "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
                "name": "string",
                "path": "string",
                "pathPreview": "string",
                "size": 0,
                "mimeType": "string",
                "createdBy": {
                    "id": 1,
                    "firstname": "string",
                    "surname": "string",
                    "phone": "string",
                    "email": "user@example.com",
                    "codes": [],
                    "roles": [],
                    "partner": {
                        "id": "string",
                        "name": "string"
                    }
                },
                "updatedBy": {
                    "id": 1,
                    "firstname": "string",
                    "surname": "string",
                    "phone": "string",
                    "email": "user@example.com",
                    "codes": [],
                    "roles": [],
                    "partner": {
                        "id": "string",
                        "name": "string"
                    }
                },
                "deletedAt": "2019-08-24T14:15:22.123Z",
                "createdAt": "2019-08-24T14:15:22.123Z",
                "updatedAt": "2019-08-24T14:15:22.123Z"
            },
            "statement": {},
            "organizationForm": {
                "id": 0,
                "label": "string"
            }
        },
        "company": {
            "title": "string",
            "code": "string",
            "isMainCarrier": false
        },
        "number": "string",
        "date": "2019-08-24",
        "file": {
            "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
            "name": "string",
            "path": "string",
            "pathPreview": "string",
            "size": 0,
            "mimeType": "string",
            "createdBy": {
                "id": 1,
                "firstname": "string",
                "surname": "string",
                "phone": "string",
                "email": "user@example.com",
                "codes": [],
                "roles": [],
                "partner": {
                    "id": "string",
                    "name": "string"
                }
            },
            "updatedBy": {
                "id": 1,
                "firstname": "string",
                "surname": "string",
                "phone": "string",
                "email": "user@example.com",
                "codes": [],
                "roles": [],
                "partner": {
                    "id": "string",
                    "name": "string"
                }
            },
            "deletedAt": "2019-08-24T14:15:22.123Z",
            "createdAt": "2019-08-24T14:15:22.123Z",
            "updatedAt": "2019-08-24T14:15:22.123Z"
        },
        "scanFiles": [
            {}
        ],
        "techDealType": {
            "title": "string",
            "code": "string",
            "ruContractTypes": [
                {
                    "title": "string"
                }
            ]
        },
        "type": {
            "title": "string"
        }
    }
}
Built with