2.2.16.2 запрос: различия между версиями
Shihov (обсуждение | вклад) Новая страница: «======= Запрос (Request) ======= <syntaxhighlight lang='bash'> 'Параметры запроса приведены ниже: </syntaxhighlight>' <syntaxhighlight lang='bash'> 'URL: </syntaxhighlight>' <1c>http://<server>[:port]/api/v2/{extension}/codes/retry?orderId={orderId}>in={gtin}&blockId={blockId}</1c> <syntaxhighlight lang='bash'> 'Method: </syntaxhighlight>'GET <syntaxhighlight lang='bash'> 'clientToken: </syntaxhighlight>'{clientToken}...» |
Shihov (обсуждение | вклад) Нет описания правки |
||
(не показано 5 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
====== Запрос (Request) ====== | |||
'''Параметры запроса приведены ниже:''' | |||
'Параметры запроса приведены ниже: | |||
'''URL:''' <syntaxhighlight lang='1c'>http://<server>[:port]/api/v2/{extension}/codes/retry?orderId={orderId}>in={gtin}&blockId={blockId}'''''Method:'''GET | |||
'URL: | |||
< | |||
'''clientToken:'''{clientToken} | |||
' | |||
'''Accept:''' application/json | |||
' | |||
Параметры строки запроса | Параметры строки запроса | ||
Строка 27: | Строка 15: | ||
Пример запроса | Пример запроса | ||
<1c> | <syntaxhighlight lang='1c'> | ||
GET /api/v2/{extension}/codes/retry?orderId=b024ae09-ef7c-449e-b461- | GET /api/v2/{extension}/codes/retry?orderId=b024ae09-ef7c-449e-b461- | ||
05d8eb116c79>in=01334567894339&blockId=a024ae09-ef7c-449e-b461-05d8eb116c90 HTTP/1.1 | 05d8eb116c79>in=01334567894339&blockId=a024ae09-ef7c-449e-b461-05d8eb116c90 HTTP/1.1 | ||
Строка 33: | Строка 21: | ||
clientToken: 1cecc8fb-fb47-4c8a-af3d-d34c1ead8c4f | clientToken: 1cecc8fb-fb47-4c8a-af3d-d34c1ead8c4f | ||
Host: localhost:8080 | Host: localhost:8080 | ||
</ | </syntaxhighlight> | ||
[[Category:2.2.16 получить повторно коды]] | |||
<vote type=1 /> |