{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://api13.arm20.com/v1/schemas/pos.prro_inline_pending_by_prro.json","title":"pos.prro_inline_pending_by_prro","description":"Повертає незавершені документи вибраного ПРРО.","type":"object","required":["request","response"],"additionalProperties":false,"properties":{"request":{"oneOf":[{"type":"object","required":["method","params"],"additionalProperties":false,"properties":{"method":{"const":"pos.prro_inline_pending_by_prro"},"params":{"type":"object","additionalProperties":false,"properties":{"kasm":{"type":"string","maxLength":512,"minLength":1,"title":"Номер каси","example":"Приклад","description":"Числовий номер каси, налаштований у Windows Касі.","x-api13-group":"Додаткові"}},"required":["kasm"]},"id":{"type":["string","integer","null"]}}}]},"response":{"oneOf":[{"type":"object","required":["ok","data","request_id"],"additionalProperties":false,"properties":{"ok":{"const":true},"data":{"type":"object","required":["method","result","id"],"additionalProperties":false,"properties":{"method":{"const":"pos.prro_inline_pending_by_prro"},"result":{"type":"object","required":["upstream","status","rows"],"additionalProperties":false,"properties":{"upstream":{"type":"object","required":["name","version","resource"],"additionalProperties":false,"properties":{"name":{"const":"UPMAPI"},"version":{"type":"string"},"resource":{"type":"string"}}},"status":{"type":"object","required":["code","operation","value"],"additionalProperties":false,"properties":{"code":{"const":"OK"},"operation":{"type":"string"},"value":{"type":"string"}}},"rows":{"type":"array","items":{"type":"object","required":["prro_number","count"],"additionalProperties":false,"properties":{"prro_number":{"type":"string","title":"Prro number","description":"Повернене значення «Prro number» відповідного запису, документа або підсумку ARM20.","example":"Приклад"},"count":{"type":"string","title":"Count","description":"Кількість рядків або об’єктів у результаті операції.","example":"Приклад"}}}}}},"id":{"type":["string","integer","null"]}}},"request_id":{"type":"string"}}}]}},"x-api13-operation":{"description":"Повертає незавершені документи вибраного ПРРО.","scope":"pos.read","params":{"kasm":{"type":"string","max":512,"required":true,"title":"Номер каси","description":"Числовий номер каси, налаштований у Windows Касі.","group":"Додаткові","example":"Приклад"}},"result":{"mode":"rows","columns":["prro_number","count"],"field_specs":{"prro_number":{"title":"Prro number","description":"Повернене значення «Prro number» відповідного запису, документа або підсумку ARM20.","type":"string","example":"Приклад"},"count":{"title":"Count","description":"Кількість рядків або об’єктів у результаті операції.","type":"string","example":"Приклад"}}},"mutating":false,"idempotency_required":false,"since":"0.4.0","stability":"stable","deprecated":false,"aliases":["pos","prro inline pending by prro","Повертає незавершені документи вибраного ПРРО.","Windows Каса"],"errors":[{"code":"INVALID_PARAMETER","http":422,"description":"Один із параметрів має неправильний тип, формат або значення.","retry":"Виправити запит; автоматично не повторювати."},{"code":"UPSTREAM_FAILURE","http":502,"description":"Сервер бізнес-операції недоступний або відхилив безпечний контракт.","retry":"Дозволений повтор із backoff."}],"related_methods":["pos.prro_fiscal_error_move_empty_order","pos.prro_fiscal_lookup","pos.prro_fiscal_order_tax_update","pos.prro_fiscal_restore_from_error"]}}