Use this workflow to list products per contract:
- List contracts to retrieve information about the contracts that a user has access to. Use the
contractId
values returned by this request in the next step. - List products per contract to get the IDs and names of the products associated with the specific
contractId
you retrieved previously.
Use this workflow to list products per reporting group:
To run these operations, your user account needs the CPCode Rep Group role. To add this role, use the Identity and Access Management application.
-
List CP code reporting groups to retrieve and determine the
reportingGroupId
. Use the values returned by this request in the next step. To learn more about reporting groups, refer to the CP codes and reporting groups documentation.reportingGroupId
is returned asid
in the response. To get even more details about a specific reporting group, you can use the CP Codes and Reporting Groups API and run the Get a reporting group operation. -
List products per reporting group using the
reportingGroupId
you retrieved previously. The response returns the IDs and names of the products associated with the reporting group.