Use this workflow to list products per contract:

  1. 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.
  2. 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.

  1. 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 as id 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.

  2. 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.