2.2.7.1 запрос: различия между версиями

Нет описания правки
Нет описания правки
Строка 5: Строка 5:
'''Параметры REST запроса (Parameters of REST request)'''
'''Параметры REST запроса (Parameters of REST request)'''


'''URL:'''<1c>http://<server-name>[:serverport]/api/v2/{extension}/buffer/status?
'''URL:'''<syntaxhighlight lang='1c'>http://<server-name>[:serverport]/api/v2/{extension}/buffer/status?
omsId={omsId}&orderId={orderId}&gtin={gtin}</1c>
omsId={omsId}&orderId={orderId}&gtin={gtin}</syntaxhighlight>


'''Method:'''GET
'''Method:'''GET
Строка 18: Строка 18:
Пример REST запроса.
Пример REST запроса.


'''GET''' <1c>/api/v2/tobacco/buffer/status?orderId=b024ae09-ef7c-449e-b461-
'''GET''' <syntaxhighlight lang='1c'>/api/v2/tobacco/buffer/status?orderId=b024ae09-ef7c-449e-b461-
05d8eb116c79&gtin=01334567894339&omsId=CDF12109-10D3-11E6-8B6F0050569977A1 HTTP/1.1</1c>
05d8eb116c79&gtin=01334567894339&omsId=CDF12109-10D3-11E6-8B6F0050569977A1 HTTP/1.1</syntaxhighlight>


'''Accept:''' application/json
'''Accept:''' application/json