Categories
This method returns the list of the categories associated to the Winbiz items.
BODY - RAW
{
"Method": "Categories",
"Parameters": [
[<cItemList>],
[<bOnlyEcommerce>]
]
}
PARAMETERS
| Parameters | Description |
|---|---|
| cItemList |
Optional List of the Items Id (ar_numero) whose categories have to be included in the result. The elements of the list must be separated by semi-columns. If empty, all the categories are returned. |
| bOnlyEcommerce |
Optional This parameter allows to get only the categories that are associated to an item that has to be published on an e-commerce website. If emtpy or false, all the categories are returned. |
EXAMPLE
*/ Returns the categories associated to the items whose id is 22419 or 374
{
"Method": "Categories",
"Parameters": [
"22419;374",
false
]
}
CLASS RETURNED
| Property | Description |
|---|---|
| Id | Category |
| ParentId | Id of the parent category |
| Order | Order in which the category must appear between her siblings |
| NameFrench | Category name in french |
| NameGerman | Category name in german |
| NameItalian | Category name in italian |
| LastUpdateDate | Date of the last modification of the item |
| NameEnglish | Category name in english |
| NameOtherLanguage | Category name in the language defined as Other in Winbiz |
| DescriptionFrench | Category long description in french |
| DescriptionGerman | Category long description in german |
| DescriptionItalian | Category long description in italian |
| DescriptionEnglish | Category long description in english |
| DescriptionOtherLanguage | Category long description in the language defined as Other in Winbiz |
| Pictures | Pictures, encoded in base 64, that are associated to the category |