GET /inspections

Позволяет получить список приемок, которые соответствуют выбранным параметрам.

Переменные

Название Тип Формат Обязательность Описание
ids array Guid false Идентификаторы элементов
token string string false Токен, после которого необходимо получить элементы
count integer ^\d{1,50}$ true Количество элементов

В переменных запроса могут быть указаны либо идентификаторы приемок ids, либо токен и количество приемок. Если будет указан count >50, то он будет уменьшен системой до 50 в целях надежности.

Заголовки

Название Описание
Authorization Заголовок авторизации

Пример

Получение информации о приемках

  GET /realty/web/inspection-api/v1/inspections/512a03de-5571-11ee-b038-6997cdaa5e9c
  Authorization: ReestroAuth apiKey=1269f58a-3d40-42e1-91ad-a4251566419c&portal.orgid=1269f58a-3d40-42e1-91ad-a4251566419c

Ответы

200

Тело ответа

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

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

  HTTP 200
  Content-Type: Application/json
{
    "items": [
        {
            "id": "512a03de-5571-11ee-b038-6997cdaa5e9c",
            "construction": {
                "id": "512a03de-5571-11ee-b038-6997cdaa5e9c",
                "externalId": "839e0883-3b05-4fd7-a6cd-ec95e3e10b1c",
                "buildingId": "942b0740-fa14-11ed-99b1-3fb8bbc6957f",
                "planId": "17427642-36ae-11ee-b2ce-4591ebf4b87c",
                "info": {
                    "type": "Flat",
                    "objectNumber": "89",
                    "buildingNumber": "1-1-89",
                    "floor": "12",
                    "commonArea": {
                        "value": 35,
                        "unit": null,
                        "accuracy": null
                    },
                    "roomCount": 0,
                    "liveArea": {
                        "value": 33,
                        "unit": null,
                        "accuracy": null
                    },
                    "section": "1",
                    "entrance": "1"
                },
                "contract": {
                    "documentType": "558401010201",
                    "number": "ДКВ-01-89",
                    "series": null,
                    "issueDate": "2023-09-04",
                    "endingDate": null,
                    "issuer": null,
                    "placeOfIssue": null
                }
            },
            "status": "Canceled",
            "meetings": [
                {
                    "id": "8222cc5c-558d-11ee-a1cf-0ff2295eedcc",
                    "bookingInfo": {
                        "scheduledIn": {
                            "from": "2023-09-20T10:00:00",
                            "to": "2023-09-20T11:00:00"
                        }
                    },
                    "participants": [
                        {
                            "declarant": {
                                "subject": {
                                    "id": "64635ca3b351b050d501b591",
                                    "externalId": null,
                                    "person": {
                                        "name": "Ирина",
                                        "surname": "Иванова",
                                        "patronymic": null,
                                        "dateBirth": null,
                                        "birthPlace": null,
                                        "address": null,
                                        "identityDocument": null
                                    },
                                    "organization": null,
                                    "notification": {
                                        "email": "iUuhbna@sontur.ru",
                                        "phone": "78595095889"
                                    },
                                    "contracts": []
                                },
                                "representative": null
                            },
                            "role": "Responsible"
                        },
                        {
                            "declarant": {
                                "subject": {
                                    "id": "648ff7db2a0da94450d1dcc8",
                                    "externalId": "dc64bf89-123a-4ef2-8ac2-29b915db5341",
                                    "person": {
                                        "name": "Тест",
                                        "surname": "Тестовый",
                                        "patronymic": "Тестович",
                                        "dateBirth": "1990-06-04",
                                        "birthPlace": "Екб",
                                        "address": "Екб",
                                        "identityDocument": {
                                            "documentType": "008001004000",
                                            "number": "1111111",
                                            "series": "1111",
                                            "issueDate": "2023-06-05",
                                            "endingDate": null,
                                            "issuer": {
                                                "issuerCode": "002-002",
                                                "issuerName": "УФМС"
                                            },
                                            "placeOfIssue": null
                                        }
                                    },
                                    "organization": null,
                                    "notification": {
                                        "email": "testtest@test.ru",
                                        "phone": "71111111111"
                                    },
                                    "contracts": [
                                        {
                                            "documentType": "558401010201",
                                            "number": "100-100",
                                            "series": null,
                                            "issueDate": "2023-06-12",
                                            "endingDate": null,
                                            "issuer": null,
                                            "placeOfIssue": null
                                        }
                                    ]
                                },
                                "representative": null
                            },
                            "role": "Owner"
                        }
                    ],
                    "result": null,
                    "link": {
                        "value": "https://kontur.ru/s/q8buz5tt"
                    }
                }
            ],
            "result": null,
            "calendarLink": {
                "value": "https://embed.torrow.net/service/aae6903ed4489fdb90d5a3915d911366d/booking?createOrderResourceParams=62cd763aee32ef10e1eb315c_aae6903f177de5623aa6aca4828761970_1&culture=ru-RU"
            }
        },
        {
            "id": "364f237e-40df-11ee-b54a-818107b4ad78",
            "construction": {
                "id": "364f237e-40df-11ee-b54a-818107b4ad78",
                "externalId": "81121121-5282-49c3-b5a6-1afe201fc51f",
                "buildingId": "5ff71aa8-3db3-11ee-8e22-1d1c040c5d83",
                "planId": "17427732-36ae-11ee-b2ce-4591ebf4b87c",
                "info": {
                    "type": "Flat",
                    "objectNumber": "11",
                    "buildingNumber": null,
                    "floor": "4",
                    "commonArea": {
                        "value": 78,
                        "unit": null,
                        "accuracy": null
                    },
                    "roomCount": 3,
                    "liveArea": {
                        "value": 68,
                        "unit": null,
                        "accuracy": null
                    },
                    "section": null,
                    "entrance": "А"
                },
                "contract": {
                    "documentType": "558401010201",
                    "number": "55778811-1",
                    "series": null,
                    "issueDate": "2023-08-14",
                    "endingDate": null,
                    "issuer": null,
                    "placeOfIssue": null
                }
            },
            "status": "Assigned",
            "meetings": [
                {
                    "id": "33221834-48a8-11ee-8c6d-c1bb59438d70",
                    "bookingInfo": {
                        "scheduledIn": {
                            "from": "2023-09-01T10:00:00",
                            "to": "2023-09-01T11:00:00"
                        }
                    },
                    "participants": [
                        {
                            "declarant": {
                                "subject": {
                                    "id": "64e49b69556fde1cbfcc0114",
                                    "externalId": "dae4cd3a-c283-4c2e-a2d2-8dc02b38a64f",
                                    "person": {
                                        "name": "Алёна",
                                        "surname": "Бережная",
                                        "patronymic": "Владимировна",
                                        "dateBirth": "1990-06-17",
                                        "birthPlace": "Казахстан",
                                        "address": "Новосибирск",
                                        "identityDocument": {
                                            "documentType": "008001001000",
                                            "number": "300900",
                                            "series": "5014",
                                            "issueDate": "2014-09-03",
                                            "endingDate": null,
                                            "issuer": {
                                                "issuerCode": "540008",
                                                "issuerName": "УФМС"
                                            },
                                            "placeOfIssue": null
                                        }
                                    },
                                    "organization": null,
                                    "notification": {
                                        "email": "testakna@yandex.ru",
                                        "phone": "79999999900"
                                    },
                                    "contracts": [
                                        {
                                            "documentType": "558401010201",
                                            "number": "55778811-1",
                                            "series": null,
                                            "issueDate": "2023-08-14",
                                            "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": "jjdfsdsd@skontur.ru",
                                        "phone": "78595005889"
                                    },
                                    "contracts": []
                                },
                                "representative": null
                            },
                            "role": "Responsible"
                        }
                    ],
                    "result": null,
                    "link": {
                        "value": "https://kontur.ru/s/e7drp4fa"
                    }
                }
            ],
            "result": null,
            "calendarLink": {
                "value": "https://embed.torrow.net/service/aae6903ed4489fdb90d5a3915d911366d/booking?createOrderResourceParams=62cd763aee32ef10e1eb315c_aae6903f180cb7832aa6aca482874139e_1&culture=ru-RU"
            }
        }
    ],
    "nextToken": null
}

401

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

403

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