ApexERPHost

<back to all web services

CreateVanLoadOrderFromExternalRequest

Requires Authentication
The following routes are available for this service:
POST/Warehousing/Distribution/External/VanOrder
CreateVanLoadOrderFromExternalRequest Parameters:
NameParameterData TypeRequiredDescription
RequestIdbodyintNo
RequestbodyNewExtVanLoadRequestNo
OrderNumbodyintNo
SubOrderNumbodyintNo
NewExtVanLoadRequest Parameters:
NameParameterData TypeRequiredDescription
PresalerIdformintNo
VanWarehouseformAccountInfoNo
CarNumberformstringNo
DDateformDateTimeNo
PreOrderIdformintNo
ProductsformList<VanLoadProductRequest>No
AccountInfo Parameters:
NameParameterData TypeRequiredDescription
AccformstringNo
NameformstringNo
SNformstringNo
WarehouseAddressformstringNo
AddressformstringNo
PhoneformstringNo
AccWithNameformstringNo
VatTypeformintNo
BranchIdformint?No
VanLoadProductRequest Parameters:
NameParameterData TypeRequiredDescription
ProdIdformstringNo
SourceWarehouseformstringNo
ICountformdecimalNo
CreateVanLoadOrderFromExternalRequestResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
OrdersResultformList<VanLoadOrders>No
VanLoadOrders Parameters:
NameParameterData TypeRequiredDescription
OrderIdformintNo
WarehouseAccformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + 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"}]}