{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://api13.arm20.com/v1/schemas/pos.prro_inline_get_status.json","title":"pos.prro_inline_get_status","description":"Повертає поточний стан документа в онлайн-черзі ПРРО.","type":"object","required":["request","response"],"additionalProperties":false,"properties":{"request":{"oneOf":[{"type":"object","required":["method"],"additionalProperties":false,"properties":{"method":{"const":"pos.prro_inline_get_status"},"params":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"default":0,"title":"Ідентифікатор запису","example":1,"description":"Ідентифікатор запису у відповідному довіднику або таблиці ARM20.","x-api13-group":"Основні"}}},"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_get_status"},"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":["status"],"additionalProperties":false,"properties":{"status":{"type":"string","title":"Статус","description":"Повернене значення «Статус» відповідного запису, документа або підсумку ARM20.","example":"Приклад"}}}}}},"id":{"type":["string","integer","null"]}}},"request_id":{"type":"string"}}}]}},"x-api13-operation":{"description":"Повертає поточний стан документа в онлайн-черзі ПРРО.","scope":"pos.read","params":{"id":{"type":"int","min":-2147483648,"max":2147483647,"default":0,"title":"Ідентифікатор запису","description":"Ідентифікатор запису у відповідному довіднику або таблиці ARM20.","group":"Основні","example":1}},"result":{"mode":"rows","columns":["status"],"field_specs":{"status":{"title":"Статус","description":"Повернене значення «Статус» відповідного запису, документа або підсумку ARM20.","type":"string","example":"Приклад"}}},"mutating":false,"idempotency_required":false,"since":"0.4.0","stability":"stable","deprecated":false,"aliases":["pos","prro inline get status","Повертає поточний стан документа в онлайн-черзі ПРРО.","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"]}}