| 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 .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
WaybillActivateDateTime: 0001-01-01,
Products:
[
{
ProdId: String,
Vat: 0,
SCount: 0,
Vg: 0
}
]
}