| GET | /Crm/Orders/External/WaybillInfo |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderId | query | int | No | |
| SubOrderId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| WaybillId | form | int? | No | |
| WaybillNum | form | string | No | |
| DocDate | form | DateTime | No | |
| WaybillActivateDateTime | form | DateTime? | No | |
| Products | form | List<ExternalOrderWaybillProduct> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdId | form | string | No | |
| Vat | form | decimal | No | |
| SCount | form | decimal | No | |
| Vg | form | decimal | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Crm/Orders/External/WaybillInfo HTTP/1.1 Host: apex.nikoratrade.ge Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"WaybillId":0,"WaybillNum":"String","DocDate":"\/Date(-62135596800000-0000)\/","WaybillActivateDateTime":"\/Date(-62135596800000-0000)\/","Products":[{"ProdId":"String","Vat":0,"SCount":0,"Vg":0}]}