apidoc-chernshov-clients.a.hadv.ru
Open in
urlscan Pro
84.201.177.216
Public Scan
URL:
https://apidoc-chernshov-clients.a.hadv.ru/
Submission: On November 09 via automatic, source certstream-suspicious — Scanned from DE
Submission: On November 09 via automatic, source certstream-suspicious — Scanned from DE
Form analysis
0 forms found in the DOMText Content
* Authentication * user * postCreation * getSelection * patchУволить Эксперта * getПолучить объект пользователя * putИзменить объект пользователя * patchPATCH объект пользователя * getВыборка только экспертов * getСправочник * putНазначение подчинённых * auth * postпроверка пароля. * getПервый метод принимает телефон пользователя и отправляет ему одноразовый пароль. Если пользователя с таким телефоном нет в системе — он создается. * getПроверка прав пользователя * service-request * getИнформации по ЗОУ * getСписок ЗОУ * getСписок ЗОУ (короткая форма) * getСокращенной информации по ЗОУ * postСоздать отзывов * patchВосстановить ЗОУ * postОбратная связь * getВычисления процента изменения привлекательности объекта после падения цен * getКатегории ЗОУ * postПроверить есть ли у пользователя уже опубликованный ЗОУ * getКатегории ЗОУ только переходы * getчаты в ЗОУ * getИстория переписки * getList buyer statuses * postList buyer statuses * patchПривязать к ЗОУ объект недвижимости * getСловари для ЗОУ * getВозврощает ссылку для вступления в чат * call-center * postEndpoint для создания создание звонка между оператором и экспертом * postОсуществляет соеденение между пользователем и экспертом * postВозвращает call operator обратно к клиенту * putВходящий хук Voximplant * putХуки Voximplant * postДобавить комментарий * getСписок комментариев * postСоздать комментарий * delУдалить комментарий * Расчетный лист * putСкорректировать расчетный лист * getПолучить расчетный лист по ID * getПолучить список расчетных листов * postСоздания расчетных листов * Заказ фотографий * getСписок заявок * postСоздать заявку * Документы * getСтатус запроса документов * postСоздать заказ документов в ручном режиме * Мотивация * getТекущий статус эксперта в системе мотивации * getCправочник параметров рассчета для системы мотивации * postКалькулятор системы мотивации * experts * getВыборка только экспертов * Счет на оплату * postСоздать счет на оплату * getСписок счетов * Контракты * getСписок контрактов * getПолучить договор * putСохранить данные по договору * getПолучить контракт по id * patchПодтверждение бронирования контракта * patchОтказ в бронировании контракта * getСловари для контрактов * Сделки (deal) * getСписок сделок * postСоздание сделки * getСделка по id * patchОбновление сделки * postДобавление новой суммы аванса для сделки * getСписок авансов для сделки * getИнформации по сделкам, выполненных экспертом, сгруппированым по месяцам * getСловари для сделок * available-funds * getСписок словарей * postСоздание * getСписок * delDelete available funds * patchUpdate available funds * Статусы сделок * patchУспешное завершение сделки (переход в dealDone) * call-task * patchВостановаить call-task * postСоздать call-task * getПолучить список call-task * calls * getGet call with call task for quality assessor * Статистика * getСтатистических данных о продажах * messenger * getчаты в ЗОУ * getИстория переписки * getСправочник значений для поля chatParticipant.side * postВалидация данных виджета подписки textback * getВозврощает ссылку для вступления в чат * report-for-seller * getList buyer statuses * postList buyer statuses * buyer * postСоздать покупателя * getсписок баеров * putОбновить запись * getПолучить количество баеров с фильтром * getПолучить покупателей пользователя системы, сгруппированных по номерам телефона * getПолучить баера по id * patchОбновить дату ожидания показа * patchПередать покупателя в другой ЗОУ * getList of question for close * putClose buyer * getList buyer statuses * getList closing question answers * getстатистика по причинам закрытия баера * getстатистика по статусам баера * getСписок статусов * slack * postОтправить сообщение в dev support * Оценка * getПолучить последнюю опубликованную оценку * getПолучить оценки по ЗОУ * postДобавить оценку * phone-book * postДобавить запись в записную книжку * getСписок * patchОбновить запись * delУдалить запись * buyer-status * getList buyer statuses * buyer-closing-question-answers * getList closing question answers * Phone * patchИсключить телефон из чёрного списка Documentation Powered by ReDoc DOC CLIENTS HOMEAPP (1.0.1) Download OpenAPI specification:Download License: Apache 2.0 В этом спейсе будет описание API связанного с clients. Основной домен clients.homeapp.ru AUTHENTICATION HEADERAUTH Security Scheme Type API Key Cookie parameter name: ha_session COOKIEAUTH Security Scheme Type API Key Header parameter name: x-auth-hc USER User end points https://home-app.atlassian.net/wiki/spaces/BAC/pages/656408589/API CREATION REQUEST BODY SCHEMA: APPLICATION/JSON login required string employeeInfo object (EmployeeInfo) RESPONSES 200 Объект пользователя RESPONSE SCHEMA: APPLICATION/JSON success boolean data object post/user Production https://homeapp.team/api/user Mock serveer http://127.0.0.1:4010/api/user REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "login": "string", * "employeeInfo": { * "firedAt": "2019-08-24T14:15:22Z", * "firedType": "fired", * "firedReason": "leaves_real_estate", * "firedComment": "string", * "attractionChannel": "recommendations", * "attractionChannelExplain": "string" } } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string", * "employeeInfo": { * "firedAt": "2019-08-24T14:15:22Z", * "firedType": "fired", * "firedReason": "leaves_real_estate", * "firedComment": "string", * "attractionChannel": "recommendations", * "attractionChannelExplain": "string" } } } SELECTION RESPONSES 200 Список пользователей RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (UserData) pageParams object get/user Production https://homeapp.team/api/user Mock serveer http://127.0.0.1:4010/api/user RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" } ], * "pageParams": { * "page": 1, * "lenght": 1 } } УВОЛИТЬ ЭКСПЕРТА Помечаем дату удаления эксперта и переносим все ЗОУ на РОПа PATH PARAMETERS id required integer id эксперта REQUEST BODY SCHEMA: APPLICATION/JSON firedAt required string <date-time> Когда был уволен эксперт firedType string (EmployeeFiredTypeEnum) Nullable Enum: "fired" "quite" "agreement" Тип увольнения firedReason string (EmployeeFiredReasonEnum) Nullable Enum: "leaves_real_estate" "went_to_another" "failure_to_fulfill_the_plan" "toxicity_and_negativity" "for_personal_reasons" "lack_of_salary" "freeze" "burnout" "other" Причина увольнения Уходит из недвижимости Ушел в другое АН Невыполнение плана Токсичность и негатив По личным обстоятельствам Отсутствие оклада «Выгорание» Другое (комментарий) Временная блокировка firedComment string Nullable Комментарий RESPONSES 200 Успешный ответ RESPONSE SCHEMA: APPLICATION/JSON success required boolean patch/user/fire/{id} Production https://homeapp.team/api/user/fire/{id} Mock serveer http://127.0.0.1:4010/api/user/fire/{id} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "firedAt": "2019-08-24T14:15:22Z", * "firedType": "fired", * "firedReason": "leaves_real_estate", * "firedComment": "string" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true } ПОЛУЧИТЬ ОБЪЕКТ ПОЛЬЗОВАТЕЛЯ Получить детальную информацию о пользователе PATH PARAMETERS id required integer <int32> User id RESPONSES 200 Объект пользователя RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/user/{id} Production https://homeapp.team/api/user/{id} Mock serveer http://127.0.0.1:4010/api/user/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string", * "employeeInfo": { * "firedAt": "2019-08-24T14:15:22Z", * "firedType": "fired", * "firedReason": "leaves_real_estate", * "firedComment": "string", * "attractionChannel": "recommendations", * "attractionChannelExplain": "string" } } } ИЗМЕНИТЬ ОБЪЕКТ ПОЛЬЗОВАТЕЛЯ PATH PARAMETERS id required integer <int32> User id REQUEST BODY SCHEMA: APPLICATION/JSON login string (Phone) ^\d{11} createdAt string <date-time> firstName string Имя lastName string Фамилия patranomyc string Отчество hiredAt string <date-time> firedAt string <date-time> Deprecated Используйте employeeInfo.firedAt level string Должность. Значение берётся из справочника. supervisorId integer <int32> >= 1 Идентификатор руководителя enable boolean Активен baned boolean Заблокирован roles Array of strings (Role) Items Enum: "ROLE_USER" "ROLE_MODERATOR" "ROLE_SUPERVISOR" "ROLE_TRAINEE" "ROLE_EXPERT" "ROLE_MENTOR" "ROLE_TEAMLEAD" "ROLE_CALL_OPERATOR" "ROLE_ADMIN" "ROLE_DEVELOPER" "ROLE_LAWYER" "ROLE_LAWYER_HEAD" "ROLE_FINANCE" "ROLE_FINANCE_HEAD" "ROLE_EXTERNAL_PARTNER" "ROLE_QUALITY_ASSESSOR" "ROLE_CHAT_QUALITY_ASSESSOR" "ROLE_SALES_HEAD" "ROLE_TECH_SUPPORT" "ROLE_LIQUIDITY_REPORT_READER" "ROLE_ROLE_CASH_MANAGER" "ROLE_DATA_SCIENCE" "ROLE_READER" description string Описание isPublished boolean Публиковать на сайтеПубликовать на сайте direction string Направление fullNameTranslit string slug из имени-фамилии phones Array of strings (Phone) updatedAt string <date-time> gallery Array of objects (Gallery) contactInfo Array of strings districts Array of strings education object (Education) courses object (Course) cases object (Case) office string офис, может быть задан только работникам homeapp enum из словаря офисов employeeInfo object (EmployeeInfo) RESPONSES 200 Объект пользователя RESPONSE SCHEMA: APPLICATION/JSON success boolean data object put/user/{id} Production https://homeapp.team/api/user/{id} Mock serveer http://127.0.0.1:4010/api/user/{id} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string", * "employeeInfo": { * "firedAt": "2019-08-24T14:15:22Z", * "firedType": "fired", * "firedReason": "leaves_real_estate", * "firedComment": "string", * "attractionChannel": "recommendations", * "attractionChannelExplain": "string" } } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string", * "employeeInfo": { * "firedAt": "2019-08-24T14:15:22Z", * "firedType": "fired", * "firedReason": "leaves_real_estate", * "firedComment": "string", * "attractionChannel": "recommendations", * "attractionChannelExplain": "string" } } } PATCH ОБЪЕКТ ПОЛЬЗОВАТЕЛЯ PATH PARAMETERS id required integer <int32> User id REQUEST BODY SCHEMA: APPLICATION/JSON login string (Phone) ^\d{11} createdAt string <date-time> firstName string Имя lastName string Фамилия patranomyc string Отчество hiredAt string <date-time> firedAt string <date-time> Deprecated Используйте employeeInfo.firedAt level string Должность. Значение берётся из справочника. supervisorId integer <int32> >= 1 Идентификатор руководителя enable boolean Активен baned boolean Заблокирован roles Array of strings (Role) Items Enum: "ROLE_USER" "ROLE_MODERATOR" "ROLE_SUPERVISOR" "ROLE_TRAINEE" "ROLE_EXPERT" "ROLE_MENTOR" "ROLE_TEAMLEAD" "ROLE_CALL_OPERATOR" "ROLE_ADMIN" "ROLE_DEVELOPER" "ROLE_LAWYER" "ROLE_LAWYER_HEAD" "ROLE_FINANCE" "ROLE_FINANCE_HEAD" "ROLE_EXTERNAL_PARTNER" "ROLE_QUALITY_ASSESSOR" "ROLE_CHAT_QUALITY_ASSESSOR" "ROLE_SALES_HEAD" "ROLE_TECH_SUPPORT" "ROLE_LIQUIDITY_REPORT_READER" "ROLE_ROLE_CASH_MANAGER" "ROLE_DATA_SCIENCE" "ROLE_READER" description string Описание isPublished boolean Публиковать на сайтеПубликовать на сайте direction string Направление fullNameTranslit string slug из имени-фамилии phones Array of strings (Phone) updatedAt string <date-time> gallery Array of objects (Gallery) contactInfo Array of strings districts Array of strings education object (Education) courses object (Course) cases object (Case) office string офис, может быть задан только работникам homeapp enum из словаря офисов employeeInfo object (EmployeeInfo) RESPONSES 200 Объект пользователя RESPONSE SCHEMA: APPLICATION/JSON success boolean data object patch/user/{id} Production https://homeapp.team/api/user/{id} Mock serveer http://127.0.0.1:4010/api/user/{id} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string", * "employeeInfo": { * "firedAt": "2019-08-24T14:15:22Z", * "firedType": "fired", * "firedReason": "leaves_real_estate", * "firedComment": "string", * "attractionChannel": "recommendations", * "attractionChannelExplain": "string" } } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string", * "employeeInfo": { * "firedAt": "2019-08-24T14:15:22Z", * "firedType": "fired", * "firedReason": "leaves_real_estate", * "firedComment": "string", * "attractionChannel": "recommendations", * "attractionChannelExplain": "string" } } } ВЫБОРКА ТОЛЬКО ЭКСПЕРТОВ Выборка только экспертов RESPONSES 200 Список пользователей RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (UserData) pageParams object get/experts/published Production https://homeapp.team/api/experts/published Mock serveer http://127.0.0.1:4010/api/experts/published RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" } ], * "pageParams": { * "page": 1, * "lenght": 1 } } СПРАВОЧНИК Справочник RESPONSES 200 Список пользователей RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (UserData) pageParams object get/dictionary/user Production https://homeapp.team/api/dictionary/user Mock serveer http://127.0.0.1:4010/api/dictionary/user RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" } ], * "pageParams": { * "page": 1, * "lenght": 1 } } НАЗНАЧЕНИЕ ПОДЧИНЁННЫХ Назначает подченённых руководителю. Уровень (level) руководителя должен быть выше, чем у подчинённых. По умолчанию, у сотрудника самый низкий уровень. Уровни в порядке пониженя должности: sales_head, teamleader, expert. Если у руководителя были подчинённые, которые не вошли в список, передаваемый в данном запросе, то руководитель перестаёт управлять ими. Если передать пустой список подчинённых, то руководител перестанет управлять всеми сотрудниками, которые были у него в подчинении до этого. Помимо данного запроса можно редактировать записи отдельных сотрудников, назначая им руководителя через поле supervisorId. PATH PARAMETERS userId required integer <int32> User id REQUEST BODY SCHEMA: APPLICATION/JSON userIds Array of integers <int32> RESPONSES 200 OK put/user/supervise/{userId} Production https://homeapp.team/api/user/supervise/{userId} Mock serveer http://127.0.0.1:4010/api/user/supervise/{userId} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "userIds": [ * 1 ] } AUTH Auth end points https://home-app.atlassian.net/wiki/spaces/BAC/pages/619118596/ ПРОВЕРКА ПАРОЛЯ. REQUEST BODY SCHEMA: APPLICATION/JSON phone required string (Phone) ^\d{11} password required string <password> RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data object post/user/auth/check-pass Production https://homeapp.team/api/user/auth/check-pass Mock serveer http://127.0.0.1:4010/api/user/auth/check-pass REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "phone": "string", * "password": "pa$$word" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "key": "string", * "createdAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "user": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "login": "string", * "phones": [ * "string" ] } } } ПЕРВЫЙ МЕТОД ПРИНИМАЕТ ТЕЛЕФОН ПОЛЬЗОВАТЕЛЯ И ОТПРАВЛЯЕТ ЕМУ ОДНОРАЗОВЫЙ ПАРОЛЬ. ЕСЛИ ПОЛЬЗОВАТЕЛЯ С ТАКИМ ТЕЛЕФОНОМ НЕТ В СИСТЕМЕ — ОН СОЗДАЕТСЯ. QUERY PARAMETERS phone required string (Phone) ^\d{11} User phone number RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data object 404 Not found 422 Login is required get/user/auth/get-pass Production https://homeapp.team/api/user/auth/get-pass Mock serveer http://127.0.0.1:4010/api/user/auth/get-pass RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "expiresAt": "2026-08-24T14:15:22Z" } } ПРОВЕРКА ПРАВ ПОЛЬЗОВАТЕЛЯ AUTHORIZATIONS: headerAuth RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/user/auth/session Production https://homeapp.team/api/user/auth/session Mock serveer http://127.0.0.1:4010/api/user/auth/session RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "key": "string", * "createdAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "user": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "login": "string", * "phones": [ * "string" ] } } } SERVICE-REQUEST Service request end points https://home-app.atlassian.net/wiki/spaces/BAC/pages/647790593/API ИНФОРМАЦИИ ПО ЗОУ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> Id зоу RESPONSES 200 Ответ завист от роли пользователя указан ответ только для роли: * (role_user)клиент RESPONSE SCHEMA: APPLICATION/JSON success boolean data object or ServiceRequest (object) get/service-request/{id} Production https://homeapp.team/api/service-request/{id} Mock serveer http://127.0.0.1:4010/api/service-request/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "publicationTestPeriodDays": 14, * "status": "lead_expert", * "moderationStatus": "none", * "category": "depublished", * "description": "string", * "buyParams": null, * "sellParams": null, * "hasNotifications": true, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "hasValuations": true, * "hasPublishedValuations": true, * "lastPublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasDeveloperCommission": true, * "contract": { * "approvedAt": "2020-11-23", * "createdAt": "2020-11-12", * "signedAt": "2021-01-02", * "expiresAt": "2021-01-12", * "id": 0, * "kind": "not-exclusive", * "type": "buy", * "deal": { * "id": 0, * "createdAt": "Y-m-d H:i:s", * "hasPrepayment": true, * "status": "create", * "prepaymentPlannedAt": "Y-m-d H:i:s", * "prepaidAt": "Y-m-d H:i:s", * "dealSignPlannedAt": "Y-m-d H:i:s", * "dealSignedAt": "Y-m-d H:i:s", * "registerPlannedAt": "Y-m-d H:i:s", * "registeredAt": "Y-m-d H:i:s", * "commissionPlannedAt": "Y-m-d H:i:s", * "commissionAt": "Y-m-d H:i:s", * "dealDoneAt": "Y-m-d H:i:s", * "updatedAt": "Y-m-d H:i:s", * "terminatedAt": "Y-m-d H:i:s", * "terminationRequestedAt": "Y-m-d H:i:s", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "participants": [ * { * "id": 0, * "name": "string", * "position": "string", * "other": "string", * "side": "string" } ], * "lawyer": { * "firstName": "string", * "lastName": "string", * "patronymic": "string", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ] } } } } } СПИСОК ЗОУ AUTHORIZATIONS: headerAuth QUERY PARAMETERS filter[user.phones.phone.number] required integer <int32> Номер телефона клиента RESPONSES 200 Ответ завист от роли пользователя указан ответ только для роли: * (role_user)клиент RESPONSE SCHEMA: APPLICATION/JSON data Array of objects (ServiceRequest) get/service-request Production https://homeapp.team/api/service-request Mock serveer http://127.0.0.1:4010/api/service-request RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "data": [ * { * "publicationTestPeriodDays": 14 } ] } СПИСОК ЗОУ (КОРОТКАЯ ФОРМА) AUTHORIZATIONS: headerAuth QUERY PARAMETERS filter object Filter limits object Количество элементов на странице sorting object Сортировка RESPONSES 200 SUCCESS RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (ShortInfoForList) pageParams object (page_params_schema) 401 UNAUTHORIZED RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/service-request/short Production https://homeapp.team/api/service-request/short Mock serveer http://127.0.0.1:4010/api/service-request/short RESPONSE SAMPLES * 200 * 401 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 1, * "realty": { * "address": { * "fullAddress": "Россия, Московская область, Реутов, Комсомольская улица, 26" } }, * "curator": { * "id": 1, * "firstName": "Иван", * "lastName": "Иванов", * "patranomyc": "Иванович", * "roles": [ * "expert" ] }, * "contract": { * "formalId": "НЭ6/99999/1", * "approvedAt": "2019-08-24T14:15:22Z" }, * "photosOrder": { * "createdAt": "2019-08-24T14:15:22Z" }, * "publicationTestPeriodDays": 14, * "lastPublishedAt": "2019-08-24T14:15:22Z", * "isPublished": true, * "status": "lead_expert", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z" } ], * "pageParams": { * "page": 0, * "length": 0 } } СОКРАЩЕННОЙ ИНФОРМАЦИИ ПО ЗОУ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> Id зоу RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (ShortInfo) Краткая информация о зоу get/service-request/short/{id} Production https://homeapp.team/api/service-request/short/{id} Mock serveer http://127.0.0.1:4010/api/service-request/short/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "realtyType": "flat", * "address": { * "fullAddress": "string" }, * "floor": 0, * "floorsNumber": 0, * "roomsNumber": 0, * "area": 0.1, * "price": 0.1, * "images": [ * "http://example.com" ], * "user": { * "name": "string", * "phone": 0 }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "publicationTestPeriodDays": 14 } } СОЗДАТЬ ОТЗЫВОВ AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON rating required integer [ 1 .. 5 ] serviceRequestId required integer text string <= 1000 characters RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (Review) Отзыв о ЗОУ post/service-request/review Production https://homeapp.team/api/service-request/review Mock serveer http://127.0.0.1:4010/api/service-request/review REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "rating": 1, * "serviceRequestId": 0, * "text": "Cool system" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "rating": 1, * "serviceRequiestId": 0, * "text": "string" } } ВОССТАНОВИТЬ ЗОУ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> ЗОУ ID RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean patch/service-request/restore/{id} Production https://homeapp.team/api/service-request/restore/{id} Mock serveer http://127.0.0.1:4010/api/service-request/restore/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true } ОБРАТНАЯ СВЯЗЬ AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON category required string Enum: "expert_work" "technical" "other" "price_down_request" serviceRequestId required integer text string <= 1000 characters RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (Feedback) Обратная связь post/service-request/feedback Production https://homeapp.team/api/service-request/feedback Mock serveer http://127.0.0.1:4010/api/service-request/feedback REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "category": "expert_work", * "serviceRequestId": 0, * "text": "I have a question" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "category": "expert_work", * "serviceRequiestId": 0, * "text": "string" } } ВЫЧИСЛЕНИЯ ПРОЦЕНТА ИЗМЕНЕНИЯ ПРИВЛЕКАТЕЛЬНОСТИ ОБЪЕКТА ПОСЛЕ ПАДЕНИЯ ЦЕН Если объект был понижен в стоимости (попал в discounted), на сколько изменилось количество звонков после последнего понижения стоимости. AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> Id зоу RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (DiscountEfficiencyPercent) Процента изменения привлекательности get/service-request/discount-efficiency-percent/{id} Production https://homeapp.team/api/service-request/discount-efficiency-percent/{id} Mock serveer http://127.0.0.1:4010/api/service-request/discount-efficiency-percent/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "percent": 48 } } КАТЕГОРИИ ЗОУ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> Id зоу QUERY PARAMETERS filter[category] string Enum: "depublished" "discounted" "cold" "warm" "new" "hot" Фильтр по категории limits[count] integer <int32> Количество элементов на странице limits[page] integer <int32> Default: 1 Номер страницы sorting[type] string Default: "createdAt" Enum: "id" "createdAt" "category" Поле по которому сортируем sorting[direction] string Default: "desc" Enum: "asc" "desc" Направление сортировки sorting[base] string Deprecated Default: null RESPONSES 200 Ok RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (ServiceRequstCategory) pageParams object (page_params_schema) 401 UNAUTHORIZED 403 FORBIDDEN 404 NOT FOUND get/service-request-category/{id} Production https://homeapp.team/api/service-request-category/{id} Mock serveer http://127.0.0.1:4010/api/service-request-category/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "category": "depublished", * "movedAt": "2021-02-08 04:43:43" } ], * "pageParams": { * "page": 0, * "length": 0 } } ПРОВЕРИТЬ ЕСТЬ ЛИ У ПОЛЬЗОВАТЕЛЯ УЖЕ ОПУБЛИКОВАННЫЙ ЗОУ AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON user object RESPONSES 200 Есть опубликованный ЗОУ RESPONSE SCHEMA: APPLICATION/JSON Array () success boolean data object (ShortInfo) Краткая информация о зоу 204 Всё ок post/service-request/duplicate Production https://homeapp.team/api/service-request/duplicate Mock serveer http://127.0.0.1:4010/api/service-request/duplicate REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "user": { * "login": "string" } } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all [ * { * "success": true, * "data": { * "realtyType": "flat", * "address": { * "fullAddress": "string" }, * "floor": 0, * "floorsNumber": 0, * "roomsNumber": 0, * "area": 0.1, * "price": 0.1, * "images": [ * "http://example.com" ], * "user": { * "name": "string", * "phone": 0 }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "publicationTestPeriodDays": 14 } } ] КАТЕГОРИИ ЗОУ ТОЛЬКО ПЕРЕХОДЫ Если несколько дней держится одна и та-же категория то метод уберет из выдачи повторяющие. AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> Id зоу QUERY PARAMETERS filter object RESPONSES 200 Ok RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (ServiceRequstCategory) 401 UNAUTHORIZED 403 FORBIDDEN 404 NOT FOUND get/service-request-category/{id}/grouped Production https://homeapp.team/api/service-request-category/{id}/grouped Mock serveer http://127.0.0.1:4010/api/service-request-category/{id}/grouped RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "category": "depublished", * "movedAt": "2021-02-08 04:43:43" } ] } ЧАТЫ В ЗОУ Идентификаторы чатов в ЗОУ PATH PARAMETERS id required integer <int32> id ЗОУ RESPONSES 200 Найденные чаты RESPONSE SCHEMA: APPLICATION/JSON success boolean data object 404 Чаты не найдены RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/service-request/{id}/chat Production https://homeapp.team/api/service-request/{id}/chat Mock serveer http://127.0.0.1:4010/api/service-request/{id}/chat RESPONSE SAMPLES * 200 * 404 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "chats": [ * "string" ] } } ИСТОРИЯ ПЕРЕПИСКИ История переписки в чате ЗОУ PATH PARAMETERS id required integer <int32> id ЗОУ chatId required string <uuid> id чата (доступные чаты можно получить по /service-request/{id}/chat) RESPONSES 200 Найденные сообщения в чате RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects 404 Чат не найден RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/service-request/{id}/chat/{chatId}/message Production https://homeapp.team/api/service-request/{id}/chat/{chatId}/message Mock serveer http://127.0.0.1:4010/api/service-request/{id}/chat/{chatId}/message RESPONSE SAMPLES * 200 * 404 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "createdAt": "2019-08-24T14:15:22Z", * "user": { * "id": 0 }, * "from": { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "contactId": "string", * "createdAt": "2019-08-24T14:15:22Z", * "side": "string", * "displayName": "string" }, * "content": "string" } ] } LIST BUYER STATUSES Role: ROLE_CLIENT_WATCHER, ROLE_USER PATH PARAMETERS id required integer id ЗОУ RESPONSES 200 Список отчетов, составленных по ЗОУ RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (ReportForSellerData) get/service-request/{id}/report-for-seller Production https://homeapp.team/api/service-request/{id}/report-for-seller Mock serveer http://127.0.0.1:4010/api/service-request/{id}/report-for-seller RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * [ * { * "serviceRequestId": 123, * "createdAt": "23-08-2021 12:45:01", * "from": "29-04-2020 08:45:61", * "to": "12-08-2021 10:07:20", * "stats": { * "priceStatus": "В рынке", * "views": 123, * "calls": 321, * "shows": 666, * "rejections": 777 }, * "closingReasons": [ * { * "label": "Уехал в Абхазию", * "value": 0.1 }, * { * "label": "Купил Молоко", * "value": 0.7 }, * { * "label": "Тупо забил чёт", * "value": 0.2 } ] } ] ] } LIST BUYER STATUSES Role: ROLE_CLIENT_WATCHER PATH PARAMETERS id required integer id ЗОУ REQUEST BODY SCHEMA: APPLICATION/JSON comment string from string <date-time> to string <date-time> stats object closingReasons Array of objects RESPONSES 201 Отчетов, составленных по ЗОУ RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (ReportForSellerData) post/service-request/{id}/report-for-seller Production https://homeapp.team/api/service-request/{id}/report-for-seller Mock serveer http://127.0.0.1:4010/api/service-request/{id}/report-for-seller REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all [ * { * "from": "29-04-2020 08:45:61", * "to": "12-08-2021 10:07:20", * "stats": { * "priceStatus": "В рынке", * "views": 123, * "calls": 321, * "shows": 666, * "rejections": 777 }, * "closingReasons": [ * { * "label": "Уехал в Абхазию", * "value": 0.1 }, * { * "label": "Купил Молоко", * "value": 0.7 }, * { * "label": "Тупо забил чёт", * "value": 0.2 } ] } ] RESPONSE SAMPLES * 201 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "serviceRequestId": 123, * "createdAt": "23-08-2021 12:45:01", * "from": "29-04-2020 08:45:61", * "to": "12-08-2021 10:07:20", * "stats": { * "priceStatus": "В рынке", * "views": 123, * "calls": 321, * "shows": 666, * "rejections": 777 }, * "closingReasons": [ * { * "label": "Уехал в Абхазию", * "value": 0.1 }, * { * "label": "Купил Молоко", * "value": 0.7 }, * { * "label": "Тупо забил чёт", * "value": 0.2 } ] } ] } ПРИВЯЗАТЬ К ЗОУ ОБЪЕКТ НЕДВИЖИМОСТИ Объект недвижимости должен существовать и НЕ быть привязан к другому ЗОУ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> ЗОУ ID REQUEST BODY SCHEMA: APPLICATION/JSON realtyExtId required integer идентификатор объекта недвижимости RESPONSES 202 Объект привязан RESPONSE SCHEMA: APPLICATION/JSON success boolean data object 403 Доступ запрещен (привязывать может только эксперт, который ведет ЗОУ) RESPONSE SCHEMA: APPLICATION/JSON success boolean data object 404 Объект недвижимости не найден\уже привязан к другому ЗОУ RESPONSE SCHEMA: APPLICATION/JSON success boolean data object patch/service-request/attach-realty/{id} Production https://homeapp.team/api/service-request/attach-realty/{id} Mock serveer http://127.0.0.1:4010/api/service-request/attach-realty/{id} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "realtyExtId": 123 } RESPONSE SAMPLES * 202 * 403 * 404 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { } } СЛОВАРИ ДЛЯ ЗОУ RESPONSES 200 Список словарей RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (service-request-dictionary_Dictionary) get/dictionary/service-request Production https://homeapp.team/api/dictionary/service-request Mock serveer http://127.0.0.1:4010/api/dictionary/service-request RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "field": "type", * "nullable": true, * "values": [ * { * "code": "string", * "name": "string" } ] } ] } ВОЗВРОЩАЕТ ССЫЛКУ ДЛЯ ВСТУПЛЕНИЯ В ЧАТ PATH PARAMETERS id required integer <int32> id ЗОУ RESPONSES 200 Return invite link to telegram RESPONSE SCHEMA: APPLICATION/JSON Array () uri string <uri> type string (MessengerEnum) Value: "telegram" 404 Service request not found RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/messenger/invite/{id} Production https://homeapp.team/api/messenger/invite/{id} Mock serveer http://127.0.0.1:4010/api/messenger/invite/{id} RESPONSE SAMPLES * 200 * 404 Content type application/json Copy Expand all Collapse all [ * { * "uri": "http://example.com", * "type": "telegram" } ] CALL-CENTER Эндпойнты для внутренней телефонии https://home-app.atlassian.net/wiki/spaces/BAC/pages/1616216084/API+voximplant ENDPOINT ДЛЯ СОЗДАНИЯ СОЗДАНИЕ ЗВОНКА МЕЖДУ ОПЕРАТОРОМ И ЭКСПЕРТОМ AUTHORIZATIONS: cookieAuth PATH PARAMETERS userId required integer <int32> User id callTaskId required integer <int32> call task id RESPONSES 200 Создание звонка к эксперту post/call-center/call-task/{callTaskId}/call/{userId} Production https://homeapp.team/api/call-center/call-task/{callTaskId}/call/{userId} Mock serveer http://127.0.0.1:4010/api/call-center/call-task/{callTaskId}/call/{userId} ОСУЩЕСТВЛЯЕТ СОЕДЕНЕНИЕ МЕЖДУ ПОЛЬЗОВАТЕЛЕМ И ЭКСПЕРТОМ AUTHORIZATIONS: cookieAuth PATH PARAMETERS userId required integer <int32> User id callTaskId required integer <int32> call task id RESPONSES 200 Соеденить клиента с пользователем post/call-center/call-task/{callTaskId}/join/{userId} Production https://homeapp.team/api/call-center/call-task/{callTaskId}/join/{userId} Mock serveer http://127.0.0.1:4010/api/call-center/call-task/{callTaskId}/join/{userId} ВОЗВРАЩАЕТ CALL OPERATOR ОБРАТНО К КЛИЕНТУ AUTHORIZATIONS: cookieAuth PATH PARAMETERS callTaskId required integer <int32> call task id RESPONSES 200 Возвращение эксперта к клиенту. post/call-center/call-task/{callTaskId}/return/client Production https://homeapp.team/api/call-center/call-task/{callTaskId}/return/client Mock serveer http://127.0.0.1:4010/api/call-center/call-task/{callTaskId}/return/client ВХОДЯЩИЙ ХУК VOXIMPLANT REQUEST BODY SCHEMA: APPLICATION/JSON extId required integer <int32> ID звонка в Voximplant callerId integer <int32> ID звонящего calleeId integer <int32> ID кому звонят secretUrl required string URL для управления звонком в Voximplant RESPONSES 200 ОК put/calls/voximplant/incoming/hook Production https://homeapp.team/api/calls/voximplant/incoming/hook Mock serveer http://127.0.0.1:4010/api/calls/voximplant/incoming/hook REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "extId": 0, * "callerId": 0, * "calleeId": 0, * "secretUrl": "string" } ХУКИ VOXIMPLANT REQUEST BODY SCHEMA: APPLICATION/JSON id required integer <int32> >= 1 Внутренний для clients ID звонка type required string Enum: "connect" "disconnect" "fail" "record" Тип хука part required string Enum: "inner" "outer" Сторона разговора (inner для клиента, outer для эксперта или оператора) agent string Enum: "operator" "expert" terminating boolean Завершить ли все связанные с этим звонки data errorData (object) or otherData (object) isCalltouch boolean RESPONSES 200 Ок put/calls/voximplant/v2/hook Production https://homeapp.team/api/calls/voximplant/v2/hook Mock serveer http://127.0.0.1:4010/api/calls/voximplant/v2/hook REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "id": 1, * "type": "connect", * "part": "inner", * "agent": "operator", * "terminating": true, * "data": { * "code": 0, * "error": "string" }, * "isCalltouch": true } ДОБАВИТЬ КОММЕНТАРИЙ Добавление комментария к существующему звонку. AUTHORIZATIONS: headerAuth PATH PARAMETERS callId required string <uuid> ID звонка REQUEST BODY SCHEMA: APPLICATION/JSON text string <date-time> RESPONSES 200 Возвращает данные о созданном комментарии RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (comment_schema) 403 Недостаточно прав 404 Звонок не найден post/call/{callId}/comment Production https://homeapp.team/api/call/{callId}/comment Mock serveer http://127.0.0.1:4010/api/call/{callId}/comment REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "text": "2019-08-24T14:15:22Z" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "callId": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "text": "string", * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" } } } СПИСОК КОММЕНТАРИЕВ Получить список комментариев к звонку. QUERY PARAMETERS filter object RESPONSES 200 Список комментариев RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (comment_schema) pageParams object get/comment Production https://homeapp.team/api/comment Mock serveer http://127.0.0.1:4010/api/comment RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "callId": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "text": "string", * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" } } ], * "pageParams": { * "page": 0, * "length": 0 } } СОЗДАТЬ КОММЕНТАРИЙ Создание комментария без привязки к звонку. AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON text string <date-time> RESPONSES 200 Возвращает данные о созданном комментарии RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (comment_schema) 403 Недостаточно прав post/comment Production https://homeapp.team/api/comment Mock serveer http://127.0.0.1:4010/api/comment REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "text": "2019-08-24T14:15:22Z" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "callId": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "text": "string", * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" } } } УДАЛИТЬ КОММЕНТАРИЙ Удаление комментария. AUTHORIZATIONS: headerAuth PATH PARAMETERS commentId required string <uuid> ID комментария REQUEST BODY SCHEMA: APPLICATION/JSON text string <date-time> RESPONSES 204 Комментарий удален 403 Недостаточно прав 404 Комментарий не найден delete/comment/{commentId} Production https://homeapp.team/api/comment/{commentId} Mock serveer http://127.0.0.1:4010/api/comment/{commentId} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "text": "2019-08-24T14:15:22Z" } РАСЧЕТНЫЙ ЛИСТ СКОРРЕКТИРОВАТЬ РАСЧЕТНЫЙ ЛИСТ Финансист может скорректировать расчетный лист если сочтет нужным * ROLE_DEVELOPER * ROLE_FINANCE AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int64> ID ЗОУ REQUEST BODY SCHEMA: APPLICATION/JSON One of AdjustmentAdjustmentPayCommission financeAdjustment required integer <int64> (FinanceAdjustmentType) корректировка финансиста. Может быть со знаком + либо со знаком - . Разница относительно final_bonus. financeComment required string (FinanceCommentType) Nullable комментарий к корректировке от финансиста (к полю finance_adjustment. Ответ на вопрос - почему так?) ifFinalNotification required boolean (IfFinalNotificationType) было ли выплачена комиссия эксперту RESPONSES 200 Успешный ответ RESPONSE SCHEMA: APPLICATION/JSON serviceRequestId required integer <int64> ID ЗОУ payslipMeta required object Информация о листе хранящиеся в нашей системе finalBonus required integer <int64> финальный бонус эксперта (с учетом всех корректировок) formalId string Nullable Номер контракта(договора) dealId integer <int64> Nullable ID сделки lawyerId integer Nullable ID Юриста curatorId integer Nullable ID эксперта supervisorId integer Nullable ID РОПа mentorId integer Nullable ID Ментора dealType string Nullable Тип сделки dealStatus string Nullable Статус сделки closingDate string <date> Nullable Дата закрытия сделки (Нужно согласовать формат) expectedExpertPayoutDate string <date> Nullable ожидаемая дата выплаты коммиссии эксперту createdAt string <date> Nullable дата создания сделки advanceDate string <date> Nullable дата внесения аванса по сделке dealDate string <date> Nullable дата сделки signedAt string <date> Nullable дата подписания договора plannedCommission integer <int64> Nullable partnerCommission integer <int64> Nullable legalCharges integer <int64> Nullable стоимость юридических проверок netComission integer <int64> Nullable комиссия “чистая“ компании за вычетом налогов и других расходов. То что реально будем делить с экспертом. minNetComission integer <int64> Nullable минимальная допустимая чистая комиссия ifBelowMinimum boolean Nullable если комиссия ниже минимальной ifAmnesty boolean Nullable если есть амнистия, штраф за комиссию меньше минимальной Не применяется finalPrice integer <int64> Nullable финальная цена объекта effectivePercent number <float> Nullable эффективная ставка комиссия. процент, которые сейчас реально по сделке targetPercentFrom number <float> Nullable допустимый процент для текущей ценовой категории. от targetPercentTo number <float> Nullable допустимый процент для текущей ценовой категории. до. basePercent number <float> Nullable базовый процент расчета extraPercent number <float> Nullable процент за отклонение от диапазона. И вверх и вниз. baseComission integer <int64> Nullable в рублях. базовая комиссия. до вычетов и до прибавок comissionBelowMinimum integer <int64> Nullable на скольо ушел ниже минимальной comissionBelowTargetPercent integer <int64> Nullable в рублях. на сколько провалился comissionAboveTargetPercent integer <int64> Nullable в рублях. на сколько больше базового взял с клиента grossRevenue4MAll integer <int64> Nullable сумма комиссий по сделкам, закрытым экспертом за 3 месяца + текущий. (отсчитывается назад от даты закрытия текущей сделки) baseBonusAll integer <int64> Nullable базовый бонус - сумма бонуса после рассчета по ступеням baseBonusPercentAll number <float> Nullable процент, который составляет base_bonus_all ота чистой комиссии компании chargesComissionBelowMinimumAll number <float> Nullable итоговй штраф в рублях за комиссию ниже минимальной chargesComissionBelowTargetPercentAll number <float> Nullable вычет за продажу дешевле целевого диапазона chargesComissionAboveTargetPercentAll number <float> Nullable бонус за продажу дороже целевого диапазона effectiveBonusAll number <float> Nullable * эффективный бонус эксперта в рублях effectiveBonusPercentAll number <float> Nullable процент эффективного бонуса. (от чистой комиссии компании, которую получит эксперт) allRelevantDeals Array of integers <int64> список id сделок, которые учавсстуют в рассчете вала эксперта traineeAdjustmentFact integer <int64> Nullable автоматическая корректировка, относительно effective_bonus_all (корректировки по стажерам) negativeAdjustmentFact integer <int64> Nullable автоматическая корректировка, относительно effective_bonus_all (прочие корректировки) financeAdjustment integer <int64> корректировка финансиста. Может быть со знаком + либо со знаком - . Разница относительно final_bonus. financeComment string Nullable комментарий к корректировке от финансиста (к полю finance_adjustment. Ответ на вопрос - почему так?) ifFinalNotification boolean было ли выплачена комиссия эксперту levels Array of objects (Level) >= 5 items Cтупени мотивации put/payslip/{id}/adjust Production https://homeapp.team/api/payslip/{id}/adjust Mock serveer http://127.0.0.1:4010/api/payslip/{id}/adjust REQUEST SAMPLES * Payload Content type application/json Example Adjustment Adjustment AdjustmentPayCommission Copy Expand all Collapse all { * "financeAdjustment": 28000, * "financeComment": "по личной договоренности с РОП начислены доп.средства", * "ifFinalNotification": true } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "serviceRequestId": 1000, * "payslipMeta": { * "updatedAt": "2019-08-24T14:15:22Z", * "createdAt": "2019-08-24T14:15:22Z" }, * "finalBonus": 65091, * "formalId": "Ф7/20066/1", * "dealId": 1260, * "lawyerId": 0, * "curatorId": 0, * "supervisorId": 0, * "mentorId": 0, * "dealType": "Продажа", * "dealStatus": "Сделка закрыта", * "closingDate": "2021-10-20", * "expectedExpertPayoutDate": "2021-11-20", * "createdAt": "2021-09-20", * "advanceDate": "2021-09-25", * "dealDate": "2021-10-15", * "signedAt": "2021-08-20", * "plannedCommission": 200000, * "partnerCommission": 30000, * "legalCharges": 40000, * "netComission": 200000, * "minNetComission": 150000, * "ifBelowMinimum": true, * "ifAmnesty": true, * "finalPrice": 25300000, * "effectivePercent": 0.79, * "targetPercentFrom": 2, * "targetPercentTo": 2.5, * "basePercent": 2, * "extraPercent": -1.21, * "baseComission": 506000, * "comissionBelowMinimum": 0, * "comissionBelowTargetPercent": 306000, * "comissionAboveTargetPercent": 0, * "grossRevenue4MAll": 100000, * "baseBonusAll": 172400, * "baseBonusPercentAll": 34.07, * "chargesComissionBelowMinimumAll": 0, * "chargesComissionBelowTargetPercentAll": 132309.1, * "chargesComissionAboveTargetPercentAll": 0, * "effectiveBonusAll": 40090.9, * "effectiveBonusPercentAll": 20.05, * "allRelevantDeals": [ * 1243, * 5412 ], * "traineeAdjustmentFact": 5000, * "negativeAdjustmentFact": -8000, * "financeAdjustment": 0, * "financeComment": "string", * "ifFinalNotification": true, * "levels": [ * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 } ] } ПОЛУЧИТЬ РАСЧЕТНЫЙ ЛИСТ ПО ID Данные объект генерируется внешней системой. AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int64> ID ЗОУ RESPONSES 200 Успешный ответ RESPONSE SCHEMA: APPLICATION/JSON data required object (Payslip) Расчетный лист get/payslip/{id} Production https://homeapp.team/api/payslip/{id} Mock serveer http://127.0.0.1:4010/api/payslip/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "data": { * "serviceRequestId": 1000, * "payslipMeta": { * "updatedAt": "2019-08-24T14:15:22Z", * "createdAt": "2019-08-24T14:15:22Z" }, * "finalBonus": 65091, * "formalId": "Ф7/20066/1", * "dealId": 1260, * "lawyerId": 0, * "curatorId": 0, * "supervisorId": 0, * "mentorId": 0, * "dealType": "Продажа", * "dealStatus": "Сделка закрыта", * "closingDate": "2021-10-20", * "expectedExpertPayoutDate": "2021-11-20", * "createdAt": "2021-09-20", * "advanceDate": "2021-09-25", * "dealDate": "2021-10-15", * "signedAt": "2021-08-20", * "plannedCommission": 200000, * "partnerCommission": 30000, * "legalCharges": 40000, * "netComission": 200000, * "minNetComission": 150000, * "ifBelowMinimum": true, * "ifAmnesty": true, * "finalPrice": 25300000, * "effectivePercent": 0.79, * "targetPercentFrom": 2, * "targetPercentTo": 2.5, * "basePercent": 2, * "extraPercent": -1.21, * "baseComission": 506000, * "comissionBelowMinimum": 0, * "comissionBelowTargetPercent": 306000, * "comissionAboveTargetPercent": 0, * "grossRevenue4MAll": 100000, * "baseBonusAll": 172400, * "baseBonusPercentAll": 34.07, * "chargesComissionBelowMinimumAll": 0, * "chargesComissionBelowTargetPercentAll": 132309.1, * "chargesComissionAboveTargetPercentAll": 0, * "effectiveBonusAll": 40090.9, * "effectiveBonusPercentAll": 20.05, * "allRelevantDeals": [ * 1243, * 5412 ], * "traineeAdjustmentFact": 5000, * "negativeAdjustmentFact": -8000, * "financeAdjustment": 0, * "financeComment": "string", * "ifFinalNotification": true, * "levels": [ * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 } ] } } ПОЛУЧИТЬ СПИСОК РАСЧЕТНЫХ ЛИСТОВ Доступен для ролей: финансовый менеджер, админ, data_science. QUERY PARAMETERS filter object sorting object RESPONSES 200 Успешный ответ RESPONSE SCHEMA: APPLICATION/JSON data required Array of objects (Payslip) get/payslip Production https://homeapp.team/api/payslip Mock serveer http://127.0.0.1:4010/api/payslip RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "data": [ * { * "serviceRequestId": 1000, * "payslipMeta": { * "updatedAt": "2019-08-24T14:15:22Z", * "createdAt": "2019-08-24T14:15:22Z" }, * "finalBonus": 65091, * "formalId": "Ф7/20066/1", * "dealId": 1260, * "lawyerId": 0, * "curatorId": 0, * "supervisorId": 0, * "mentorId": 0, * "dealType": "Продажа", * "dealStatus": "Сделка закрыта", * "closingDate": "2021-10-20", * "expectedExpertPayoutDate": "2021-11-20", * "createdAt": "2021-09-20", * "advanceDate": "2021-09-25", * "dealDate": "2021-10-15", * "signedAt": "2021-08-20", * "plannedCommission": 200000, * "partnerCommission": 30000, * "legalCharges": 40000, * "netComission": 200000, * "minNetComission": 150000, * "ifBelowMinimum": true, * "ifAmnesty": true, * "finalPrice": 25300000, * "effectivePercent": 0.79, * "targetPercentFrom": 2, * "targetPercentTo": 2.5, * "basePercent": 2, * "extraPercent": -1.21, * "baseComission": 506000, * "comissionBelowMinimum": 0, * "comissionBelowTargetPercent": 306000, * "comissionAboveTargetPercent": 0, * "grossRevenue4MAll": 100000, * "baseBonusAll": 172400, * "baseBonusPercentAll": 34.07, * "chargesComissionBelowMinimumAll": 0, * "chargesComissionBelowTargetPercentAll": 132309.1, * "chargesComissionAboveTargetPercentAll": 0, * "effectiveBonusAll": 40090.9, * "effectiveBonusPercentAll": 20.05, * "allRelevantDeals": [ * 1243, * 5412 ], * "traineeAdjustmentFact": 5000, * "negativeAdjustmentFact": -8000, * "financeAdjustment": 0, * "financeComment": "string", * "ifFinalNotification": true, * "levels": [ * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 } ] } ] } СОЗДАНИЯ РАСЧЕТНЫХ ЛИСТОВ Данные объект генерируется внешней системой. Создается несколько объектов за раз. Если объект есть в системе то данные заменяться. * ROLE_DEVELOPER * ROLE_DATA_SCIENCE AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON data Array of objects (Payslip) <= 500 items Расчетные листы RESPONSES 201 Успешный ответ RESPONSE SCHEMA: APPLICATION/JSON data Array of objects (ErrorItem) 422 Ошибка валидации RESPONSE SCHEMA: APPLICATION/JSON data required Array of objects (ErrorItem) non-empty post/payslip Production https://homeapp.team/api/payslip Mock serveer http://127.0.0.1:4010/api/payslip REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "data": [ * { * "serviceRequestId": 1000, * "finalBonus": 65091, * "formalId": "Ф7/20066/1", * "dealId": 1260, * "lawyerId": 0, * "curatorId": 0, * "supervisorId": 0, * "mentorId": 0, * "dealType": "Продажа", * "dealStatus": "Сделка закрыта", * "closingDate": "2021-10-20", * "expectedExpertPayoutDate": "2021-11-20", * "createdAt": "2021-09-20", * "advanceDate": "2021-09-25", * "dealDate": "2021-10-15", * "signedAt": "2021-08-20", * "plannedCommission": 200000, * "partnerCommission": 30000, * "legalCharges": 40000, * "netComission": 200000, * "minNetComission": 150000, * "ifBelowMinimum": true, * "ifAmnesty": true, * "finalPrice": 25300000, * "effectivePercent": 0.79, * "targetPercentFrom": 2, * "targetPercentTo": 2.5, * "basePercent": 2, * "extraPercent": -1.21, * "baseComission": 506000, * "comissionBelowMinimum": 0, * "comissionBelowTargetPercent": 306000, * "comissionAboveTargetPercent": 0, * "grossRevenue4MAll": 100000, * "baseBonusAll": 172400, * "baseBonusPercentAll": 34.07, * "chargesComissionBelowMinimumAll": 0, * "chargesComissionBelowTargetPercentAll": 132309.1, * "chargesComissionAboveTargetPercentAll": 0, * "effectiveBonusAll": 40090.9, * "effectiveBonusPercentAll": 20.05, * "allRelevantDeals": [ * 1243, * 5412 ], * "traineeAdjustmentFact": 5000, * "negativeAdjustmentFact": -8000, * "levels": [ * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 }, * { * "number": 4, * "revenue": 2000000, * "percent": 50, * "baseCommissionSum": 630000, * "bonus": 315000 } ] } ] } RESPONSE SAMPLES * 201 * 422 Content type application/json Copy Expand all Collapse all { * "data": [ * { * "property": "data", * "message": "Слишком много элементов в массиве" } ] } ЗАКАЗ ФОТОГРАФИЙ СПИСОК ЗАЯВОК AUTHORIZATIONS: headerAuth QUERY PARAMETERS filter object RESPONSES 200 Ok RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (photosOrderData) 401 UNAUTHORIZED 403 FORBIDDEN 404 NOT FOUND get/order-photos Production https://homeapp.team/api/order-photos Mock serveer http://127.0.0.1:4010/api/order-photos RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 1, * "status": "init", * "serviceRequestId": 1, * "addressId": 1, * "scheduledAt": "2019-08-24T14:15:22Z", * "renovation": "euro", * "expertPhone": "79011010101", * "hasAccessToFlat": true, * "comment": "Вход через арку", * "photographerName": "Иванов Иван", * "photographerPhone": "79022020202" } ] } СОЗДАТЬ ЗАЯВКУ AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON serviceRequestId required integer addressId required integer scheduledAt required string <date-time> renovation required string Enum: "none" "author" "cosmetic" "euro" expertPhone required string hasAccessToFlat required boolean comment string Nullable RESPONSES 201 Ok RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (photosOrderData) 401 UNAUTHORIZED 403 FORBIDDEN 404 NOT FOUND post/order-photos Production https://homeapp.team/api/order-photos Mock serveer http://127.0.0.1:4010/api/order-photos REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "serviceRequestId": 1, * "addressId": 1, * "scheduledAt": "2019-08-24T14:15:22Z", * "renovation": "euro", * "expertPhone": "79011010101", * "hasAccessToFlat": true, * "comment": "Вход через арку" } RESPONSE SAMPLES * 201 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 1, * "status": "init", * "serviceRequestId": 1, * "addressId": 1, * "scheduledAt": "2019-08-24T14:15:22Z", * "renovation": "euro", * "expertPhone": "79011010101", * "hasAccessToFlat": true, * "comment": "Вход через арку", * "photographerName": "Иванов Иван", * "photographerPhone": "79022020202" } } ДОКУМЕНТЫ СТАТУС ЗАПРОСА ДОКУМЕНТОВ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> Id контракта(брони) RESPONSES 200 Ok RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (contract-legal-document-status_schema) 401 UNAUTHORIZED 403 FORBIDDEN 404 NOT FOUND get/contract/{id}/legal-document Production https://homeapp.team/api/contract/{id}/legal-document Mock serveer http://127.0.0.1:4010/api/contract/{id}/legal-document RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "isLegalDocumentRequestAllowed": true, * "documents": [ * { * "status": "notRequested", * "requestedDate": "2020-11-12 00:00:00", * "explanation": [ * "Не указан номер квартиры" ], * "type": "egrn" } ] } ] } СОЗДАТЬ ЗАКАЗ ДОКУМЕНТОВ В РУЧНОМ РЕЖИМЕ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> Id контракта(брони) RESPONSES 201 Ok 401 UNAUTHORIZED 403 FORBIDDEN 404 NOT FOUND post/contract/{id}/legal-document Production https://homeapp.team/api/contract/{id}/legal-document Mock serveer http://127.0.0.1:4010/api/contract/{id}/legal-document МОТИВАЦИЯ ТЕКУЩИЙ СТАТУС ЭКСПЕРТА В СИСТЕМЕ МОТИВАЦИИ PATH PARAMETERS id required integer Эксперт ID RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (Bonus) get/motivation-status/{id} Production https://homeapp.team/api/motivation-status/{id} Mock serveer http://127.0.0.1:4010/api/motivation-status/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "count": 0, * "val": 450000, * "step": "Ступень 3", * "bonus": 40, * "nextBonus": 50, * "neededVal": 750000 } ] } CПРАВОЧНИК ПАРАМЕТРОВ РАССЧЕТА ДЛЯ СИСТЕМЫ МОТИВАЦИИ Константные значения, которые используются для рассчетов. RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (MotivationGlossary) get/motivation-glossary Production https://homeapp.team/api/motivation-glossary Mock serveer http://127.0.0.1:4010/api/motivation-glossary RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "minCommission": { * "buySecondary": [ * { * "categoryName": "Стоимость объекта до 30 млн.руб.", * "minPrice": 30000000, * "minCommission": 200, * "minCommissionUnit": "rub", * "legalDiligencePrice": 20, * "totalMinCommission": 220000 } ], * "legalSupport": [ * { * "categoryName": "Стоимость объекта до 30 млн.руб.", * "minPrice": 30000000, * "minCommission": 200, * "minCommissionUnit": "rub", * "legalDiligencePrice": 20, * "totalMinCommission": 220000 } ], * "sell": [ * { * "categoryName": "Стоимость объекта до 30 млн.руб.", * "minPrice": 30000000, * "minCommissionPercent": 2, * "recommendedCommissionPercent": "2,5", * "minCommissionAmount": 150000 } ] }, * "highCommissionBonusPercent": 20, * "steps": [ * { * "name": "Ступень 1", * "val": 200, * "bonus": 30 } ] } } КАЛЬКУЛЯТОР СИСТЕМЫ МОТИВАЦИИ AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON serviceType required string Enum: "sell" "buy_secondary" "buy_new" "legal_support" Тип оказываемой услуги price required integer Цена объекта недвижимости в рублях commission required integer Комиссия компании от продажи объекта, в рублях val required integer Вал - размер общей суммы привлеченной комиссии по всем сделкам за последние 3 полных и текущий месяцы. В рублях. partnerCommission integer Партнерская комиссия (актуально в случае партнерской сделки). Обрабатывается только при serviceType === sell developerCommission integer Комиссия застройщика, в рублях. Актуально только при покупке новостройки. Обрабатывается только при serviceType === buy_new legalDiligenceCount integer Количество необходимых юридических проверок. Актульно для покупки вторички. Обрабатывается только при serviceType === buy_secondary,legal_support isLowCommissionBonusFineByROP boolean Осуществляется ли вычет из бонуса за комиссию ниже допустимой за счет РОП. Обрабатывается вегда, кроме serviceType === buy_new RESPONSES 200 Результат рассчета параметров бонусной программы RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (CalculatorOut) post/motivation-calculator Production https://homeapp.team/api/motivation-calculator Mock serveer http://127.0.0.1:4010/api/motivation-calculator REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "serviceType": "sell", * "price": 10000000, * "commission": 300000, * "val": 600000, * "partnerCommission": 1, * "developerCommission": 1, * "legalDiligenceCount": 2, * "isLowCommissionBonusFineByROP": true } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "minCommission": 400000, * "recommendedCommission": 500000, * "commission": 480000, * "lowCommissionBonusFine": 0, * "additionalHighCommissionBonus": 70000, * "expertBonusBySteps": 310000, * "expertBonusPercentBySteps": 42.1, * "expertBonus": 340000, * "expertBonusPercent": 43.8, * "expertBonusPercentCalculation": [ * { * "stepName": "Ступень 3", * "commissionPart": 400, * "bonusPercent": 40, * "bonus": 160 } ], * "legalDiligencePrice": 40000 } } EXPERTS ВЫБОРКА ТОЛЬКО ЭКСПЕРТОВ Выборка только экспертов RESPONSES 200 Список пользователей RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (UserData) pageParams object get/experts/published Production https://homeapp.team/api/experts/published Mock serveer http://127.0.0.1:4010/api/experts/published RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" } ], * "pageParams": { * "page": 1, * "lenght": 1 } } СЧЕТ НА ОПЛАТУ СОЗДАТЬ СЧЕТ НА ОПЛАТУ Создание счета на оплату с последуюшие печатью. AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON dealId required integer ID сделки payer required string ФИО плательщика services required Array of objects RESPONSES 200 Успешно создананный счет RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (Bill) post/bill Production https://homeapp.team/api/bill Mock serveer http://127.0.0.1:4010/api/bill REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "dealId": 100, * "payer": "Иванов Иван Иванович", * "services": [ * { * "price": 100000, * "count": 1, * "tax": 0, * "type": "part_payment", * "unit": "piece" } ] } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "requisites": { * "companyName": "ООО \"Одуванчик\"", * "companyAddress": "г. Москва, ул. Ленина, дом 1", * "inn": 7727444636, * "kpp": 772701001, * "personalAccount": 40702810602500060000, * "bankName": "Банк \"Точка\"", * "bic": "044525999", * "correspondingAccount": 30101810845250003000 }, * "number": "34П", * "dealId": 100, * "payer": "Иванов Иван Иванович", * "qrString": "ST00011|Name=ООО \\\"ХОУМАП УСЛУГИ\\\"|PersonalAcc=40702810602500063562|BankName=ТОЧКА ПАО БАНКА \\\"ФК ОТКРЫТИЕ\\\" г. Москва|BIC=044525999|CorrespAcc=30101810845250000999|PayeeINN=7727444636|KPP=772701001|Sum=1234600|Purpose=Никифороваа Олеся Дмитриевна. Частичная оплата обеспечительного платежа по договору НЭ\\/4469\\/1 от 15.09.2021. Сумма 12346. Без налога (НДС). Номер счета 69П.|Contract=НЭ\\/4469\\/1|DocNo=69П|DocDate=2021-09-15", * "createdAt": "2019-08-24T14:15:22Z", * "services": [ * { * "price": 100000, * "count": 1, * "tax": 0, * "type": "part_payment", * "unit": "piece" } ] } } СПИСОК СЧЕТОВ Список счетов QUERY PARAMETERS filter object limits object Количество элементов на странице sorting object Сортировка RESPONSES 200 Список счетов RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (BillList) pageParams object (page_params_schema) get/bill/list Production https://homeapp.team/api/bill/list Mock serveer http://127.0.0.1:4010/api/bill/list RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "number": "34П", * "dealId": 100, * "payer": "Иванов Иван Иванович", * "qrString": "ST00011|Name=ООО \\\"ХОУМАП УСЛУГИ\\\"|PersonalAcc=40702810602500063562|BankName=ТОЧКА ПАО БАНКА \\\"ФК ОТКРЫТИЕ\\\" г. Москва|BIC=044525999|CorrespAcc=30101810845250000999|PayeeINN=7727444636|KPP=772701001|Sum=1234600|Purpose=Никифороваа Олеся Дмитриевна. Частичная оплата обеспечительного платежа по договору НЭ\\/4469\\/1 от 15.09.2021. Сумма 12346. Без налога (НДС). Номер счета 69П.|Contract=НЭ\\/4469\\/1|DocNo=69П|DocDate=2021-09-15", * "createdAt": "2019-08-24T14:15:22Z", * "services": [ * { * "price": 100000, * "count": 1, * "tax": 0, * "type": "part_payment", * "unit": "piece" } ] } ], * "pageParams": { * "page": 0, * "length": 0 } } КОНТРАКТЫ СПИСОК КОНТРАКТОВ Список контрактов QUERY PARAMETERS filter object RESPONSES 200 Список контрактов RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (contract_schema) pageParams object get/contract Production https://homeapp.team/api/contract Mock serveer http://127.0.0.1:4010/api/contract RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } ], * "pageParams": { * "page": 0, * "length": 0 } } ПОЛУЧИТЬ ДОГОВОР Получить набор данных для генерации договора PATH PARAMETERS contractId required integer RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data Для покупателя (object) or Для продавца (object) get/contract/{contractId}/document Production https://homeapp.team/api/contract/{contractId}/document Mock serveer http://127.0.0.1:4010/api/contract/{contractId}/document RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "contractSubject": [ * "buy" ], * "extraSubject": "string", * "commonArea": "string", * "legalDiligencePrice": 0, * "residueCommission": 0, * "buyer": "string", * "type": "buy", * "isValid": true, * "contractNumber": "string", * "signedAt": "2020-11-12", * "kind": "flat", * "address": "string", * "price": 0, * "commission": 0, * "supplyPayment": 0, * "endedAt": "2020-11-12", * "expertName": "string", * "expertPhone": 89901060545, * "expertEmail": "example@example.com", * "customers": [ * { * "name": "string", * "addressRegistered": "string", * "bornAt": "2020-11-12", * "actualResidenceAddress": "string", * "passportNumber": "string", * "givenBy": "string", * "givenAt": "2020-11-12", * "code": "dsafdsafd", * "phone": 8945663545445, * "email": "test_customer@test.tst" } ] } } СОХРАНИТЬ ДАННЫЕ ПО ДОГОВОРУ Сохранить данные для будущей генерации договора PATH PARAMETERS contractId required integer REQUEST BODY SCHEMA: APPLICATION/JSON One of Для покупателяДля продавца contractSubject Array of strings Items Enum: "buy" "escort" "realtyHistoryAnalyze" "contractCreating" "mortgageSupport" "mortgageRefinancing" "documentCollecting" "realtorConsulting" "documentSubmitting" "lawSupport" "otherServices" Предмет договора, buy - подбор объекта escort - содействие (сопровождение) realtyHistoryAnalyze - анализ истории объекта contractCreating - составление договора mortgageSupport - поддержка ипотеки mortgageRefinancing - рефинансирование documentCollecting - сбор доков realtorConsulting - выезд специалиста documentSubmitting - подача доков lawSupport - юридическое сопровождение otherServices - другие услуги extraSubject string Nullable Предмет договора - Другие услуги (записывается в свободном виде, 'contractSubject' имеет 'otherServices') commonArea string Nullable Общая площадь legalDiligencePrice integer Nullable Стоимость проверок (Р) buyer string Nullable ФИО покупателя type required string Enum: "buy" "sell" Определение типа контракта isValid boolean Достаточно ли данных для заполнения договора signedAt string Nullable YYYY-MM-DD Дата подписания kind string (contract-document-kind-enum_schema) Nullable Enum: "flat" "apartment" "house" "houseWithLand" "rightToDemand" Вид объекта - flat - Квартира - apartment - Апартаменты - house - Дом - houseWithLand - Дом с земельным участком - rightToDemand - Право требования address string Nullable Адрес объекта price integer Nullable Стоимость (Р) commission integer Nullable Комиссия (Р) supplyPayment integer Nullable Обеспечительный платеж (Р) endedAt string Nullable YYYY-MM-DD Дата окончания договора expertName string Nullable Эксперт expertPhone string Nullable Телефон эксперта expertEmail string Nullable Почта эксперта customers Array of objects RESPONSES 204 OK put/contract/{contractId}/document Production https://homeapp.team/api/contract/{contractId}/document Mock serveer http://127.0.0.1:4010/api/contract/{contractId}/document REQUEST SAMPLES * Payload Content type application/json Example Для покупателя Для покупателя Для продавца Copy Expand all Collapse all { * "contractSubject": [ * "buy" ], * "extraSubject": "string", * "commonArea": "string", * "legalDiligencePrice": 0, * "buyer": "string", * "type": "buy", * "isValid": true, * "signedAt": "2020-11-12", * "kind": "flat", * "address": "string", * "price": 0, * "commission": 0, * "supplyPayment": 0, * "endedAt": "2020-11-12", * "expertName": "string", * "expertPhone": 89901060545, * "expertEmail": "example@example.com", * "customers": [ * { * "name": "string", * "addressRegistered": "string", * "bornAt": "2020-11-12", * "actualResidenceAddress": "string", * "passportNumber": "string", * "givenBy": "string", * "givenAt": "2020-11-12", * "code": "dsafdsafd", * "phone": 8945663545445, * "email": "test_customer@test.tst" } ] } ПОЛУЧИТЬ КОНТРАКТ ПО ID Получить контракт по id PATH PARAMETERS contractId required integer RESPONSES 200 Контракт RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (contract_schema) get/contract/{contractId} Production https://homeapp.team/api/contract/{contractId} Mock serveer http://127.0.0.1:4010/api/contract/{contractId} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } } ПОДТВЕРЖДЕНИЕ БРОНИРОВАНИЯ КОНТРАКТА AUTHORIZATIONS: headerAuth PATH PARAMETERS contractId required integer <int32> ID контракта на подтверждение от РОПа REQUEST BODY SCHEMA: APPLICATION/JSON viewedAt string <date-time> время последнего просмотра клиентом информации о контракте approvedAt string <date-time> RESPONSES 200 Успешное бронирование контракта RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (contract_schema) 404 Конракт не найден RESPONSE SCHEMA: APPLICATION/JSON success boolean data object patch/contract/status/approved/{contractId} Production https://homeapp.team/api/contract/status/approved/{contractId} Mock serveer http://127.0.0.1:4010/api/contract/status/approved/{contractId} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "viewedAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z" } RESPONSE SAMPLES * 200 * 404 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } } ОТКАЗ В БРОНИРОВАНИИ КОНТРАКТА AUTHORIZATIONS: headerAuth PATH PARAMETERS contractId required integer <int32> ID контракта на отказ от РОПа REQUEST BODY SCHEMA: APPLICATION/JSON viewedAt string <date-time> время последнего просмотра клиентом информации о контракте declinedAt string <date-time> RESPONSES 200 Отказано в бронировании RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (contract_schema) 404 Контракт не найден RESPONSE SCHEMA: APPLICATION/JSON success boolean data object patch/contract/status/declined/{contractId} Production https://homeapp.team/api/contract/status/declined/{contractId} Mock serveer http://127.0.0.1:4010/api/contract/status/declined/{contractId} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "viewedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z" } RESPONSE SAMPLES * 200 * 404 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } } СЛОВАРИ ДЛЯ КОНТРАКТОВ RESPONSES 200 Список словарей RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (Dictionary) get/dictionary/contract Production https://homeapp.team/api/dictionary/contract Mock serveer http://127.0.0.1:4010/api/dictionary/contract RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "field": "type", * "nullable": true, * "values": [ * { * "code": "string", * "name": "string" } ] } ] } СДЕЛКИ (DEAL) СПИСОК СДЕЛОК Список сделок QUERY PARAMETERS filter object RESPONSES 200 Список сделок RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (dealData) pageParams object get/deal Production https://homeapp.team/api/deal Mock serveer http://127.0.0.1:4010/api/deal RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } ], * "pageParams": { * "page": 0, * "length": 0 } } СОЗДАНИЕ СДЕЛКИ AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON contract required object buyer required object hasPrepayment boolean prepaymentPlannedAt string <date-time> finalPrice required integer plannedCommission required integer <date-time> buyParams object Nullable RESPONSES 200 Запись была создана RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (dealData) post/deal Production https://homeapp.team/api/deal Mock serveer http://127.0.0.1:4010/api/deal REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "contract": { * "id": 1 }, * "buyer": { * "phone": "string", * "name": "string" }, * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" } } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } СДЕЛКА ПО ID Сделка по id PATH PARAMETERS id required integer RESPONSES 200 Сделка по id RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (dealData) get/deal/{id} Production https://homeapp.team/api/deal/{id} Mock serveer http://127.0.0.1:4010/api/deal/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } ОБНОВЛЕНИЕ СДЕЛКИ Редактирование сделки (только перданных параметров) AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer REQUEST BODY SCHEMA: APPLICATION/JSON id integer createdAt string <date-time> hasPrepayment boolean prepaymentPlannedAt string <date-time> prepaidAt string <date-time> dealSignedAt string <date-time> registeredAt string <date-time> commissionPlannedAt string <date-time> commissionAt string <date-time> dealDoneAt string <date-time> updatedAt string <date-time> terminatedAt string <date-time> terminationRequestedAt string <date-time> finalPrice integer plannedCommission integer receivedCommission integer terminationReason string buyer object (Buyer) participants Array of objects (participant_schema) contract object (contract_schema) status string comment string files Array of objects (fileInDeal_schema) Список файлов, прикрепленных к сделке actSignedAt string <date-time> Дата подписания акта с покупателем actDeveloperSignedAt string <date-time> Дата подписания акта с застройщиком, требуется при подборе новостройки от застройщика rollbackReason string isLawyerRequired boolean Требуется ли на сделке юрист lawyer object (UserData) lawyerNotRequiredReason string Nullable Enum: "from_developer" "no_lawyer_office" Причина, по которой сделка проводится без юрист (заполнен только при isLawyerRequired === false) incomes Array of objects (income_schema) partnerDealType string Nullable Enum: "partner_commission" "homeapp_commission" partnerCommission integer Nullable buyParams object Nullable RESPONSES 200 Сделка по id RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (dealData) patch/deal/{id} Production https://homeapp.team/api/deal/{id} Mock serveer http://127.0.0.1:4010/api/deal/{id} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" } } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } ДОБАВЛЕНИЕ НОВОЙ СУММЫ АВАНСА ДЛЯ СДЕЛКИ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> ID сделки REQUEST BODY SCHEMA: APPLICATION/JSON amount required integer <i64> incomeType required string Enum: "checking_account" "other" "cashbox" paymentType required string Enum: "checking_account" "advance_payment" "prepayment" "refund_of_advance" entryDate required string <date-time> comment string RESPONSES 200 Запись была создана RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (AdvanceAmount) 404 Сделка была не найдена post/deal/{id}/advance-amount Production https://homeapp.team/api/deal/{id}/advance-amount Mock serveer http://127.0.0.1:4010/api/deal/{id}/advance-amount REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "amount": 0, * "incomeType": "checking_account", * "paymentType": "checking_account", * "entryDate": "2019-08-24T14:15:22Z", * "comment": "string" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "amount": 0, * "incomeType": "checking_account", * "paymentType": "checking_account", * "dealId": 0, * "createdAt": "2019-08-24T14:15:22Z", * "entryDate": "2019-08-24T14:15:22Z", * "comment": "string" } } СПИСОК АВАНСОВ ДЛЯ СДЕЛКИ AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int32> ID сделки RESPONSES 200 Список авансов для сделки RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (AdvanceAmount) pageParams object 404 Сделка была не найдена get/deal/{id}/advance-amount Production https://homeapp.team/api/deal/{id}/advance-amount Mock serveer http://127.0.0.1:4010/api/deal/{id}/advance-amount RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "amount": 0, * "incomeType": "checking_account", * "paymentType": "checking_account", * "dealId": 0, * "createdAt": "2019-08-24T14:15:22Z", * "entryDate": "2019-08-24T14:15:22Z", * "comment": "string" } ], * "pageParams": { * "page": 0, * "length": 0 } } ИНФОРМАЦИИ ПО СДЕЛКАМ, ВЫПОЛНЕННЫХ ЭКСПЕРТОМ, СГРУППИРОВАНЫМ ПО МЕСЯЦАМ PATH PARAMETERS id required integer Эксперт ID QUERY PARAMETERS filter[from] required string Example: filter[from]=2021-01 Месяц с которого нужно получить статистику filter[to] required string Example: filter[to]=2021-07 Месяц по который нужно получить статистику RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (ExpertStatistic) get/deal/{id}/expert-statistic Production https://homeapp.team/api/deal/{id}/expert-statistic Mock serveer http://127.0.0.1:4010/api/deal/{id}/expert-statistic RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "month": "2021-05", * "count": 2, * "commission": 200000 } ] } СЛОВАРИ ДЛЯ СДЕЛОК RESPONSES 200 Список словарей RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (deal-dictionary_Dictionary) get/dictionary/deal Production https://homeapp.team/api/dictionary/deal Mock serveer http://127.0.0.1:4010/api/dictionary/deal RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "field": "sides", * "nullable": true, * "values": [ * { * "code": "string", * "name": "string" } ] } ] } AVAILABLE-FUNDS СПИСОК СЛОВАРЕЙ AUTHORIZATIONS: headerAuth RESPONSES 200 Список словарей RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of Array of objects (amount-dictionary_Dictionary) get/dictionary/available-funds Production https://homeapp.team/api/dictionary/available-funds Mock serveer http://127.0.0.1:4010/api/dictionary/available-funds RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * [ * { * "field": "string", * "nullable": true, * "values": [ * { * "code": "string", * "name": "string" } ] } ] ] } СОЗДАНИЕ Создание AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON serviceRequestId required integer <int32> dealId integer <int32> amount required integer <int32> incomeType required string (IncomeEnum) Enum: "checking_account" "other" "cashbox" paymentType required string (PaymentEnum) Enum: "letter_of_guarantee" "advance_payment" "prepayment" "refund_of_advance" "advance_payment_under_the_contract" "closing_deal" "advance_payment_under_the_advance_agreement" "bonus_to_expert" "bonus_payment_to_teamlead" "bonus_payment_to_mentor" "legal_support_payment" "other_payment" "other_cost" realtyType required string (RealtyEnum) Enum: "resale" "elite" "foreign" comment string Nullable receivedAt required string <date-time> RESPONSES 200 Return available fund RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (AvailableFund) Available fund 403 access denied 404 зоу не существует post/available-funds Production https://homeapp.team/api/available-funds Mock serveer http://127.0.0.1:4010/api/available-funds REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "serviceRequestId": 0, * "dealId": 0, * "amount": 0, * "incomeType": "checking_account", * "paymentType": "letter_of_guarantee", * "realtyType": "resale", * "comment": "string", * "receivedAt": "2019-08-24T14:15:22Z" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "amount": 0, * "comment": "string", * "createdAt": "2019-08-24T14:15:22Z", * "receivedAt": "2019-08-24T14:15:22Z", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": null, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": null }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * null ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * null ] }, * "calls": [ * { * "id": null, * "extId": null, * "type": null, * "from": null, * "to": null, * "user": null, * "inProgress": null, * "success": null, * "createdAt": null, * "responseAt": null, * "endedAt": null, * "duration": null, * "recordLink": null, * "hasComments": null } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * { * "id": null, * "extId": null, * "type": null, * "from": null, * "to": null, * "user": null, * "inProgress": null, * "success": null, * "createdAt": null, * "responseAt": null, * "endedAt": null, * "duration": null, * "recordLink": null, * "hasComments": null } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * null ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": null, * "teamLeadTask": { }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * { * "id": null, * "extId": null, * "type": null, * "from": null, * "to": null, * "user": null, * "inProgress": null, * "success": null, * "createdAt": null, * "responseAt": null, * "endedAt": null, * "duration": null, * "recordLink": null, * "hasComments": null } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * null ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { }, * "teamLeadTask": null, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * { * "id": null, * "extId": null, * "type": null, * "from": null, * "to": null, * "user": null, * "inProgress": null, * "success": null, * "createdAt": null, * "responseAt": null, * "endedAt": null, * "duration": null, * "recordLink": null, * "hasComments": null } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * null ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": null, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": null, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * null ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": null, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * null ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": null }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * null ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * null ] }, * "calls": [ * { * "id": null, * "extId": null, * "type": null, * "from": null, * "to": null, * "user": null, * "inProgress": null, * "success": null, * "createdAt": null, * "responseAt": null, * "endedAt": null, * "duration": null, * "recordLink": null, * "hasComments": null } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": null, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": null }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * null ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * null ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * null ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * null ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "author": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "author": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "curator": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * null ], * "realty": { * "id": null, * "address": { }, * "price": null, * "roomsNumber": null, * "floor": null, * "floorsNumber": null, * "area": null, * "images": [ ], * "isDevelopersOffer": null, * "renovationType": null, * "features": [ ] }, * "calls": [ * null ], * "utmInfo": { * "utmSource": null, * "utmMedium": null, * "utmCampaign": null, * "utmTerm": null, * "utmContent": null }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * null ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * null ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "incomeType": "checking_account", * "paymentType": "letter_of_guarantee", * "realtyType": "resale" } } СПИСОК Список AUTHORIZATIONS: headerAuth QUERY PARAMETERS filter object Filter sorting object Sorting RESPONSES 200 Return available fund list RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (AvailableFund) 403 access denied 404 зоу не существует get/available-funds Production https://homeapp.team/api/available-funds Mock serveer http://127.0.0.1:4010/api/available-funds RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 0, * "amount": 0, * "comment": "string", * "createdAt": "2019-08-24T14:15:22Z", * "receivedAt": "2019-08-24T14:15:22Z", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": null }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * null ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * null ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "hasNotifications": true, * "contract": null, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "author": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "author": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "curator": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * null ], * "realty": { * "id": null, * "address": { }, * "price": null, * "roomsNumber": null, * "floor": null, * "floorsNumber": null, * "area": null, * "images": [ ], * "isDevelopersOffer": null, * "renovationType": null, * "features": [ ] }, * "calls": [ * null ], * "utmInfo": { * "utmSource": null, * "utmMedium": null, * "utmCampaign": null, * "utmTerm": null, * "utmContent": null }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * null ], * "contacts": [ * null ], * "realtyShow": { * "status": null, * "scheduledAt": null } }, * "participants": [ * { * "id": null, * "phone": null, * "name": null, * "other": null, * "position": null, * "side": null, * "additionalContact": null } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": null, * "amount": null, * "deal": null, * "receivedAt": null, * "files": [ ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": null, * "teamLeadTask": { }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * null ], * "contacts": [ * null ], * "realtyShow": { * "status": null, * "scheduledAt": null } }, * "participants": [ * { * "id": null, * "phone": null, * "name": null, * "other": null, * "position": null, * "side": null, * "additionalContact": null } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": null, * "amount": null, * "deal": null, * "receivedAt": null, * "files": [ ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { }, * "teamLeadTask": null, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * null ], * "contacts": [ * null ], * "realtyShow": { * "status": null, * "scheduledAt": null } }, * "participants": [ * { * "id": null, * "phone": null, * "name": null, * "other": null, * "position": null, * "side": null, * "additionalContact": null } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": null, * "amount": null, * "deal": null, * "receivedAt": null, * "files": [ ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": null, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": null, * "participants": [ * { * "id": null, * "phone": null, * "name": null, * "other": null, * "position": null, * "side": null, * "additionalContact": null } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": null, * "amount": null, * "deal": null, * "receivedAt": null, * "files": [ ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": null, * "participants": [ * { * "id": null, * "phone": null, * "name": null, * "other": null, * "position": null, * "side": null, * "additionalContact": null } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": null, * "amount": null, * "deal": null, * "receivedAt": null, * "files": [ ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": null }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * null ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * null ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "hasNotifications": true, * "contract": { }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "author": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "author": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "curator": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * null ], * "realty": { * "id": null, * "address": { }, * "price": null, * "roomsNumber": null, * "floor": null, * "floorsNumber": null, * "area": null, * "images": [ ], * "isDevelopersOffer": null, * "renovationType": null, * "features": [ ] }, * "calls": [ * null ], * "utmInfo": { * "utmSource": null, * "utmMedium": null, * "utmCampaign": null, * "utmTerm": null, * "utmContent": null }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": null, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": null, * "budget": null }, * "sellParams": { * "address": null }, * "realty": { * "id": null, * "address": { }, * "price": null, * "roomsNumber": null, * "floor": null, * "floorsNumber": null, * "area": null, * "images": [ ], * "isDevelopersOffer": null, * "renovationType": null, * "features": [ ] }, * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "curator": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "hasNotifications": true, * "contract": { * "id": null, * "address": null, * "type": null, * "status": null, * "kind": null, * "duration": null, * "formalId": null, * "amount": null, * "accountingDoc": null, * "amountReceived": null, * "amountDue": null, * "amountPenalty": null, * "participants": [ ], * "comment": null, * "reason": null, * "shouldRegenerateFormalId": null, * "files": [ ], * "canTerminate": null, * "createdAt": null, * "approvedAt": null, * "declinedAt": null, * "signPlannedAt": null, * "signedAt": null, * "expiresAt": null, * "terminatedAt": null, * "deal": null }, * "task": { * "id": null, * "createdAt": null, * "updatedAt": null, * "expiresAt": null, * "resolvedAt": null, * "closedAt": null, * "status": null, * "text": null, * "notificationType": null, * "importance": null, * "assignee": null, * "author": null, * "serviceRequest": null }, * "teamLeadTask": { * "id": null, * "createdAt": null, * "updatedAt": null, * "expiresAt": null, * "resolvedAt": null, * "closedAt": null, * "status": null, * "text": null, * "notificationType": null, * "importance": null, * "assignee": null, * "author": null, * "serviceRequest": null }, * "callTask": { * "id": null, * "status": null, * "priority": null, * "viewsCount": null, * "createdAt": null, * "actualAt": null, * "updatedAt": null, * "closedAt": null, * "lastBookingAt": null, * "bookingExpiresAt": null, * "bookedBy": null, * "comment": null, * "source": null, * "phone": null, * "name": null, * "user": null, * "curator": null, * "closingReason": null, * "serviceRequest": null, * "tags": [ ], * "realty": null, * "calls": [ ], * "utmInfo": null, * "complexId": null, * "isIncoming": null }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * null ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * null ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": null, * "extId": null, * "type": null, * "from": null, * "to": null, * "user": null, * "inProgress": null, * "success": null, * "createdAt": null, * "responseAt": null, * "endedAt": null, * "duration": null, * "recordLink": null, * "hasComments": null } ], * "contacts": [ * { * "id": null, * "address": null, * "type": null, * "status": null, * "kind": null, * "duration": null, * "formalId": null, * "amount": null, * "accountingDoc": null, * "amountReceived": null, * "amountDue": null, * "amountPenalty": null, * "participants": [ ], * "comment": null, * "reason": null, * "shouldRegenerateFormalId": null, * "files": [ ], * "canTerminate": null, * "createdAt": null, * "approvedAt": null, * "declinedAt": null, * "signPlannedAt": null, * "signedAt": null, * "expiresAt": null, * "terminatedAt": null, * "deal": null } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": null, * "phone": null, * "name": null, * "other": null, * "position": null, * "side": null, * "additionalContact": null } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "incomeType": "checking_account", * "paymentType": "letter_of_guarantee", * "realtyType": "resale" } ] } DELETE AVAILABLE FUNDS Delete available funds PATH PARAMETERS id required integer Available funds id RESPONSES 204 Success delete available fund 403 Access denied 404 Not fund available fund delete/available-funds/{id} Production https://homeapp.team/api/available-funds/{id} Mock serveer http://127.0.0.1:4010/api/available-funds/{id} UPDATE AVAILABLE FUNDS Update available funds, All fields nullable PATH PARAMETERS id required integer Available funds id REQUEST BODY SCHEMA: APPLICATION/JSON amount integer <int32> incomeType string (IncomeEnum) Enum: "checking_account" "other" "cashbox" paymentType string (PaymentEnum) Enum: "letter_of_guarantee" "advance_payment" "prepayment" "refund_of_advance" "advance_payment_under_the_contract" "closing_deal" "advance_payment_under_the_advance_agreement" "bonus_to_expert" "bonus_payment_to_teamlead" "bonus_payment_to_mentor" "legal_support_payment" "other_payment" "other_cost" realtyType string (RealtyEnum) Enum: "resale" "elite" "foreign" comment string Nullable receivedAt string <date-time> RESPONSES 204 Success delete available fund 403 Access denied 404 Not fund available fund patch/available-funds/{id} Production https://homeapp.team/api/available-funds/{id} Mock serveer http://127.0.0.1:4010/api/available-funds/{id} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "amount": 0, * "incomeType": "checking_account", * "paymentType": "letter_of_guarantee", * "realtyType": "resale", * "comment": "string", * "receivedAt": "2019-08-24T14:15:22Z" } СТАТУСЫ СДЕЛОК УСПЕШНОЕ ЗАВЕРШЕНИЕ СДЕЛКИ (ПЕРЕХОД В DEALDONE) AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer id сделки RESPONSES 200 Сделка успешно завершена RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (dealData) 400 Невозможно закрыть сделку RESPONSE SCHEMA: APPLICATION/JSON success boolean Всегда false data object 403 Нет прав на закрытие сделки. Закрытие доступно только юристу, назначеному на сделку, и главному юристу RESPONSE SCHEMA: APPLICATION/JSON success boolean Всегда false data object patch/deal/status/deal-done/{id} Production https://homeapp.team/api/deal/status/deal-done/{id} Mock serveer http://127.0.0.1:4010/api/deal/status/deal-done/{id} RESPONSE SAMPLES * 200 * 400 * 403 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { } }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } CALL-TASK ВОСТАНОВАИТЬ CALL-TASK AUTHORIZATIONS: headerAuth PATH PARAMETERS callTaskId required integer <int32> Id call task REQUEST BODY SCHEMA: APPLICATION/JSON shouldResetCurator boolean RESPONSES 202 Успешное обновление записи RESPONSE SCHEMA: APPLICATION/JSON success boolean data object 404 Запись не наидена RESPONSE SCHEMA: APPLICATION/JSON success boolean data object patch/calls/task/restore/{callTaskId} Production https://homeapp.team/api/calls/task/restore/{callTaskId} Mock serveer http://127.0.0.1:4010/api/calls/task/restore/{callTaskId} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "shouldResetCurator": true } RESPONSE SAMPLES * 202 * 404 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { } } СОЗДАТЬ CALL-TASK AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON id integer status string priority integer viewsCount integer createdAt string <date-time> actualAt string <date-time> updatedAt string <date-time> closedAt string <date-time> lastBookingAt string <date-time> bookingExpiresAt string <date-time> bookedBy object (UserData) comment string source string phone string name string user object (UserData) curator object (UserData) closingReason string serviceRequest object (service_request_schema) tags Array of strings realty object (realty_schema) calls Array of objects (call_schema) utmInfo object (utm_schema) complexId integer isIncoming boolean RESPONSES 200 Успешно созданный call-task RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (call_task_schema) post/calls/task Production https://homeapp.team/api/calls/task Mock serveer http://127.0.0.1:4010/api/calls/task REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" } } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true } } ПОЛУЧИТЬ СПИСОК CALL-TASK AUTHORIZATIONS: headerAuth QUERY PARAMETERS filter object RESPONSES 200 Список call-task RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (call_task_schema) pageParams object get/calls/task Production https://homeapp.team/api/calls/task Mock serveer http://127.0.0.1:4010/api/calls/task RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": null, * "login": null, * "createdAt": null, * "firstName": null, * "lastName": null, * "patranomyc": null, * "hiredAt": null, * "firedAt": null, * "level": null, * "supervisorId": null, * "enable": null, * "baned": null, * "roles": [ ], * "description": null, * "isPublished": null, * "direction": null, * "fullNameTranslit": null, * "phones": [ ], * "updatedAt": null, * "gallery": [ ], * "contactInfo": [ ], * "districts": [ ], * "education": null, * "courses": null, * "cases": null, * "office": null }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": null, * "type": null, * "name": null, * "url": null, * "createdAt": null, * "category": null, * "isRemovable": null } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true } ], * "pageParams": { * "page": 0, * "length": 0 } } CALLS GET CALL WITH CALL TASK FOR QUALITY ASSESSOR Get call with call task for quality assessor AUTHORIZATIONS: headerAuth QUERY PARAMETERS filter object sorted object RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (call_with_call_task_schema) get/calls/quality-assessor Production https://homeapp.team/api/calls/quality-assessor Mock serveer http://127.0.0.1:4010/api/calls/quality-assessor RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { }, * "calls": [ * { * "id": null, * "extId": null, * "type": null, * "from": null, * "to": null, * "user": null, * "inProgress": null, * "success": null, * "createdAt": null, * "responseAt": null, * "endedAt": null, * "duration": null, * "recordLink": null, * "hasComments": null } ], * "contacts": [ * { } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * null ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true } } ] } СТАТИСТИКА СТАТИСТИЧЕСКИХ ДАННЫХ О ПРОДАЖАХ AUTHORIZATIONS: headerAuth RESPONSES 200 Ok RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of SoldStatisticHouse (object) or SoldStatisticFlatNew (object) or SoldStatisticFlatSecondary (object) 401 HTTP_UNAUTHORIZED get/sold/statistic Production https://homeapp.team/api/sold/statistic Mock serveer http://127.0.0.1:4010/api/sold/statistic RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "type": "house", * "price": 0 } ] } MESSENGER ЧАТЫ В ЗОУ Идентификаторы чатов в ЗОУ PATH PARAMETERS id required integer <int32> id ЗОУ RESPONSES 200 Найденные чаты RESPONSE SCHEMA: APPLICATION/JSON success boolean data object 404 Чаты не найдены RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/service-request/{id}/chat Production https://homeapp.team/api/service-request/{id}/chat Mock serveer http://127.0.0.1:4010/api/service-request/{id}/chat RESPONSE SAMPLES * 200 * 404 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "chats": [ * "string" ] } } ИСТОРИЯ ПЕРЕПИСКИ История переписки в чате ЗОУ PATH PARAMETERS id required integer <int32> id ЗОУ chatId required string <uuid> id чата (доступные чаты можно получить по /service-request/{id}/chat) RESPONSES 200 Найденные сообщения в чате RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects 404 Чат не найден RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/service-request/{id}/chat/{chatId}/message Production https://homeapp.team/api/service-request/{id}/chat/{chatId}/message Mock serveer http://127.0.0.1:4010/api/service-request/{id}/chat/{chatId}/message RESPONSE SAMPLES * 200 * 404 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "createdAt": "2019-08-24T14:15:22Z", * "user": { * "id": 0 }, * "from": { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "contactId": "string", * "createdAt": "2019-08-24T14:15:22Z", * "side": "string", * "displayName": "string" }, * "content": "string" } ] } СПРАВОЧНИК ЗНАЧЕНИЙ ДЛЯ ПОЛЯ CHATPARTICIPANT.SIDE Справочник RESPONSES 200 возможные значения RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of strings get/dictionary/participant-side Production https://homeapp.team/api/dictionary/participant-side Mock serveer http://127.0.0.1:4010/api/dictionary/participant-side RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * "string" ] } ВАЛИДАЦИЯ ДАННЫХ ВИДЖЕТА ПОДПИСКИ TEXTBACK REQUEST BODY SCHEMA: APPLICATION/JSON serviceRequestId required integer идентификатор ЗОУ clientId required integer идентификатор клиента в ЗОУ expertId required integer идентификатор эксперта в ЗОУ RESPONSES 200 Данные валидны RESPONSE SCHEMA: APPLICATION/JSON success boolean 400 Данные не валидны RESPONSE SCHEMA: APPLICATION/JSON success boolean error string post/messenger/widget/validate Production https://homeapp.team/api/messenger/widget/validate Mock serveer http://127.0.0.1:4010/api/messenger/widget/validate REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "serviceRequestId": 0, * "clientId": 0, * "expertId": 0 } RESPONSE SAMPLES * 200 * 400 Content type application/json Copy Expand all Collapse all { * "success": true } ВОЗВРОЩАЕТ ССЫЛКУ ДЛЯ ВСТУПЛЕНИЯ В ЧАТ PATH PARAMETERS id required integer <int32> id ЗОУ RESPONSES 200 Return invite link to telegram RESPONSE SCHEMA: APPLICATION/JSON Array () uri string <uri> type string (MessengerEnum) Value: "telegram" 404 Service request not found RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/messenger/invite/{id} Production https://homeapp.team/api/messenger/invite/{id} Mock serveer http://127.0.0.1:4010/api/messenger/invite/{id} RESPONSE SAMPLES * 200 * 404 Content type application/json Copy Expand all Collapse all [ * { * "uri": "http://example.com", * "type": "telegram" } ] REPORT-FOR-SELLER LIST BUYER STATUSES Role: ROLE_CLIENT_WATCHER, ROLE_USER PATH PARAMETERS id required integer id ЗОУ RESPONSES 200 Список отчетов, составленных по ЗОУ RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (ReportForSellerData) get/service-request/{id}/report-for-seller Production https://homeapp.team/api/service-request/{id}/report-for-seller Mock serveer http://127.0.0.1:4010/api/service-request/{id}/report-for-seller RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * [ * { * "serviceRequestId": 123, * "createdAt": "23-08-2021 12:45:01", * "from": "29-04-2020 08:45:61", * "to": "12-08-2021 10:07:20", * "stats": { * "priceStatus": "В рынке", * "views": 123, * "calls": 321, * "shows": 666, * "rejections": 777 }, * "closingReasons": [ * { * "label": "Уехал в Абхазию", * "value": 0.1 }, * { * "label": "Купил Молоко", * "value": 0.7 }, * { * "label": "Тупо забил чёт", * "value": 0.2 } ] } ] ] } LIST BUYER STATUSES Role: ROLE_CLIENT_WATCHER PATH PARAMETERS id required integer id ЗОУ REQUEST BODY SCHEMA: APPLICATION/JSON comment string from string <date-time> to string <date-time> stats object closingReasons Array of objects RESPONSES 201 Отчетов, составленных по ЗОУ RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (ReportForSellerData) post/service-request/{id}/report-for-seller Production https://homeapp.team/api/service-request/{id}/report-for-seller Mock serveer http://127.0.0.1:4010/api/service-request/{id}/report-for-seller REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all [ * { * "from": "29-04-2020 08:45:61", * "to": "12-08-2021 10:07:20", * "stats": { * "priceStatus": "В рынке", * "views": 123, * "calls": 321, * "shows": 666, * "rejections": 777 }, * "closingReasons": [ * { * "label": "Уехал в Абхазию", * "value": 0.1 }, * { * "label": "Купил Молоко", * "value": 0.7 }, * { * "label": "Тупо забил чёт", * "value": 0.2 } ] } ] RESPONSE SAMPLES * 201 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "serviceRequestId": 123, * "createdAt": "23-08-2021 12:45:01", * "from": "29-04-2020 08:45:61", * "to": "12-08-2021 10:07:20", * "stats": { * "priceStatus": "В рынке", * "views": 123, * "calls": 321, * "shows": 666, * "rejections": 777 }, * "closingReasons": [ * { * "label": "Уехал в Абхазию", * "value": 0.1 }, * { * "label": "Купил Молоко", * "value": 0.7 }, * { * "label": "Тупо забил чёт", * "value": 0.2 } ] } ] } BUYER СОЗДАТЬ ПОКУПАТЕЛЯ REQUEST BODY SCHEMA: APPLICATION/JSON serviceRequest required object or object (ServiceRequestData) phone required string name required string offer required string status required string (BuyerStatusEnum) Enum: "show_coordination" "incoming" "show_scheduled" "show_complete" "got_offer" "advance" "closed" * show_coordination Входящее обращение - incoming Согласование даты показа - show_scheduled Показ назначен - show_complete Показ проведен (ожидание оффера) - got_offer Оффер получен (согласование) - advance Аванс - closed Завершение работы comment string Nullable source string contacts Array of objects (ContactData) realtyShow object (RealtyShowData) RESPONSES 200 Покупатель создан RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (BuyerResponseData) post/buyer Production https://homeapp.team/api/buyer Mock serveer http://127.0.0.1:4010/api/buyer REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "serviceRequest": { * "id": 0 }, * "phone": "string", * "name": "string", * "offer": "string", * "status": "show_coordination", * "comment": "string", * "source": "string", * "contacts": [ * { * "id": 0, * "type": "string" } ], * "realtyShow": { * "scheduledAt": "2019-08-24T14:15:22Z", * "status": "string" } } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closingReason": "string", * "serviceRequests": [ * { * "id": 0 } ], * "calls": [ * { * "id": 0, * "extId": 0, * "type": "string", * "from": { * "id": 0, * "number": "string" }, * "to": { * "id": 0, * "number": "string" }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string" } ], * "serviceRequest": { * "id": 0 }, * "realtyShow": { * "scheduledAt": "2019-08-24T14:15:22Z", * "status": "string" }, * "phone": "string", * "name": "string", * "offer": "string", * "status": "show_coordination", * "comment": "string", * "source": "string", * "coordinationExpiresAt": "2019-08-24T14:15:22Z", * "contacts": [ * { * "id": 0, * "type": "string" } ] } } СПИСОК БАЕРОВ QUERY PARAMETERS include Array of strings Nullable Items Value: "sharing.fromExpert" * sharing.fromExpert - Эксперт от которого был переведен buyer filter object RESPONSES 200 Список баеров RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of BuyerWithoutRelation (object) or include[]=sharing.fromExpert (object) pageParams object get/buyer Production https://homeapp.team/api/buyer Mock serveer http://127.0.0.1:4010/api/buyer RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "success": true, * "data": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * null ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * null ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * null ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * null ], * "contactInfo": [ * null ], * "districts": [ * null ], * "education": { * "university": null, * "city": null, * "faculty": null, * "speciality": null, * "imageIds": [ ] }, * "courses": { * "name": null, * "city": null, * "author": null, * "imageIds": [ ] }, * "cases": { * "objectId": null, * "title": null, * "review": null, * "goal": null, * "result": null }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": null, * "image": null, * "type": null } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * null ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * null ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * null ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } } } ], * "pageParams": { * "page": 0, * "length": 0 } } ОБНОВИТЬ ЗАПИСЬ REQUEST BODY SCHEMA: APPLICATION/JSON serviceRequest required object or object (ServiceRequestData) phone required string name required string offer required string status required string (BuyerStatusEnum) Enum: "show_coordination" "incoming" "show_scheduled" "show_complete" "got_offer" "advance" "closed" * show_coordination Входящее обращение - incoming Согласование даты показа - show_scheduled Показ назначен - show_complete Показ проведен (ожидание оффера) - got_offer Оффер получен (согласование) - advance Аванс - closed Завершение работы comment string Nullable source string contacts Array of objects (ContactData) realtyShow object (RealtyShowData) RESPONSES 200 Покупатель создан RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (BuyerResponseData) put/buyer Production https://homeapp.team/api/buyer Mock serveer http://127.0.0.1:4010/api/buyer REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "serviceRequest": { * "id": 0 }, * "phone": "string", * "name": "string", * "offer": "string", * "status": "show_coordination", * "comment": "string", * "source": "string", * "contacts": [ * { * "id": 0, * "type": "string" } ], * "realtyShow": { * "scheduledAt": "2019-08-24T14:15:22Z", * "status": "string" } } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closingReason": "string", * "serviceRequests": [ * { * "id": 0 } ], * "calls": [ * { * "id": 0, * "extId": 0, * "type": "string", * "from": { * "id": 0, * "number": "string" }, * "to": { * "id": 0, * "number": "string" }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string" } ], * "serviceRequest": { * "id": 0 }, * "realtyShow": { * "scheduledAt": "2019-08-24T14:15:22Z", * "status": "string" }, * "phone": "string", * "name": "string", * "offer": "string", * "status": "show_coordination", * "comment": "string", * "source": "string", * "coordinationExpiresAt": "2019-08-24T14:15:22Z", * "contacts": [ * { * "id": 0, * "type": "string" } ] } } ПОЛУЧИТЬ КОЛИЧЕСТВО БАЕРОВ С ФИЛЬТРОМ Получить количество баеров с фильтром QUERY PARAMETERS filter object RESPONSES 200 Количество баеров попадающих под заданный фильтр RESPONSE SCHEMA: APPLICATION/JSON success boolean data integer get/buyer/count Production https://homeapp.team/api/buyer/count Mock serveer http://127.0.0.1:4010/api/buyer/count RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": 10 } ПОЛУЧИТЬ ПОКУПАТЕЛЕЙ ПОЛЬЗОВАТЕЛЯ СИСТЕМЫ, СГРУППИРОВАННЫХ ПО НОМЕРАМ ТЕЛЕФОНА RESPONSES 200 Найденные телефонные номера покупателй с первым попавшимся именем. Если ничего не найдется, то вернется пустое множество RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (PhoneWithNamesData) get/buyer/unique-phones Production https://homeapp.team/api/buyer/unique-phones Mock serveer http://127.0.0.1:4010/api/buyer/unique-phones RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "phone": "string", * "name": "string" } ] } ПОЛУЧИТЬ БАЕРА ПО ID Получить баера по id PATH PARAMETERS id required integer QUERY PARAMETERS include Array of strings Nullable Items Value: "sharing.fromExpert" * sharing.fromExpert - Эксперт от которого был переведен buyer RESPONSES 200 Данные по баеру RESPONSE SCHEMA: APPLICATION/JSON Any of BuyerWithoutRelationinclude[]=sharing.fromExpert success boolean data object (Buyer) get/buyer/{id} Production https://homeapp.team/api/buyer/{id} Mock serveer http://127.0.0.1:4010/api/buyer/{id} RESPONSE SAMPLES * 200 Content type application/json Example BuyerWithoutRelation BuyerWithoutRelation include[]=sharing.fromExpert Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "stats": "string", * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "offer": "string", * "comment": "string", * "phone": "string", * "name": "string", * "closingReason": "string", * "source": "string", * "serviceRequest": { * "id": 0, * "type": "string", * "source": "string", * "status": "string", * "createdAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closeRequestedAt": "2019-08-24T14:15:22Z", * "category": "string", * "description": "string", * "buyParams": { * "place": "string", * "budget": "string" }, * "sellParams": { * "address": "string" }, * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "hasNotifications": true, * "contract": { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } }, * "task": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "teamLeadTask": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "resolvedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "status": "string", * "text": "string", * "notificationType": "string", * "importance": "string", * "assignee": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "author": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "serviceRequest": { } }, * "callTask": { * "id": 0, * "status": "string", * "priority": 0, * "viewsCount": 0, * "createdAt": "2019-08-24T14:15:22Z", * "actualAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "lastBookingAt": "2019-08-24T14:15:22Z", * "bookingExpiresAt": "2019-08-24T14:15:22Z", * "bookedBy": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "comment": "string", * "source": "string", * "phone": "string", * "name": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "curator": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "closingReason": "string", * "serviceRequest": { }, * "tags": [ * "string" ], * "realty": { * "id": 0, * "address": { * "fullAddress": "Россия, Москва, Сумской проезд, 12к1" }, * "price": 0, * "roomsNumber": 0, * "floor": 0, * "floorsNumber": 0, * "area": 0, * "images": [ * "string" ], * "isDevelopersOffer": true, * "renovationType": "string", * "features": [ * "string" ] }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": null, * "thumbnailPath": null }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "utmInfo": { * "utmSource": "string", * "utmMedium": "string", * "utmCampaign": "string", * "utmTerm": "string", * "utmContent": "string" }, * "complexId": 0, * "isIncoming": true }, * "realtyExtId": 0, * "currentScore": 0, * "externalLinksCount": 0, * "isPublished": true, * "closingReason": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "isTerminationRequestNeeded": true, * "hasReportsForSeller": true, * "hasValuations": true, * "valuationProblems": [ * "string" ], * "hasPublishedValuations": true, * "discountedAt": "2019-08-24T14:15:22Z", * "lastPublishedAt": "2019-08-24T14:15:22Z", * "lastDepublishedAt": "2019-08-24T14:15:22Z", * "isActuallyDepublished": true, * "hasMainAdLinksProblem": true, * "depublishReason": "string", * "canBePublishedAt": true }, * "calls": [ * { * "id": 0, * "extId": "string", * "type": "string", * "from": "string", * "to": "string", * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string", * "hasComments": true } ], * "contacts": [ * { * "id": 0, * "address": "string", * "type": "string", * "status": "string", * "kind": "string", * "duration": 0, * "formalId": "string", * "amount": 0, * "accountingDoc": "string", * "amountReceived": 0, * "amountDue": 0, * "amountPenalty": 0, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "comment": "string", * "reason": "string", * "shouldRegenerateFormalId": true, * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ], * "canTerminate": true, * "createdAt": "2019-08-24T14:15:22Z", * "approvedAt": "2019-08-24T14:15:22Z", * "declinedAt": "2019-08-24T14:15:22Z", * "signPlannedAt": "2019-08-24T14:15:22Z", * "signedAt": "2019-08-24T14:15:22Z", * "expiresAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "deal": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "hasPrepayment": true, * "prepaymentPlannedAt": "2019-08-24T14:15:22Z", * "prepaidAt": "2019-08-24T14:15:22Z", * "dealSignedAt": "2019-08-24T14:15:22Z", * "registeredAt": "2019-08-24T14:15:22Z", * "commissionPlannedAt": "2019-08-24T14:15:22Z", * "commissionAt": "2019-08-24T14:15:22Z", * "dealDoneAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "terminatedAt": "2019-08-24T14:15:22Z", * "terminationRequestedAt": "2019-08-24T14:15:22Z", * "finalPrice": 0, * "plannedCommission": 0, * "receivedCommission": 0, * "terminationReason": "string", * "buyer": { }, * "participants": [ * { * "id": 0, * "phone": "string", * "name": "string", * "other": "string", * "position": "string", * "side": "string", * "additionalContact": "string" } ], * "contract": { }, * "status": "string", * "comment": "string", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "riskCheck", * "isRemovable": true } ], * "actSignedAt": "2019-08-24T14:15:22Z", * "actDeveloperSignedAt": "2019-08-24T14:15:22Z", * "rollbackReason": "string", * "isLawyerRequired": true, * "lawyer": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "lawyerNotRequiredReason": "from_developer", * "incomes": [ * { * "id": 0, * "amount": 0, * "deal": { }, * "receivedAt": "2019-08-24T14:15:22Z", * "files": [ * { * "id": 0, * "type": "string", * "name": "string", * "url": "string", * "createdAt": "2019-08-24T14:15:22Z", * "category": "egrn", * "isRemovable": true } ] } ], * "partnerDealType": "partner_commission", * "partnerCommission": 0, * "buyParams": { * "address": "string", * "flatNumber": 0, * "cadastralNumber": "string" }, * "canBeDealDone": true } } ], * "realtyShow": { * "status": "string", * "scheduledAt": "2019-08-24T14:15:22Z" } } } ОБНОВИТЬ ДАТУ ОЖИДАНИЯ ПОКАЗА PATH PARAMETERS id required integer RESPONSES 200 Дата обновлена RESPONSE SCHEMA: APPLICATION/JSON success boolean data object (BuyerResponseData) 400 Дата неверный запрос RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object 403 Доступ запрещён RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object 404 Ресурс не найден RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object 500 Ошибка сервера RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object patch/buyer/{id}/reset-status Production https://homeapp.team/api/buyer/{id}/reset-status Mock serveer http://127.0.0.1:4010/api/buyer/{id}/reset-status RESPONSE SAMPLES * 200 * 400 * 403 * 404 * 500 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "createdAt": "2019-08-24T14:15:22Z", * "updatedAt": "2019-08-24T14:15:22Z", * "closedAt": "2019-08-24T14:15:22Z", * "closingReason": "string", * "serviceRequests": [ * { * "id": 0 } ], * "calls": [ * { * "id": 0, * "extId": 0, * "type": "string", * "from": { * "id": 0, * "number": "string" }, * "to": { * "id": 0, * "number": "string" }, * "user": { * "id": 1, * "login": "string", * "createdAt": "2019-08-24T14:15:22Z", * "firstName": "string", * "lastName": "string", * "patranomyc": "string", * "hiredAt": "2019-08-24T14:15:22Z", * "firedAt": "2019-08-24T14:15:22Z", * "level": "string", * "supervisorId": 1, * "enable": true, * "baned": true, * "roles": [ * "ROLE_USER" ], * "description": "string", * "isPublished": true, * "direction": "string", * "fullNameTranslit": "string", * "phones": [ * "string" ], * "updatedAt": "2019-08-24T14:15:22Z", * "gallery": [ * { * "id": 1, * "image": { * "id": 1, * "thumbnailPath": "string" }, * "type": "main" } ], * "contactInfo": [ * "string" ], * "districts": [ * "string" ], * "education": { * "university": "string", * "city": "string", * "faculty": "string", * "speciality": "string", * "imageIds": [ * 1 ] }, * "courses": { * "name": "string", * "city": "string", * "author": "string", * "imageIds": [ * 1 ] }, * "cases": { * "objectId": 1, * "title": "string", * "review": "string", * "goal": "string", * "result": "string" }, * "office": "string" }, * "inProgress": true, * "success": true, * "createdAt": "2019-08-24T14:15:22Z", * "responseAt": "2019-08-24T14:15:22Z", * "endedAt": "2019-08-24T14:15:22Z", * "duration": 0, * "recordLink": "string" } ], * "serviceRequest": { * "id": 0 }, * "realtyShow": { * "scheduledAt": "2019-08-24T14:15:22Z", * "status": "string" }, * "phone": "string", * "name": "string", * "offer": "string", * "status": "show_coordination", * "comment": "string", * "source": "string", * "coordinationExpiresAt": "2019-08-24T14:15:22Z", * "contacts": [ * { * "id": 0, * "type": "string" } ] } } ПЕРЕДАТЬ ПОКУПАТЕЛЯ В ДРУГОЙ ЗОУ PATH PARAMETERS id required integer REQUEST BODY SCHEMA: APPLICATION/JSON serviceRequestId required integer comment string RESPONSES 200 Покупатель передан RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: true 403 Access denied RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object 500 Internal server error RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object patch/buyer/{id}/share Production https://homeapp.team/api/buyer/{id}/share Mock serveer http://127.0.0.1:4010/api/buyer/{id}/share REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "serviceRequestId": 1, * "comment": "string" } RESPONSE SAMPLES * 200 * 403 * 500 Content type application/json Copy Expand all Collapse all { * "success": true } LIST OF QUESTION FOR CLOSE Role: expert, admin, developer, teamlead, operator, tech_support RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (ClosingQuestionaryListData) 403 Access denied RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object 500 Internal server error RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object get/buyer/closing-reason Production https://homeapp.team/api/buyer/closing-reason Mock serveer http://127.0.0.1:4010/api/buyer/closing-reason RESPONSE SAMPLES * 200 * 403 * 500 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "question": "string", * "isRequired": true, * "answer": [ * { * "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", * "text": "string", * "isCommentingEnabled": true } ] } ] } CLOSE BUYER Role: expert, admin, developer, teamlead, operator, tech_support PATH PARAMETERS id required integer REQUEST BODY SCHEMA: APPLICATION/JSON closingReason required string or StatusEnum (string) closingQuestionaryAnswers Array of objects (QuestionAnswer) RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: true data Array of objects (BuyerData) 400 Bad request RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object 403 Access denied RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object 404 Not found RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object 500 Internal server error RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: false data object put/buyer/{id}/close Production https://homeapp.team/api/buyer/{id}/close Mock serveer http://127.0.0.1:4010/api/buyer/{id}/close REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "closingReason": "string", * "closingQuestionaryAnswers": [ * { * "questionId": "ffa0420e-f70b-4e5b-99a0-434bff860467", * "answerId": "51fc5da5-6c32-47e1-ae92-afecf44dd96c", * "comment": "string" } ] } RESPONSE SAMPLES * 200 * 400 * 403 * 404 * 500 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "serviceRequest": { * "id": 0 }, * "phone": "string", * "name": "string", * "offer": "string", * "status": "show_coordination", * "comment": "string", * "source": "string", * "contacts": [ * { * "id": 0, * "type": "string" } ], * "realtyShow": { * "scheduledAt": "2019-08-24T14:15:22Z", * "status": "string" } } ] } LIST BUYER STATUSES Role: ROLE_CLIENT_WATCHER QUERY PARAMETERS filter string Фильтры sorting string Enum: "buyer.serviceRequest" "changedAt" Сортировка RESPONSES 200 Список статусов у покупателей RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/buyer/status Production https://homeapp.team/api/buyer/status Mock serveer http://127.0.0.1:4010/api/buyer/status RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "statusGroups": { * "statusName": { * "(buyerId)": "(count)" }, * "incoming": { * "1234": 5, * "4567": 1 }, * "show_completed": { * "1672": 4, * "4567": 2, * "5412": 6 } } } } LIST CLOSING QUESTION ANSWERS Role: ROLE_CLIENT_WATCHER QUERY PARAMETERS filter object Фильтрация sorting string Value: "buyer.serviceRequest" Сортировка RESPONSES 200 Список ответов от покупателей при закрытии RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/buyer/closing-question-answer Production https://homeapp.team/api/buyer/closing-question-answer Mock serveer http://127.0.0.1:4010/api/buyer/closing-question-answer RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "answers": { * "answer": "(count)", * "решил поехать в Абхазию": 5, * "купил молоко в супермаркете": 123 } } } СТАТИСТИКА ПО ПРИЧИНАМ ЗАКРЫТИЯ БАЕРА статистика по причинам закрытия баера PATH PARAMETERS id required integer Service request id type required string Enum: "rejection-reason" "additional-services" Type QUERY PARAMETERS from string From to string To RESPONSES 200 статистика по причинам закрытия баера RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects get/service-request/{id}/buyer/closing/{type}/statistic Production https://homeapp.team/api/service-request/{id}/buyer/closing/{type}/statistic Mock serveer http://127.0.0.1:4010/api/service-request/{id}/buyer/closing/{type}/statistic RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "text": "string", * "count": 0 } ] } СТАТИСТИКА ПО СТАТУСАМ БАЕРА статистика по статусам баера PATH PARAMETERS id required integer Service request id QUERY PARAMETERS from string From to string to RESPONSES 200 статистика по причинам закрытия баера RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects get/service-request/{id}/buyer/status/statistic Production https://homeapp.team/api/service-request/{id}/buyer/status/statistic Mock serveer http://127.0.0.1:4010/api/service-request/{id}/buyer/status/statistic RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "status": "string", * "values": [ * { * "buyerId": 0, * "count": 0 } ] } ] } СПИСОК СТАТУСОВ Список статусов PATH PARAMETERS id required integer Buyer id QUERY PARAMETERS sorting object Сортировка RESPONSES 200 Список статусов RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects get/buyer/{id}/status Production https://homeapp.team/api/buyer/{id}/status Mock serveer http://127.0.0.1:4010/api/buyer/{id}/status RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 0, * "status": "string", * "changedAt": 0, * "deadlineAt": 0, * "realtyShowData": { * "status": "string", * "scheduledAt": "string" } } ] } SLACK ОТПРАВИТЬ СООБЩЕНИЕ В DEV SUPPORT AUTHORIZATIONS: headerAuth REQUEST BODY SCHEMA: APPLICATION/JSON urls Array of strings id integer RESPONSES 204 Success send message post/slack/cian-rating Production https://homeapp.team/api/slack/cian-rating Mock serveer http://127.0.0.1:4010/api/slack/cian-rating REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "urls": [ * "string" ], * "id": 0 } ОЦЕНКА ПОЛУЧИТЬ ПОСЛЕДНЮЮ ОПУБЛИКОВАННУЮ ОЦЕНКУ Получить последнюю оценку по ЗОУ, там где isDraft = false Доступен без авторизации PATH PARAMETERS id required integer <int64> ID ЗОУ RESPONSES 200 Оценка создана RESPONSE SCHEMA: APPLICATION/JSON success required boolean data required object (ValuationData) 404 Оценка не найдена (Возможно еще не создана или нет оценки в isDraft = false) get/valuation/{id} Production https://homeapp.team/api/valuation/{id} Mock serveer http://127.0.0.1:4010/api/valuation/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "isOnlyInMarketRangeShown": true, * "serviceRequest": { * "id": 0 }, * "isDraft": true, * "realties": [ * 0 ], * "addresses": [ * 0 ], * "realtyParams": [ * { } ], * "filter": [ * { } ], * "sourceData": [ * { } ], * "calculationData": [ * { } ], * "createdAt": "2019-08-24T14:15:22Z" } } ПОЛУЧИТЬ ОЦЕНКИ ПО ЗОУ Получить все оценки Доступна без авторизации PATH PARAMETERS id required integer <int64> ID ЗОУ RESPONSES 200 Оценка создана RESPONSE SCHEMA: APPLICATION/JSON success required boolean data required Array of objects (ValuationData) get/valuations/{id} Production https://homeapp.team/api/valuations/{id} Mock serveer http://127.0.0.1:4010/api/valuations/{id} RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 0, * "isOnlyInMarketRangeShown": true, * "serviceRequest": { * "id": 0 }, * "isDraft": true, * "realties": [ * 0 ], * "addresses": [ * 0 ], * "realtyParams": [ * { } ], * "filter": [ * { } ], * "sourceData": [ * { } ], * "calculationData": [ * { } ], * "createdAt": "2019-08-24T14:15:22Z" } ] } ДОБАВИТЬ ОЦЕНКУ Добавить оценку недвижимости по ЗОУ * ROLE_EXTERNAL_PARTNER * ROLE_EXPERT * ROLE_TEAMLEAD * ROLE_SUPERVISOR * ROLE_MENTOR * ROLE_FULL_ACCESS REQUEST BODY SCHEMA: APPLICATION/JSON id integer <int64> ID оценки isOnlyInMarketRangeShown boolean Default: true Показ объектов только в рыночном диапазоне serviceRequest required object ЗОУ isDraft boolean Нужно ли отображать данную оценку на сайте realties Array of integers <int64> addresses Array of integers <int64> realtyParams Array of objects filter Array of objects sourceData Array of objects calculationData Array of objects RESPONSES 200 Оценка создана RESPONSE SCHEMA: APPLICATION/JSON success required boolean data required object (ValuationData) 400 Оценка не создана RESPONSE SCHEMA: APPLICATION/JSON success boolean error string 403 ЗОУ не найдено RESPONSE SCHEMA: APPLICATION/JSON success boolean error string post/valuations Production https://homeapp.team/api/valuations Mock serveer http://127.0.0.1:4010/api/valuations REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "id": 0, * "isOnlyInMarketRangeShown": true, * "serviceRequest": { * "id": 0 }, * "isDraft": true, * "realties": [ * 0 ], * "addresses": [ * 0 ], * "realtyParams": [ * { } ], * "filter": [ * { } ], * "sourceData": [ * { } ], * "calculationData": [ * { } ] } RESPONSE SAMPLES * 200 * 400 * 403 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "id": 0, * "isOnlyInMarketRangeShown": true, * "serviceRequest": { * "id": 0 }, * "isDraft": true, * "realties": [ * 0 ], * "addresses": [ * 0 ], * "realtyParams": [ * { } ], * "filter": [ * { } ], * "sourceData": [ * { } ], * "calculationData": [ * { } ], * "createdAt": "2019-08-24T14:15:22Z" } } PHONE-BOOK ДОБАВИТЬ ЗАПИСЬ В ЗАПИСНУЮ КНИЖКУ REQUEST BODY SCHEMA: APPLICATION/JSON name required string Имя контакта phones required Array of objects (PhoneListData) type required string (ContactTypeEnum) Enum: "buyer" "seller" Тип контакта isFavorite required boolean Избранный контакт comment string Nullable Комментарий RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON id required integer name required string Имя контакта phones required Array of objects (PhoneListData) type required string (ContactTypeEnum) Enum: "buyer" "seller" Тип контакта isFavorite required boolean Избранный контакт comment string Nullable Комментарий createdAt required string post/phone-book Production https://homeapp.team/api/phone-book Mock serveer http://127.0.0.1:4010/api/phone-book REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "name": "string", * "phones": [ * { * "phone": "string", * "type": "main" } ], * "type": "buyer", * "isFavorite": true, * "comment": "string" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "id": 0, * "name": "string", * "phones": [ * { * "phone": "string", * "type": "main" } ], * "type": "buyer", * "isFavorite": true, * "comment": "string", * "createdAt": "string" } СПИСОК QUERY PARAMETERS filter object RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON success boolean data Array of objects (PhoneBookEntryResponseData) pageParams object get/phone-book Production https://homeapp.team/api/phone-book Mock serveer http://127.0.0.1:4010/api/phone-book RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": [ * { * "id": 0, * "name": "string", * "phones": [ * { * "phone": "string", * "type": "main" } ], * "type": "buyer", * "isFavorite": true, * "comment": "string", * "createdAt": "string" } ], * "pageParams": { * "page": 0, * "length": 0 } } ОБНОВИТЬ ЗАПИСЬ PATH PARAMETERS id required integer <int32> Id phone book entry REQUEST BODY SCHEMA: APPLICATION/JSON name string Имя контакта phones Array of models_PhoneData (object) or PatchPhoneData (object) (PatchPhoneListData) type string (ContactTypeEnum) Enum: "buyer" "seller" Тип контакта isFavorite boolean Избранный контакт comment string Nullable Комментарий RESPONSES 200 OK RESPONSE SCHEMA: APPLICATION/JSON id required integer name required string Имя контакта phones required Array of objects (PhoneListData) type required string (ContactTypeEnum) Enum: "buyer" "seller" Тип контакта isFavorite required boolean Избранный контакт comment string Nullable Комментарий createdAt required string patch/phone-book/{id} Production https://homeapp.team/api/phone-book/{id} Mock serveer http://127.0.0.1:4010/api/phone-book/{id} REQUEST SAMPLES * Payload Content type application/json Copy Expand all Collapse all { * "name": "string", * "phones": [ * { * "phone": "string", * "type": "main" } ], * "type": "buyer", * "isFavorite": true, * "comment": "string" } RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "id": 0, * "name": "string", * "phones": [ * { * "phone": "string", * "type": "main" } ], * "type": "buyer", * "isFavorite": true, * "comment": "string", * "createdAt": "string" } УДАЛИТЬ ЗАПИСЬ PATH PARAMETERS id required integer <int32> Id phone book entry RESPONSES 204 No content delete/phone-book/{id} Production https://homeapp.team/api/phone-book/{id} Mock serveer http://127.0.0.1:4010/api/phone-book/{id} BUYER-STATUS LIST BUYER STATUSES Role: ROLE_CLIENT_WATCHER QUERY PARAMETERS filter string Фильтры sorting string Enum: "buyer.serviceRequest" "changedAt" Сортировка RESPONSES 200 Список статусов у покупателей RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/buyer/status Production https://homeapp.team/api/buyer/status Mock serveer http://127.0.0.1:4010/api/buyer/status RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "statusGroups": { * "statusName": { * "(buyerId)": "(count)" }, * "incoming": { * "1234": 5, * "4567": 1 }, * "show_completed": { * "1672": 4, * "4567": 2, * "5412": 6 } } } } BUYER-CLOSING-QUESTION-ANSWERS LIST CLOSING QUESTION ANSWERS Role: ROLE_CLIENT_WATCHER QUERY PARAMETERS filter object Фильтрация sorting string Value: "buyer.serviceRequest" Сортировка RESPONSES 200 Список ответов от покупателей при закрытии RESPONSE SCHEMA: APPLICATION/JSON success boolean data object get/buyer/closing-question-answer Production https://homeapp.team/api/buyer/closing-question-answer Mock serveer http://127.0.0.1:4010/api/buyer/closing-question-answer RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true, * "data": { * "answers": { * "answer": "(count)", * "решил поехать в Абхазию": 5, * "купил молоко в супермаркете": 123 } } } PHONE ИСКЛЮЧИТЬ ТЕЛЕФОН ИЗ ЧЁРНОГО СПИСКА Исключить номер из blacklist доступна тех-саппорту * ROLE_TECH_SUPPORT AUTHORIZATIONS: headerAuth PATH PARAMETERS id required integer <int64> Id телефона RESPONSES 200 Успешный ответ RESPONSE SCHEMA: APPLICATION/JSON success boolean Default: true patch/phone/{id}/unmark-blacklist Production https://homeapp.team/api/phone/{id}/unmark-blacklist Mock serveer http://127.0.0.1:4010/api/phone/{id}/unmark-blacklist RESPONSE SAMPLES * 200 Content type application/json Copy Expand all Collapse all { * "success": true }