> For the complete documentation index, see [llms.txt](https://sravni-labs-ru.gitbook.io/sravni-labs.ru-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sravni-labs-ru.gitbook.io/sravni-labs.ru-docs/rasschyotno-kassovoe-obsluzhivanie./metody-vzaimodeistviya/poluchenie-statusa-zayavki.md).

# Получение статуса заявки

Метод для получения статуса созданных заявок

Авторизация осуществляется по токену с актуальным сроком действия. Его требуется передать в заголовке Authorization при выполнении запроса.

Базовый URL dev: [https://sravni-apigateway-service.dev.sravni-team.ru](https://sravni-apigateway-service.dev.sravni-team.ru/)\
Базовый URL prod: [https://api.sravni.ru](https://api.sravni.ru/)

## GET /agents/v1/rko/status/{id}

> Получение статуса заявки РКО в АК по идентификатору

```json
{"openapi":"3.0.1","info":{"title":"Sravni.ApiGateway.Service 1.0","version":"1.0"},"paths":{"/agents/v1/rko/status/{id}":{"get":{"tags":["Агентский кабинет"],"summary":"Получение статуса заявки РКО в АК по идентификатору","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.RkoStatusDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.RkoStatusDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.RkoStatusDto"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Sravni.Micro.Errors.ErrorModel"}},"application/json":{"schema":{"$ref":"#/components/schemas/Sravni.Micro.Errors.ErrorModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/Sravni.Micro.Errors.ErrorModel"}}}},"500":{"description":"Internal Server Error","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Sravni.Micro.Errors.ErrorModel"}},"application/json":{"schema":{"$ref":"#/components/schemas/Sravni.Micro.Errors.ErrorModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/Sravni.Micro.Errors.ErrorModel"}}}}}}}},"components":{"schemas":{"Sravni.ApiGateway.Service.Agents.Models.Rko.RkoStatusDto":{"type":"object","properties":{"rewardStatus":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.Enums.RkoListItemStatus"},"status":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.Enums.RkoListItemStatus"},"statusComment":{"type":"string","description":"Комментарий по статусу от банка","nullable":true}},"additionalProperties":false},"Sravni.ApiGateway.Service.Agents.Models.Rko.Enums.RkoListItemStatus":{"enum":["notSet","new","refused","confirmed","approved","finalApproved","rejected","reserved","activated"],"type":"string"},"Sravni.Micro.Errors.ErrorModel":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Sravni.Micro.Errors.Error"}},"additionalProperties":false},"Sravni.Micro.Errors.Error":{"type":"object","properties":{"code":{"type":"string","nullable":true},"target":{"type":"string","nullable":true},"message":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"attemptedValue":{"type":"string","nullable":true},"details":{"type":"array","items":{"$ref":"#/components/schemas/Sravni.Micro.Errors.Error"},"nullable":true}},"additionalProperties":false}}}}
```
