ApexERPHost

<back to all web services

GetWaybillByNumber

Requires Authentication
The following routes are available for this service:
GET/RS/Waybills/ByNumber/{WaybillNum*}
GetWaybillByNumber Parameters:
NameParameterData TypeRequiredDescription
WaybillNumpathstringNo
WaybillResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
WaybillformMOFWayBillNo
ErrorformintNo
ErrorMessageformstringNo
MOFWayBill Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
Docs_idformstringNo
NumformstringNo
WbTypeformintNo
StatusformintNo
CreateDateformDateTime?No
BeginDateformDateTime?No
ActivateDateformDateTime?No
DeliveryDateformDateTime?No
CloseDateformDateTime?No
BuyerSNformstringNo
CheckBuyerformbyteNo
BuyerNameformstringNo
SellerSNformstringNo
SellerNameformstringNo
StartAddressformstringNo
EndAddressformstringNo
DriverSNformstringNo
CheckDriverSNformbyteNo
DriverNameformstringNo
TransportCostformdecimalNo
ReceptionInfoformstringNo
ReceiverInfoformstringNo
ParentIDformint?No
FullAmountformdecimalNo
CarNumberformstringNo
WaybillNumformstringNo
UserIDformintNo
SellerIDformintNo
TransCostPayerformbyteNo
TransportIDformint?No
TransportTextformstringNo
CommentformstringNo
IsConfirmedformboolNo
IsCorrectedformboolNo
ConfirmationDateformDateTime?No
GoodsformList<MOFWayBillDet>No
SubWayBillsformList<MOFSubWayBill>No
TransporterSNformstringNo
TransporterNameformstringNo
FullAmountTextformstringNo
BuyerUserIdformint?No
ReceivedDocsIDformstringNo
fxIdsformList<int>No
InvoiceIdformint?No
IsMedformintNo
MOFWayBillDet Parameters:
NameParameterData TypeRequiredDescription
IDformlongNo
BCodeformstringNo
NameformstringNo
UnitformstringNo
SCountformdecimalNo
PriceformdecimalNo
AmountformdecimalNo
UnitIDformintNo
AkcizIDformintNo
VatTypeformbyteNo
StatusformintNo
MOFSubWayBill Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
WayBillNumformstringNo

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.

GET /RS/Waybills/ByNumber/{WaybillNum*} 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"}},"Waybill":{"ID":0,"Docs_id":"String","Num":"String","WbType":0,"Status":0,"CreateDate":"\/Date(-62135596800000-0000)\/","BeginDate":"\/Date(-62135596800000-0000)\/","ActivateDate":"\/Date(-62135596800000-0000)\/","DeliveryDate":"\/Date(-62135596800000-0000)\/","CloseDate":"\/Date(-62135596800000-0000)\/","BuyerSN":"String","CheckBuyer":0,"BuyerName":"String","SellerSN":"String","SellerName":"String","StartAddress":"String","EndAddress":"String","DriverSN":"String","CheckDriverSN":0,"DriverName":"String","TransportCost":0,"ReceptionInfo":"String","ReceiverInfo":"String","ParentID":0,"FullAmount":0,"CarNumber":"String","WaybillNum":"String","UserID":0,"SellerID":0,"TransCostPayer":0,"TransportID":0,"TransportText":"String","Comment":"String","IsConfirmed":false,"IsCorrected":false,"ConfirmationDate":"\/Date(-62135596800000-0000)\/","Goods":[{"ID":0,"BCode":"String","Name":"String","Unit":"String","SCount":0,"Price":0,"Amount":0,"UnitID":0,"AkcizID":0,"VatType":0,"Status":0}],"SubWayBills":[{"ID":0,"WayBillNum":"String"}],"TransporterSN":"String","TransporterName":"String","FullAmountText":"String","BuyerUserId":0,"ReceivedDocsID":"String","fxIds":[0],"InvoiceId":0,"IsMed":0},"Error":0,"ErrorMessage":"String"}