> 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-predlozhenii.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/products

> Получение предложений на оформление РКО

```json
{"openapi":"3.0.1","info":{"title":"Sravni.ApiGateway.Service 1.0","version":"1.0"},"paths":{"/agents/v1/rko/products":{"get":{"tags":["Агентский кабинет"],"summary":"Получение предложений на оформление РКО","parameters":[{"name":"legalEntity","in":"query","description":"Юридический статус: ip/ooo","schema":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.Enums.LegalEntityFieldFilter"}},{"name":"location","in":"query","description":"Название населенного пункта","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.AgentListResponse`1[[Sravni.Agent.Clients.Rko.Models.SubModels.RkoProduct, Sravni.ApiGateway.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"application/json":{"schema":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.AgentListResponse`1[[Sravni.Agent.Clients.Rko.Models.SubModels.RkoProduct, Sravni.ApiGateway.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}},"text/json":{"schema":{"$ref":"#/components/schemas/Sravni.ApiGateway.Service.Agents.Models.Rko.AgentListResponse`1[[Sravni.Agent.Clients.Rko.Models.SubModels.RkoProduct, Sravni.ApiGateway.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"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.Enums.LegalEntityFieldFilter":{"enum":["default","ooo","ip"],"type":"string","description":"Набор юридических статусов, по которым доступна фильтрация заявок"},"Sravni.ApiGateway.Service.Agents.Models.Rko.AgentListResponse`1[[Sravni.Agent.Clients.Rko.Models.SubModels.RkoProduct, Sravni.ApiGateway.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.RkoProduct"},"description":"Заявки","nullable":true},"total":{"type":"integer","description":"Общее количество заявок","format":"int32"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.RkoProduct":{"type":"object","properties":{"profit":{"type":"number","format":"double"},"_id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"alias":{"type":"string","nullable":true},"service":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.ItemService"},"cashDeposit":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.CashDeposit"},"transferToIndividual":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.TransferToIndividual"},"legalEntityPayment":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.LegalEntityPayment"},"cashWithdrawal":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.CashWithdrawal"},"sortValues":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.SortValues"},"tags":{"type":"array","items":{},"nullable":true},"organization":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Organization"},"advertising":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Advertising"},"calculation":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Calculation"},"transferToPersonalAccount":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.TransferToPersonalAccount"},"businessCard":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.BusinessCard"},"interestOfTheBalance":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.InterestOfTheBalance"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.ItemService":{"type":"object","properties":{"canBeOpenedOnline":{"type":"boolean"},"price":{"type":"array","items":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Price"},"nullable":true},"trial":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Trial"},"openingPrice":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Price":{"type":"object","properties":{"value":{"type":"number","format":"double"},"unit":{"type":"string","nullable":true},"limit":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Limit"},"calculateBy":{"type":"string","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Limit":{"type":"object","properties":{"from":{"type":"integer","format":"int64","nullable":true},"to":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Trial":{"type":"object","properties":{"period":{"type":"integer","format":"int64","nullable":true},"cost":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.CashDeposit":{"type":"object","properties":{"type":{"type":"string","nullable":true},"options":{"type":"array","items":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.CashDepositOption"},"nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.CashDepositOption":{"type":"object","properties":{"percent":{"type":"number","format":"double","nullable":true},"limit":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Limit"},"min":{"type":"integer","format":"int64","nullable":true},"fix":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.TransferToIndividual":{"type":"object","properties":{"external":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.TransferToIndividualExternal"},"internal":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.CashDeposit"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.TransferToIndividualExternal":{"type":"object","properties":{"type":{"type":"string","nullable":true},"options":{"type":"array","items":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.CashDepositOption"},"nullable":true},"overdraftPercent":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.LegalEntityPayment":{"type":"object","properties":{"external":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.LegalEntityPaymentExternal"},"internal":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Internal"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.LegalEntityPaymentExternal":{"type":"object","properties":{"cost":{"type":"integer","format":"int64","nullable":true},"freeCount":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Internal":{"type":"object","properties":{"cost":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.CashWithdrawal":{"type":"object","properties":{"type":{"type":"string","nullable":true},"options":{"type":"array","items":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.CashDepositOption"},"nullable":true},"overdraftPercent":{"type":"integer","format":"int64","nullable":true},"description":{"type":"string","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.SortValues":{"type":"object","properties":{"service":{"type":"integer","format":"int64"},"payment":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Organization":{"type":"object","properties":{"logotypes":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Logotypes"},"alias":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"licence":{"type":"string","nullable":true},"_id":{"type":"string","nullable":true},"oldId":{"type":"integer","format":"int32"},"reviewsTotal":{"type":"integer","format":"int64","nullable":true},"sravniRating":{"type":"number","format":"double","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Logotypes":{"type":"object","properties":{"web":{"type":"string","format":"uri","nullable":true},"square":{"type":"string","format":"uri","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Advertising":{"type":"object","properties":{"id":{"type":"string","nullable":true},"aggregator":{"type":"string","nullable":true},"position":{"type":"integer","format":"int64","nullable":true},"cost":{"type":"number","format":"double"},"priorityInGroup":{"type":"boolean"},"isPartner":{"type":"boolean"},"buttonColor":{"type":"string","nullable":true},"buttonText":{"type":"string","nullable":true},"buttonMobileText":{"type":"string","nullable":true},"monetization":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Monetization"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Monetization":{"type":"object","properties":{"kind":{"type":"string","nullable":true},"pixels":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Pixels"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Pixels":{"type":"object","properties":{"display":{"type":"string","format":"uri","nullable":true},"click":{"type":"string","format":"uri","nullable":true},"conversion":{"type":"string","format":"uri","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.Calculation":{"type":"object","properties":{"service":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.CalculationService"},"total":{"type":"integer","format":"int64"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.CalculationService":{"type":"object","properties":{"cost":{"type":"integer","format":"int64"},"option":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Price"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.TransferToPersonalAccount":{"type":"object","properties":{"type":{"type":"string","nullable":true},"options":{"type":"array","items":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.TransferToPersonalAccountOption"},"nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.TransferToPersonalAccountOption":{"type":"object","properties":{"limit":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.Limit"},"percent":{"type":"number","format":"double"}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.BusinessCard":{"type":"object","properties":{"service":{"$ref":"#/components/schemas/Sravni.Agent.Clients.Rko.Models.SubModels.BusinessCardService"},"cashback":{"nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.BusinessCardService":{"type":"object","properties":{"cost":{"nullable":true},"period":{"type":"string","nullable":true}},"additionalProperties":false},"Sravni.Agent.Clients.Rko.Models.SubModels.InterestOfTheBalance":{"type":"object","properties":{"options":{"type":"array","items":{},"nullable":true}},"additionalProperties":false},"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}}}}
```
