Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Описание доступно на развернутом сервисе в виде swagger-ui.

Тестовый сервис - https://2drtest.softrust.ru/api/v3/visit/swagger/index.html

Либо здесь в виде описания сервиса в формате open-api - swagger.json. Можно просматривать на https://editor.swagger.io/, скопировав туда содержимое или загрузив в виде файла.

Блок кода
titleswagger.json - 2.22 - 20.08.2021
collapsetrue
{
    "openapi": "3.0.1",
    "info": {
        "title": "Visit - Сервис записи на прием.",
        "contact": {
            "name": "Confluence docs",
            "url": "https://confluence.softrust.ru/pages/viewpage.action?pageId=19071255"
        },
        "version": "v1"
    },
    "servers": [
        {
            "url": "https://2drtest.softrust.ru/api/v3/visit"
        }
    ],
    "paths": {
        "/iemk/doctors/entry": {
            "post": {
                "tags": [
                    "Iemk"
                ],
                "summary": "Создание записи на прием для рпгу",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "рпгу токен",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "description": "Тело запроса",
                    "content": {
                        "application/json-patch+json": {
                            "schema": {
                                "$ref": "#/components/schemas/VisitPostBodyIemk"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VisitPostBodyIemk"
                            }
                        },
                        "text/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VisitPostBodyIemk"
                            }
                        },
                        "application/*+json": {
                            "schema": {
                                "$ref": "#/components/schemas/VisitPostBodyIemk"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            },
            "get": {
                "tags": [
                    "Iemk"
                ],
                "summary": "Получение записей на прием для рпгу",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "РПГУ токен",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "dateFrom",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    },
                    {
                        "name": "dateTo",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/iemk/doctors/entry/{entryId}": {
            "delete": {
                "tags": [
                    "Iemk"
                ],
                "summary": "Отмена записи для рпгу",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "РПГУ токен",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "entryId",
                        "in": "path",
                        "description": "Склейка ЛПУ и Талона",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            },
            "get": {
                "tags": [
                    "Iemk"
                ],
                "summary": "Получение информации о приеме для рпгу",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "РПГУ токен",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "entryId",
                        "in": "path",
                        "description": "Склейка ЛПУ и Талона",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/iemk/doctors/entry/checkVisit": {
            "get": {
                "tags": [
                    "Iemk"
                ],
                "summary": "Проверка возможности записи для рпгу",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "РПГУ токен",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "lpuCode",
                        "in": "query",
                        "description": "Код ЛПУ",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/mailconfirmation/{lpuGuid}/{ticketGuid}": {
            "get": {
                "tags": [
                    "MailConfirmation"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "referer",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/mailconfirmation/{lpuGuid}/{ticketGuid}/confirm": {
            "get": {
                "tags": [
                    "MailConfirmation"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "referer",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/mailconfirmation/{lpuGuid}/{ticketGuid}/decline": {
            "get": {
                "tags": [
                    "MailConfirmation"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "referer",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/mailconfirmation/{lpuGuid}/{ticketGuid}/transfer": {
            "get": {
                "tags": [
                    "MailConfirmation"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "referer",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/mailconfirmation/{lpuGuid}/{ticketGuid}/cancel": {
            "get": {
                "tags": [
                    "MailConfirmation"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "referer",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/mailconfirmation/{lpuGuid}/{ticketGuid}/cancel/approved": {
            "get": {
                "tags": [
                    "MailConfirmation"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "referer",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reason",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/mailconfirmation/unsubscribe": {
            "get": {
                "tags": [
                    "MailConfirmation"
                ],
                "parameters": [
                    {
                        "name": "email",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets/slot": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "parameters": [
                    {
                        "name": "slot",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets/lpus": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "summary": "Получение ЛПУ пациента для опроса записей на прием.",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets/lpus/{lpuGuid}": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "summary": "Получение записей на прием из ЛПУ.",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets/cod": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "summary": "Получение записей на прием из ЦОД.",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "lpuGuid",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets/lpus/{lpuGuid}/ticket/{ticketGuid}/print": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "summary": "Печать талона записи на прием.",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "description": "Guid талона.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets/cod/ticket/{ticketGuid}/print": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "summary": "Печать талона записи на прием из ЦОД.",
                "parameters": [
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "description": "Guid талона.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "summary": "Создание сессии получения талонов.",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets/{sessionGuid}": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "summary": "Получение талонов по гуиду сессии.",
                "parameters": [
                    {
                        "name": "sessionGuid",
                        "in": "path",
                        "description": "Guid сессии.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/tickets/byUser": {
            "get": {
                "tags": [
                    "Tickets"
                ],
                "summary": "Получение инфы о записях другого пользователя,\r\nсделанных с внешним идентификатором",
                "parameters": [
                    {
                        "name": "externalUserId",
                        "in": "query",
                        "description": "Внешний идентификатор",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/to/commission": {
            "post": {
                "tags": [
                    "Visit"
                ],
                "summary": "Создание записи на комиссию.",
                "requestBody": {
                    "description": "Команда создания записи.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateVisitToCommissionCommand"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Результат записи.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CreateVisitResultShort"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Ошибка формата запроса или валидации.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExceptionResponce"
                                }
                            }
                        }
                    },
                    "500": {
                        "description": "Ошибка сервера.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExceptionResponce"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Ошибка авторизации."
                    },
                    "403": {
                        "description": "Forbidden"
                    }
                },
                "security": [
                    {
                        "Ticket": [
                            "whc.api"
                        ]
                    },
                    {
                        "whc-auth 1": [
                            "whc.api"
                        ]
                    },
                    {
                        "whc-auth 2": [
                            "whc.api"
                        ]
                    }
                ]
            }
        },
        "/{lpuGuid}": {
            "post": {
                "tags": [
                    "Visit"
                ],
                "summary": "Запись на приём",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ.",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "TimeTable",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "DateTime",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "DocGuid",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "OutOfSlot",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "DirectionId",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "format": "int32"
                        }
                    },
                    {
                        "name": "DirectionType",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "Email",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "Email_confirm_agree",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "Phone",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "FullResponse",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "ExamGuid",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "ExternalUserId",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Visit"
                ],
                "summary": "Отмена записи на приём",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "TicketGuid",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "ExamGuid",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "ExternalUserId",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "Reason",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "FromMail",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            },
            "get": {
                "tags": [
                    "Visit"
                ],
                "summary": "Получение записей на прием по ЛПУ.",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/withoutMkab": {
            "post": {
                "tags": [
                    "Visit"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json-patch+json": {
                            "schema": {
                                "$ref": "#/components/schemas/VisitWithoutMkabData"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VisitWithoutMkabData"
                            }
                        },
                        "text/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VisitWithoutMkabData"
                            }
                        },
                        "application/*+json": {
                            "schema": {
                                "$ref": "#/components/schemas/VisitWithoutMkabData"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/reservation": {
            "post": {
                "tags": [
                    "Visit"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json-patch+json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReservationTimeTableRequestDto"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReservationTimeTableRequestDto"
                            }
                        },
                        "text/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReservationTimeTableRequestDto"
                            }
                        },
                        "application/*+json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReservationTimeTableRequestDto"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/reservation/cancel": {
            "delete": {
                "tags": [
                    "Visit"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "TicketGuid",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "ExamGuid",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "ExternalUserId",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "Reason",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "FromMail",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/reservation/confirm": {
            "post": {
                "tags": [
                    "Visit"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json-patch+json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReservationConfirmationDataInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReservationConfirmationDataInput"
                            }
                        },
                        "text/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReservationConfirmationDataInput"
                            }
                        },
                        "application/*+json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReservationConfirmationDataInput"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/outSchedule/{resGuid}/{date}": {
            "post": {
                "tags": [
                    "Visit"
                ],
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "resGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "date",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/reg": {
            "post": {
                "tags": [
                    "Visit"
                ],
                "summary": "Запись на приём в доврачебный кабинет",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "room",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/transport/{lpuGuid}": {
            "post": {
                "tags": [
                    "Visit"
                ],
                "summary": "Перенос записи на приём.",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "TicketGuid",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "TimeTable",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "ExamGuid",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "DirectionId",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/ticketsforiemk": {
            "get": {
                "tags": [
                    "Visit"
                ],
                "summary": "Получить список талонов для РПГУ",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "токен.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "dateFrom",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    },
                    {
                        "name": "dateTo",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date-time"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/{docGuid}": {
            "get": {
                "tags": [
                    "Visit"
                ],
                "summary": "Получение гуида раписания по гуиду врача и дате, времени приема.",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "docGuid",
                        "in": "path",
                        "description": "Guid врача.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/ticket/{ticketGuid}": {
            "get": {
                "tags": [
                    "Visit"
                ],
                "summary": "Получение информации о записи на прием по гуиду",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "description": "Guid записи на приём.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/{ticketGuid}/print": {
            "get": {
                "tags": [
                    "Visit"
                ],
                "summary": "Печать талона записи на прием.",
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "description": "Guid талона.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/{lpuGuid}/visitcheck": {
            "get": {
                "tags": [
                    "Visit"
                ],
                "parameters": [
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "authorization",
                        "in": "header",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        },
        "/other/{lpuGuid}/ticket/{ticketGuid}": {
            "get": {
                "tags": [
                    "Visit"
                ],
                "summary": "Получение информации о записи на прием по гуиду",
                "parameters": [
                    {
                        "name": "authorization",
                        "in": "header",
                        "description": "Токен.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "lpuGuid",
                        "in": "path",
                        "description": "Guid ЛПУ.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    },
                    {
                        "name": "ticketGuid",
                        "in": "path",
                        "description": "Guid записи на приём.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "CreateVisitResultShort": {
                "type": "object",
                "properties": {
                    "guid": {
                        "type": "string",
                        "description": "Гуид.",
                        "format": "uuid"
                    },
                    "number": {
                        "type": "string",
                        "description": "Номер.",
                        "nullable": true
                    },
                    "dateTime": {
                        "type": "string",
                        "description": "Дата и время записи.",
                        "format": "date-time"
                    }
                },
                "additionalProperties": false,
                "description": "Результат записи на прием."
            },
            "CreateVisitToCommissionCommand": {
                "type": "object",
                "properties": {
                    "lpuGuid": {
                        "type": "string",
                        "description": "ЛПУ гуид куда пишем.",
                        "format": "uuid"
                    },
                    "mkabGuid": {
                        "type": "string",
                        "description": "МКАБ кого пишем.",
                        "format": "uuid"
                    },
                    "docPrvdGuid": {
                        "type": "string",
                        "description": "Гуид ресурса.",
                        "format": "uuid"
                    },
                    "firstOnDate": {
                        "type": "string",
                        "description": "Дата на первую свободную ячейку которой пишем.",
                        "format": "date-time"
                    },
                    "clientName": {
                        "type": "string",
                        "description": "Имя клиента. Временно параметр - в дальнейшем будем получать через авторизацию.",
                        "nullable": true
                    },
                    "login": {
                        "type": "string",
                        "description": "Логин пишущего пользователя. Временно параметр - в дальнейшем будем получать через авторизацию.",
                        "nullable": true
                    },
                    "userId": {
                        "type": "string",
                        "description": "Идентификатор пользователя. Временно параметр - в дальнейшем будем получать через авторизацию.",
                        "nullable": true
                    },
                    "toOtherLpu": {
                        "type": "boolean",
                        "description": "Признак записи в другую ЛПУ."
                    }
                },
                "additionalProperties": false,
                "description": "Команда создания записи на комиссию."
            },
            "ExceptionResponce": {
                "type": "object",
                "properties": {
                    "isValid": {
                        "type": "boolean",
                        "nullable": true
                    },
                    "code": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "message": {
                        "type": "string",
                        "nullable": true
                    },
                    "messageCode": {
                        "type": "integer",
                        "format": "int32"
                    }
                },
                "additionalProperties": false
            },
            "IdentityDocument": {
                "type": "object",
                "properties": {
                    "typeCode": {
                        "type": "string",
                        "nullable": true
                    },
                    "series": {
                        "type": "string",
                        "nullable": true
                    },
                    "number": {
                        "type": "string",
                        "nullable": true
                    },
                    "date": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "issuedBy": {
                        "type": "string",
                        "nullable": true
                    }
                },
                "additionalProperties": false
            },
            "ReservationConfirmationDataInput": {
                "type": "object",
                "properties": {
                    "surname": {
                        "type": "string",
                        "nullable": true
                    },
                    "name": {
                        "type": "string",
                        "nullable": true
                    },
                    "patronymic": {
                        "type": "string",
                        "nullable": true
                    },
                    "birthday": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "gender": {
                        "type": "string",
                        "nullable": true
                    },
                    "sPol": {
                        "type": "string",
                        "nullable": true
                    },
                    "nPol": {
                        "type": "string",
                        "nullable": true
                    },
                    "email": {
                        "type": "string",
                        "nullable": true
                    },
                    "phone": {
                        "type": "string",
                        "nullable": true
                    },
                    "snils": {
                        "type": "string",
                        "nullable": true
                    },
                    "docIdent": {
                        "$ref": "#/components/schemas/IdentityDocument"
                    },
                    "ticketGuid": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "externalUserID": {
                        "type": "string",
                        "nullable": true
                    }
                },
                "additionalProperties": false
            },
            "ReservationTimeTableRequestDto": {
                "type": "object",
                "properties": {
                    "timeTable": {
                        "type": "string",
                        "nullable": true
                    },
                    "authSource": {
                        "type": "string",
                        "nullable": true
                    },
                    "ageCategory": {
                        "type": "string",
                        "nullable": true
                    },
                    "docGuid": {
                        "type": "string",
                        "nullable": true
                    },
                    "dateTime": {
                        "type": "string",
                        "nullable": true
                    },
                    "externalUserId": {
                        "type": "string",
                        "nullable": true
                    },
                    "reserveTime": {
                        "type": "integer",
                        "format": "int32"
                    }
                },
                "additionalProperties": false
            },
            "VisitPostBodyIemk": {
                "type": "object",
                "properties": {
                    "lpu_code": {
                        "type": "string",
                        "nullable": true
                    },
                    "doctor_id": {
                        "type": "string",
                        "nullable": true
                    },
                    "day": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "time": {
                        "type": "string",
                        "nullable": true
                    },
                    "email": {
                        "type": "string",
                        "nullable": true
                    },
                    "email_confirm_agree": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "phone": {
                        "type": "string",
                        "nullable": true
                    }
                },
                "additionalProperties": false
            },
            "VisitWithoutMkabData": {
                "type": "object",
                "properties": {
                    "surname": {
                        "type": "string",
                        "nullable": true
                    },
                    "name": {
                        "type": "string",
                        "nullable": true
                    },
                    "patronymic": {
                        "type": "string",
                        "nullable": true
                    },
                    "birthday": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "gender": {
                        "type": "string",
                        "nullable": true
                    },
                    "sPol": {
                        "type": "string",
                        "nullable": true
                    },
                    "nPol": {
                        "type": "string",
                        "nullable": true
                    },
                    "email": {
                        "type": "string",
                        "nullable": true
                    },
                    "phone": {
                        "type": "string",
                        "nullable": true
                    },
                    "snils": {
                        "type": "string",
                        "nullable": true
                    },
                    "docIdent": {
                        "$ref": "#/components/schemas/IdentityDocument"
                    },
                    "timeTable": {
                        "type": "string",
                        "nullable": true
                    },
                    "dateTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "docGuid": {
                        "type": "string",
                        "nullable": true
                    },
                    "externalUserID": {
                        "type": "string",
                        "nullable": true
                    }
                },
                "additionalProperties": false
            }
        },
        "securitySchemes": {
            "whc-auth 2": {
                "type": "oauth2",
                "description": "Авторизация через https://confluence.softrust.ru/display/WHC/whc-auth+2.0",
                "flows": {
                    "authorizationCode": {
                        "authorizationUrl": "https://auth.softrust.ru/auth/connect/authorize",
                        "tokenUrl": "https://auth.softrust.ru/auth/connect/token",
                        "scopes": {
                            "whc.api": "Полный доступ в API МИС"
                        }
                    }
                }
            },
            "Ticket": {
                "type": "apiKey",
                "description": "Авторизация через старый сервис авторизации",
                "name": "Ticket",
                "in": "header"
            }
        }
    }
}

Либо для части методов описание на страницах ниже.

Сервис записи на приём

Отображение дочерних