ApexERPHost

<back to all web services

GetMobileVisitOrder

Requires Authentication
The following routes are available for this service:
GET/Distribution/MobileVisits/Orders/{RemoteId}
GetMobileVisitOrder Parameters:
NameParameterData TypeRequiredDescription
RemoteIdpathGuidNo
GetMobileVisitOrderResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformMobileVisitOrderNo
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 .jsv suffix or ?format=jsv

HTTP + JSV

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

GET /Distribution/MobileVisits/Orders/{RemoteId} 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
		}
	},
	Result: 
	{
		OrderId: 0,
		VisitId: 0,
		CreateTime: 0001-01-01,
		OrderType: 0,
		VatType: 0,
		BranchId: 0,
		IsGift: False,
		ShippingType: 0,
		ShippingDate: 0001-01-01,
		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
	}
}