ApexERPHost

<back to all web services

GetECommerceProductsFB

Requires Authentication
The following routes are available for this service:
GET/eCommerce/ProductsFB
GetECommerceProductsFB Parameters:
NameParameterData TypeRequiredDescription
ClientIdqueryint?No
BranchIdqueryint?No
HPcatIdquerystringNo
LangquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
e_com_tfProductsFBResult 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
pcat_idformint?No
BrandIdformint?No
PromoformboolNo
Discountformdecimal?No
ImgLinkformstringNo
rcountformdecimal?No
DiscountedPriceformdecimal?No
IsNewformbool?No
ByWeightformbyte?No
AnnotationHtmlformstringNo
NeedPrepareformint?No
QuantityStepformdecimal?No
sale_priceformdecimalNo
PCatNuformstringNo
ECommerceProductFB 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
PCatNuformstringNo
rcountformdecimalNo
BrandIdformint?No
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 .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 /eCommerce/ProductsFB HTTP/1.1 
Host: 10.10.0.107 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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","PCatNu":"String","rcount":0,"BrandId":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}