ApexERPHost

<back to all web services

GetMobileVisitOrders

Requires Authentication
The following routes are available for this service:
GET/Distribution/MobileVisit/{VisitId}/Orders
GetMobileVisitOrders Parameters:
NameParameterData TypeRequiredDescription
VisitIdpathintNo
GetMobileVisitOrdersResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<MobileVisitOrder>No
MobileVisitOrder Parameters:
NameParameterData TypeRequiredDescription
OrderIdformintNo
VisitIdformintNo
CreateTimeformDateTimeNo
OrderTypeformintNo
VatTypeformintNo
BranchIdformintNo
IsGiftformboolNo
ShippingTypeformint?No
ShippingDateformDateTime?No
NoteformstringNo
PresalerIdformint?No
UnidformGuidNo
DetailsformList<MobileVisitOrderDet>No
WaybillIdformint?No
WaybillNumformstringNo
DocIdformstringNo
TaxDocIdformlong?No
TaxDocNumformstringNo
PayToCollectformdecimal?No
PActionIdformstringNo
MobileVisitOrderDet Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrderIdformintNo
ProdIdformstringNo
OcountformdecimalNo
BasePriceformdecimalNo
PriceformdecimalNo
DiscountformdecimalNo
GroupDiscountformdecimalNo
VatTypeformintNo
AmountformdecimalNo
DiscountsformList<MobileVisitOrderDetDisc>No
MobileVisitOrderDetDisc Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrderProdIdformintNo
DiscountGroupIdformintNo
DiscountformdecimalNo

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

HTTP + X-PROTOBUF

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Distribution/MobileVisit/{VisitId}/Orders HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"OrderId":0,"VisitId":0,"CreateTime":"\/Date(-62135596800000-0000)\/","OrderType":0,"VatType":0,"BranchId":0,"IsGift":false,"ShippingType":0,"ShippingDate":"\/Date(-62135596800000-0000)\/","Note":"String","PresalerId":0,"Unid":"00000000000000000000000000000000","Details":[{"Id":0,"OrderId":0,"ProdId":"String","Ocount":0,"BasePrice":0,"Price":0,"Discount":0,"GroupDiscount":0,"VatType":0,"Amount":0,"Discounts":[{"Id":0,"OrderProdId":0,"DiscountGroupId":0,"Discount":0}]}],"WaybillId":0,"WaybillNum":"String","DocId":"String","TaxDocId":0,"TaxDocNum":"String","PayToCollect":0,"PActionId":"String"}]}