cpCode


Content Provider Codes (CP codes) allow you to distinguish various reporting and billing traffic segments, and you need them to access properties. You receive an initial CP code when purchasing Akamai, and you can run the Create a new CP code operation to generate more. This behavior applies any valid CP code, either as required as a default at the top of the rule tree, or subsequently to override the default. For a CP code to be valid, it needs to be assigned the same contract and product as the property, and the group needs access to it. For available values, run the List CP codes operation.

OptionTypeDescriptionRequires
valueobject

Specifies the CP code as an object. You only need to provide the initial id, stripping any cpc_ prefix to pass the integer to the rule tree. Additional CP code details may reflect back in subsequent read-only data.

{"displayType":"object","tag":"input","todo":true}
value.cp​Code​Limitsarray

Read-only. Describes the current usage limit for the CP code.

value.created​Dateinteger

Read-only. UNIX epoch timestamp reflecting when the CP code was originally created.

value.descriptionstring

Read-only. Additional description for the CP code.

value.idinteger

Unique identifier for each CP code. Initially, you get this value when creating a new CP code in PAPI. You can also assign a cpcode​Id value from the List CP codes operation.

value.namestring

Read-only. The name of the CP code you specify as the cpcode​Name when creating a new CP code in PAPI. You can modify this value with the PUT operation in the CP codes and Reporting Groups API.

value.productsarray

Read-only. The set of products the CP code is assigned to. This reflects product​Id values you specify when creating a new CP code in PAPI.