POST | /Warehousing/Distribution/External/VanOrder |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RequestId | body | int | No | |
Request | body | NewExtVanLoadRequest | No | |
OrderNum | body | int | No | |
SubOrderNum | body | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PresalerId | form | int | No | |
VanWarehouse | form | AccountInfo | No | |
CarNumber | form | string | No | |
DDate | form | DateTime | No | |
PreOrderId | form | int | No | |
Products | form | List<VanLoadProductRequest> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Acc | form | string | No | |
Name | form | string | No | |
SN | form | string | No | |
WarehouseAddress | form | string | No | |
Address | form | string | No | |
Phone | form | string | No | |
AccWithName | form | string | No | |
VatType | form | int | No | |
BranchId | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProdId | form | string | No | |
SourceWarehouse | form | string | No | |
ICount | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
OrdersResult | form | List<VanLoadOrders> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OrderId | form | int | No | |
WarehouseAcc | form | string | 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.
POST /Warehousing/Distribution/External/VanOrder HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"RequestId":0,"Request":{"PresalerId":0,"VanWarehouse":{"Acc":"String","Name":"String","SN":"String","WarehouseAddress":"String","Address":"String","Phone":"String","AccWithName":"String - String","VatType":0,"BranchId":0},"CarNumber":"String","DDate":"\/Date(-62135596800000-0000)\/","PreOrderId":0,"Products":[{"ProdId":"String","SourceWarehouse":"String","ICount":0}]},"OrderNum":0,"SubOrderNum":0}
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"}},"OrdersResult":[{"OrderId":0,"WarehouseAcc":"String"}]}