Skip to main content

POST /api/des-pscan/protocols/resolve-items

REQUEST

URL

https://des-pscan.stage.akcyz.edin.ua/

Метод запиту

POST

URL запиту

/api/des-pscan/protocols/resolve-items

URL параметри

tenant (string) необов'язково - Tenant ідентифікатор

Headers

 

Authorization

Bearer

Content-Type

application/json

REQUEST


JSON Body

обов'язково, об'єкт ResolveItemsRequest

 

JSON приклад запиту:

 

{
  "items": [
    {
      "exciseCode": "string",
      "readableCode": "string"
    }
  ]
}
RESPONSE
  • Статус 200.

Масив об'єктів ResolveItemResponse.

JSON приклад відповіді
[
  {
    "index": 0,
    "exciseCode": "string",
    "readableCode": "string",
    "itemType": "string"
  }
]
  •  Статус 422 - Unprocessable Content

Об'єкт HttpValidationProblemDetails.

JSON приклад відповіді
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "errors": {
    "additionalProp1": [
      "string"
    ],
    "additionalProp2": [
      "string"
    ],
    "additionalProp3": [
      "string"
    ]
  },
  "additionalProp1": "string",
  "additionalProp2": "string",
  "additionalProp3": "string"
}