ApexERPHost

<back to all web services

GetECommerceAllProductsFB

Requires Authentication
The following routes are available for this service:
GET/eCommerce/AllProductsFB
GetECommerceAllProductsFB Parameters:
NameParameterData TypeRequiredDescription
ClientIdqueryint?No
BranchIdqueryint?No
HPcatIdquerystringNo
LangquerystringNo
GetECommerceAllProductsFBResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultsformList<ECommerceProductFB>No
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

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/AllProductsFB HTTP/1.1 
Host: 10.10.0.107 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"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}]}