getGroups Method
Returns a list of groups under a Master/Enterprise (Mega) quote or order, specific for a member-type.
Parameter | Required | Description |
---|
parentId | Required | Opportunity ID. |
contextId | Required | Parent cart ID (Master or Enterprise quote or order ID). |
pageSize | Optional: Defaults to 20 | Page size for pagination. |
offset | Optional: Defaults to 0 | Offset for pagination. |
cartType | Optional: Defaults to Quote | Quote or order. |
memberType | Optional: Defaults to return all the types | CPQ Group Member Type Name. For example: ServicePoint. |
isGroupAssociatedWithCart | Optional: Defaults to true | True value will try to fetch and return the corresponding Group-Cart record as well. |
searchBy | Optional | Sub-string to search within the group and it’s members. Returns matching search results as a response. |
Parameter | Description |
---|
result | JSONResult with Group and corresponding Cart record (If applicable). Please see sample output for details. |