ApexERPHost

<back to all web services

GetECommerceTopSaleProducts

Requires Authentication
The following routes are available for this service:
GET/eCommerce/Products/TopSales
GetECommerceTopSaleProducts Parameters:
NameParameterData TypeRequiredDescription
ClientIdqueryint?No
BranchIdqueryint?No
HPcatIdqueryint?No
LangquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
e_com_tfProductsResult Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
BCodeformstringNo
bbcodeformstringNo
IncodeformstringNo
category_idformstringNo
category_codeformstringNo
category_nuformstringNo
producer_idformstringNo
producer_nuformstringNo
prcountry_nuformstringNo
NameformstringNo
products_neformstringNo
vattypeformintNo
packcountformshortNo
packbcountformdecimal?No
UnitformstringNo
mdtradeformdecimalNo
mdretailformdecimalNo
importedformbool?No
NettoformdecimalNo
vatformdecimalNo
PriceformdecimalNo
InStockformbool?No
PointsformdecimalNo
HCategoryIdformint?No
BrandIdformint?No
PromoformboolNo
Discountformdecimal?No
ImgLinkformstringNo
rcountformdecimal?No
DiscountedPriceformdecimal?No
IsNewformbool?No
ByWeightformbyte?No
AnnotationHtmlformstringNo
NeedPrepareformint?No
QuantityStepformdecimal?No
sale_priceformdecimalNo
PPCatIdformstringNo
QualityIdformstringNo
QualityformstringNo
HCategoryNameformstringNo
HCategoryHcodeformstringNo
BrandNameformstringNo
BrandAbbreviationformstringNo
BrandImageLinkformstringNo
AnnotationHtmlEnformstringNo
ECommerceProduct Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
BCodeformstringNo
NameformstringNo
PriceformdecimalNo
Pointsformdecimal?No
InStockformboolNo
PromoformboolNo
Discountformdecimal?No
ImgLinkformstringNo
DiscountedPriceformdecimal?No
IsNewformbool?No
NettoformdecimalNo
UnitformstringNo
AnnotationHtmlformstringNo
NeedPrepareformint?No
QuantityStepformdecimal?No
ByWeightformbyte?No
SlugformstringNo
PPCatIdformstringNo
mdtradeformdecimalNo
mdretailformdecimalNo
rcountformdecimalNo
QualityIdformint?No
QualityformstringNo
HCategoryIdformint?No
IncodeformstringNo
HCategoryNameformstringNo
HCategoryHcodeformstringNo
BrandIdformint?No
BrandNameformstringNo
BrandAbbreviationformstringNo
BrandImageLinkformstringNo
AnnotationHtmlEnformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /eCommerce/Products/TopSales HTTP/1.1 
Host: 10.10.0.107 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Offset":0,"Total":0,"Results":[{"Id":"String","BCode":"String","Name":"String","Price":0,"Points":0,"InStock":false,"Promo":false,"Discount":0,"ImgLink":"String","DiscountedPrice":0,"IsNew":false,"Netto":0,"Unit":"String","AnnotationHtml":"String","NeedPrepare":0,"QuantityStep":0,"ByWeight":0,"Slug":"String","PPCatId":"String","mdtrade":0,"mdretail":0,"rcount":0,"QualityId":0,"Quality":"String","HCategoryId":0,"Incode":"String","HCategoryName":"String","HCategoryHcode":"String","BrandId":0,"BrandName":"String","BrandAbbreviation":"String","BrandImageLink":"String","AnnotationHtmlEn":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}