2.2.6.1 запрос: различия между версиями
Shihov (обсуждение | вклад) Нет описания правки |
Shihov (обсуждение | вклад) Нет описания правки |
||
Строка 5: | Строка 5: | ||
'''URL:'''<syntaxhighlight lang='1c'>http://<server-name>[:server-port]/api/v2/{extension}/codes? | '''URL:'''<syntaxhighlight lang='1c'>http://<server-name>[:server-port]/api/v2/{extension}/codes? | ||
omsId={omsId}&orderId={orderId}>in={gtin}&quantity={quantity}& | omsId={omsId}&orderId={orderId}>in={gtin}&quantity={quantity}& | ||
lastBlockId={lastBlockId} | lastBlockId={lastBlockId}'''''Method:'''GET | ||
'''Method:'''GET | |||
'''clientToken:'''{clientToken} | '''clientToken:'''{clientToken} | ||
Строка 25: | Строка 23: | ||
'''GET''' <syntaxhighlight lang='1c'>/api/v2/tobacco/codes?orderId=b024ae09-ef7c-449e-b461- | '''GET''' <syntaxhighlight lang='1c'>/api/v2/tobacco/codes?orderId=b024ae09-ef7c-449e-b461- | ||
05d8eb116c79>in=01334567894339&quantity=15&lastBlockId=0&omsId=CDF | 05d8eb116c79>in=01334567894339&quantity=15&lastBlockId=0&omsId=CDF | ||
12109-10D3-11E6-8B6F-0050569977A1 HTTP/1.1 | 12109-10D3-11E6-8B6F-0050569977A1 HTTP/1.1'''''Accept:''' application/json | ||
'''Accept:''' application/json | |||
'''Content-Type:''' application/x-www-form-urlencoded;charset=UTF-8 | '''Content-Type:''' application/x-www-form-urlencoded;charset=UTF-8 |