ApexERPHost

<back to all web services

GetECommerceProductsByIDs

Requires Authentication
The following routes are available for this service:
GET/eCommerce/ProductsByIDs
GetECommerceProductsByIDs Parameters:
NameParameterData TypeRequiredDescription
ClientIdqueryint?No
BranchIdqueryint?No
ProductIDInquerystringNo
LangquerystringNo
GetECommerceProductsByIDsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultsformList<ECommerceProduct>No
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

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 /eCommerce/ProductsByIDs HTTP/1.1 
Host: 10.10.0.107 
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"}},"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"}]}