|
Parameters |
|
Description |
Passed |
Returned |
Method returns list of resource categories related to specified service plan. Service plan resources rates can be configured for resources that belongs to different resource categories. |
3 |
9 |
Syntax
ListResult BM::ResourceCategoryByPlanListGet_API(
Int PlanID;
Int SortNo;
)
returns
Int ResCatID - resources category ID;
Str(30) Name - resource category name;
Str(1024) Description - resource category description;
Int ShopDisplayType - defines how resources are organized within resource category in online store: "0" - resources are shown as a group of check boxes, a number of resources can be purchased at a time; "1" - resources are shown as option buttons group, one resource can be purchased at a time;
Int SortNumber - serial number of resource category in online store (returns '-2', if not specified).
Int Parent_ResCatID - parent resource category ID (returns '-2', if not specified);
Int Default_ResourceID - default resource ID (returns '-2', if not specified). Default resource is selected by default in online store. Applicable for resources categories with ShopDisplayType=1.
Int Default_ResCatID - default child resource category ID (returns '-2', if not specified). Default child resource category is selected by default in online store. Applicable for resources categories with ShopDisplayType=1.
Int IsOptional - signifies whether "None" value is added to the resources list of the category in online store: "0" - "None" is absent, "1" - "None" is added. Applicable for resources categories with ShopDisplayType=1.
Special Notes