POST /inspections/inspections/{inspectionId}/finish-repair

Метод позволяет завершить ремонтные работы по всем дефектам приёмки, в пути необходимо указать идентификатор приёмки. В ответе вернется информация о приемке и статус Repaired (исправлена).

Переменные

Название Тип Формат Обязательность Описание
inspectionId string Guid true Идентификатор приемки

Заголовки

Название Описание
Content-Type application/json
Authorization Заголовок авторизации

Пример

Завершение ремонтных работ

  POST /realty/web/inspection-api/v1/inspections/d798cd12-dffe-11ed-a4a8-c5457a3167e4/finish-repair
  Authorization: ReestroAuth apiKey=1269f58a-3d40-42e1-91ad-a4251566419c&portal.orgid=1269f58a-3d40-42e1-91ad-a4251566419c
  Content-Type: application/json

Ответы

200

Тело ответа

Замечания успешно устранены, статус изменен на Repaired. В теле ответа содержится описание приемки inspection.

Пример ответа

  HTTP 200
  Content-Type: Application/json
{
    "id": "d798cd12-dffe-11ed-a4a8-c5457a3167e4",
    "construction": {
        "id": "d798cd12-dffe-11ed-a4a8-c5457a3167e4",
        "externalId": "93c870e6-d2c6-11ed-a86d-5f75507a01f1:8",
        "buildingId": "93c870e6-d2c6-11ed-a86d-5f75507a01f1",
        "planId": "b8208f24-d856-11ed-bf52-0b9b60939cbc",
        "info": {
            "type": "Office",
            "objectNumber": "2",
            "buildingNumber": "2-1-2",
            "floor": "1",
            "commonArea": {
                "value": 78.00,
                "unit": null,
                "accuracy": null
            },
            "roomCount": 1,
            "liveArea": null,
            "section": "1",
            "entrance": "1"
        },
        "contract": {
            "documentType": "558401010201",
            "number": "2104",
            "series": null,
            "issueDate": "2023-04-19",
            "endingDate": null,
            "issuer": null,
            "placeOfIssue": null
        }
    },
    "status": "Repaired",
    "meetings": [
        {
            "id": "28e8ab6e-e041-11ed-910f-97122e11f3b8",
            "bookingInfo": {
                "scheduledIn": {
                    "from": "2023-04-21T13:00:00",
                    "to": "2023-04-21T14:00:00"
                }
            },
            "participants": [
                {
                    "declarant": {
                        "subject": null,
                        "representative": {
                            "id": "6440dd2f331faf529648b32f",
                            "principal": {
                                "id": "6440dd2d3ae7bf7a8d65c574",
                                "externalId": "93c870e6-d2c6-11ed-a86d-5f75507a01f1:1",
                                "person": {
                                    "name": "Дольщик",
                                    "surname": "Апрельский",
                                    "patronymic": null,
                                    "dateBirth": "1967-04-07",
                                    "birthPlace": "Казахстан",
                                    "address": "Москва",
                                    "identityDocument": {
                                        "documentType": "008001004000",
                                        "number": "5674",
                                        "series": "П",
                                        "issueDate": "2014-05-11",
                                        "endingDate": null,
                                        "issuer": {
                                            "issuerCode": null,
                                            "issuerName": "УВД Ленинского района города Новосибирска"
                                        },
                                        "placeOfIssue": null
                                    }
                                },
                                "organization": null,
                                "notification": {
                                    "email": "dolshchik.fizik@mail.ru",
                                    "phone": "77775784231"
                                },
                                "contracts": [
                                    {
                                        "documentType": "558401010201",
                                        "number": "2135",
                                        "series": null,
                                        "issueDate": "2021-02-01",
                                        "endingDate": null,
                                        "issuer": null,
                                        "placeOfIssue": null
                                    },
                                    {
                                        "documentType": "558401010201",
                                        "number": "2136",
                                        "series": null,
                                        "issueDate": "2023-04-03",
                                        "endingDate": null,
                                        "issuer": null,
                                        "placeOfIssue": null
                                    },
                                    {
                                        "documentType": "558401010201",
                                        "number": "2137",
                                        "series": null,
                                        "issueDate": "2023-04-04",
                                        "endingDate": null,
                                        "issuer": null,
                                        "placeOfIssue": null
                                    },
                                    {
                                        "documentType": "558401010201",
                                        "number": "2138",
                                        "series": null,
                                        "issueDate": "2021-02-02",
                                        "endingDate": null,
                                        "issuer": null,
                                        "placeOfIssue": null
                                    },
                                    {
                                        "documentType": "558401010201",
                                        "number": "2138",
                                        "series": null,
                                        "issueDate": "2021-02-01",
                                        "endingDate": null,
                                        "issuer": null,
                                        "placeOfIssue": null
                                    },
                                    {
                                        "documentType": "558401010201",
                                        "number": "Н123",
                                        "series": null,
                                        "issueDate": "2023-05-02",
                                        "endingDate": null,
                                        "issuer": null,
                                        "placeOfIssue": null
                                    }
                                ]
                            },
                            "agent": {
                                "id": "6440c5a8331faf529648b325",
                                "externalId": null,
                                "person": {
                                    "name": "Представитель",
                                    "surname": "Рассветный",
                                    "patronymic": "Петрович",
                                    "dateBirth": null,
                                    "birthPlace": null,
                                    "address": null,
                                    "identityDocument": null
                                },
                                "organization": null,
                                "notification": {
                                    "email": "dolshchik.yurik@mail.ru",
                                    "phone": "79374755555"
                                },
                                "contracts": []
                            },
                            "attorney": {
                                "documentType": "558301990000",
                                "number": "78998565656565",
                                "series": null,
                                "issueDate": "2023-04-03",
                                "endingDate": "2023-05-07",
                                "issuer": null,
                                "placeOfIssue": null
                            }
                        }
                    },
                    "role": "Owner"
                },
                {
                    "declarant": {
                        "subject": {
                            "id": "642be323b06d52359f755dca",
                            "externalId": null,
                            "person": {
                                "name": "Юлия",
                                "surname": "Тестовая",
                                "patronymic": null,
                                "dateBirth": "1933-03-01",
                                "birthPlace": "г Хабаровск",
                                "address": null,
                                "identityDocument": {
                                    "documentType": "008001001000",
                                    "number": "212321",
                                    "series": "6517",
                                    "issueDate": "2023-03-01",
                                    "endingDate": null,
                                    "issuer": {
                                        "issuerCode": "111-111",
                                        "issuerName": "выдан"
                                    },
                                    "placeOfIssue": null
                                }
                            },
                            "organization": null,
                            "notification": {
                                "email": "y.test@testkontur.ru",
                                "phone": "79232406867"
                            },
                            "contracts": []
                        },
                        "representative": null
                    },
                    "role": "Responsible"
                }
            ],
            "result": null,
            "link": {
                "value": "https://kontur.ru/s/l2vqu8le"
            }
        },
        {
            "id": "c1cc39b4-f490-11ed-8499-e75ff5499df5",
            "bookingInfo": {
                "scheduledIn": {
                    "from": "2023-05-17T18:00:00",
                    "to": "2023-05-17T19:00:00"
                }
            },
            "participants": [
                {
                    "declarant": {
                        "subject": {
                            "id": "6440dd2d3ae7bf7a8d65c574",
                            "externalId": "93c870e6-d2c6-11ed-a86d-5f75507a01f1:1",
                            "person": {
                                "name": "Дольщик",
                                "surname": "Апрельский",
                                "patronymic": null,
                                "dateBirth": "1967-04-07",
                                "birthPlace": "Казахстан",
                                "address": "Москва",
                                "identityDocument": {
                                    "documentType": "008001004000",
                                    "number": "5674",
                                    "series": "П",
                                    "issueDate": "2014-05-11",
                                    "endingDate": null,
                                    "issuer": {
                                        "issuerCode": null,
                                        "issuerName": "УВД Ленинского района города Новосибирска"
                                    },
                                    "placeOfIssue": null
                                }
                            },
                            "organization": null,
                            "notification": {
                                "email": "dolshchik.fizik@mail.ru",
                                "phone": "77775784231"
                            },
                            "contracts": [
                                {
                                    "documentType": "558401010201",
                                    "number": "2135",
                                    "series": null,
                                    "issueDate": "2021-02-01",
                                    "endingDate": null,
                                    "issuer": null,
                                    "placeOfIssue": null
                                },
                                {
                                    "documentType": "558401010201",
                                    "number": "2136",
                                    "series": null,
                                    "issueDate": "2023-04-03",
                                    "endingDate": null,
                                    "issuer": null,
                                    "placeOfIssue": null
                                },
                                {
                                    "documentType": "558401010201",
                                    "number": "2137",
                                    "series": null,
                                    "issueDate": "2023-04-04",
                                    "endingDate": null,
                                    "issuer": null,
                                    "placeOfIssue": null
                                },
                                {
                                    "documentType": "558401010201",
                                    "number": "2138",
                                    "series": null,
                                    "issueDate": "2021-02-02",
                                    "endingDate": null,
                                    "issuer": null,
                                    "placeOfIssue": null
                                },
                                {
                                    "documentType": "558401010201",
                                    "number": "2138",
                                    "series": null,
                                    "issueDate": "2021-02-01",
                                    "endingDate": null,
                                    "issuer": null,
                                    "placeOfIssue": null
                                },
                                {
                                    "documentType": "558401010201",
                                    "number": "Н123",
                                    "series": null,
                                    "issueDate": "2023-05-02",
                                    "endingDate": null,
                                    "issuer": null,
                                    "placeOfIssue": null
                                }
                            ]
                        },
                        "representative": null
                    },
                    "role": "Owner"
                },
                {
                    "declarant": {
                        "subject": {
                            "id": "64635ca3b351b050d501b591",
                            "externalId": null,
                            "person": {
                                "name": "Ирина",
                                "surname": "Иванова",
                                "patronymic": null,
                                "dateBirth": null,
                                "birthPlace": null,
                                "address": null,
                                "identityDocument": null
                            },
                            "organization": null,
                            "notification": {
                                "email": "testyeyye@testkontur.ru",
                                "phone": "78595995889"
                            },
                            "contracts": []
                        },
                        "representative": null
                    },
                    "role": "Responsible"
                }
            ],
            "result": {
                "verdict": "Rejected",
                "defects": [
                    {
                        "Идентификатор дефекта": "ea7e3750-35ad-11ee-9cd3-717abfea5cba",
                        "Элемент дефекта": {
                            "id": "4a3e9f3e-d854-11ed-bf52-0b9b60939cbc",
                            "name": "Стена",
                            "type": "Regular",
                            "durationInDays": 30
                        },
                        "Комната в которой нашли дефект": {
                            "id": "0e81feb2-d2ca-11ed-b54e-152672f6932f",
                            "name": "Можно вкусно поесть в чудо-кухне 3",
                            "elementIds": [
                                "4a3e9f3e-d854-11ed-bf52-0b9b60939cbc",
                                "6744c130-d854-11ed-bf52-0b9b60939cbc",
                                "6f72ce60-d854-11ed-b7ed-e7b26b8f62f4",
                                "8692c986-ff70-11ed-a8ea-450fa3fc98b2",
                                "86e1e85a-d2c9-11ed-a5ac-493fd44fa1e3"
                            ]
                        },
                        "Информация о дефекте": {
                            "Текстовый комментарий к дефекту": "дыра",
                            "Приложенные фотографии к дефекту": []
                        }
                    }
                ],
                "meters": []
            },
            "link": {
                "value": "https://kontur.ru/s/67ysf6rt"
            }
        }
    ],
    "result": {
        "documents": [
            {
                "documentId": "2926b298-559d-11ee-a5a8-b5b5dd4c71f0",
                "documentInfo": null,
                "content": {
                    "contentInfo": {
                        "contentId": "f2c9edd2-35ad-11ee-9cd3-717abfea5cba",
                        "contentType": "docx",
                        "contentName": "Акт осмотра_ЖК ЖК Мечты_кв.2_от_08.08.2023.docx",
                        "md5": "5fd85d76a9029c124eb15995e2000513",
                        "size": 3524
                    },
                    "signatures": []
                }
            }
        ]
    },
    "calendarLink": {
        "value": "https://embed.torrow.net/service/aae6903ed4489fdb90d5a3915d911366d/booking?createOrderResourceParams=62cd763aee32ef10e1eb315c_aae6903f1782cef13aa5c22af12686bec_1&culture=ru-RU"
    }
}

400

Ошибки валидации запроса.

401

Ошибка авторизации: пользователь не авторизован.

403

Ошибка аутентификации: пользователь не имеет доступа к ресурсам организации, которая указана в заголовке авторизации.

404

Приёмка с указанным идентификатором не найдена.

415

В заголовке Content-Type указан тип контента, который не поддерживается для данного метода.