List PlanContents
Retrieve a list of PlanContent objects.
You can use query parameters to filter, sort, and paginate the results.
You can set the money_decimals query parameter to specify the number of decimal places for money fields.
Examples:
- ?money_decimals=2 will return money values rounded to 2 decimal places.
- ?money_decimals=max will return money values with the maximum precision.
Query parameters
Filter by Addendum ID. Can be multiple.
Filter by calculation rule type. Can be multiple.
- commit - commit
- overcommit - overcommit
- stepped - stepped
- staged - staged
- commit_hourly - commit_hourly
Filter by currency char code (e.g. USD, EUR). Can be multiple.
Returns currencies with the specified char code.
Examples:
- ¤cy_char_code=USD
- ¤cy_char_codeEUR¤cy_char_codeUSD
Available values:
- EUR - Euro
- USD - US Dollar
Filter by currency ID. Can be multiple.
Returns currencies with the specified ID.
Examples:
- ¤cy_id=1
- ¤cy_id=1¤cy_id=2
Available values:
- 1 - US Dollar
- 2 - Euro
Filter by feature ID. Can be multiple.
Filter by feature name. Case insensitive. Supports partial matches.
Number of results to return per page. Maximum is 100.
Filter by metric code. Case insensitive. Supports partial matches.
Filter by metric ID. Can be multiple.
The initial index from which to return the results.
Ordering of the results.
Default sort order is ascending. Put - before value for descending sort order: -id.
For sorting by multiple parameters write them as comma separated string: -client_id,id.
- id - Id
- -id - Id (descending)
- currency_id - Currency id
- -currency_id - Currency id (descending)
- calc_rule_type - Calc rule type
- -calc_rule_type - Calc rule type (descending)
- feature_name - Feature name
- -feature_name - Feature name (descending)
- product_name - Product name
- -product_name - Product name (descending)
- product_id - Product id
- -product_id - Product id (descending)
- plan_id - Plan id
- -plan_id - Plan id (descending)
- default - Default
- -default - Default (descending)
Filter by plan ID. Can be multiple.
Filter by plan name. Case insensitive. Supports partial matches.
Filter by Product Category ID. Can be multiple.
Filter by product category name. Case insensitive. Supports partial matches.
Filter by product ID. Can be multiple.
Returns products with the specified ID.
Examples:
- &product_id=1
- &product_id=1&product_id=2
Available values:
- 1 - CDN
- 2 - Object Storage
- 3 - Web Security
- 4 - Streaming
- 5 - Cloud
- 6 - Colocation Services
- 7 - WG Private Cloud
- 8 - p2p
- 9 - DDoS Protection
- 10 - Managed DNS
- 11 - Other Services
- 12 - Premium Support
- 13 - Connectivity
- 14 - Hosting (G-Hosting)
- 15 - Managed Services
- 16 - Rent
- 17 - Software development
- 18 - VM Ware
- 19 - LaaS
- 20 - AWS Cloud
- 21 - FastEdge
- 22 - Technical Support
- 23 - WAAP
- 25 - Edge Proxy
- 32 - AI Managed Dedicated Compute
- 65 - Gclaw
Filter by product internal name. Can be multiple.
Returns products with the specified internal name.
Examples:
- &product_internal_name=CDN
- &product_internal_name=CDN&product_internal_name=DNS
Available values:
- AI_DEDCOMP - AI Managed Dedicated Compute
- AWS_CLOUD - AWS Cloud
- CDN - CDN
- CLOUD - Cloud
- CONNECT - Colocation Services
- CONNECTIVITY - Connectivity
- DDOS - Web Security
- DNS - Managed DNS
- FAST_EDGE - FastEdge
- GCLAW - Gclaw
- GHOST - Hosting (G-Hosting)
- INFRASTRUCTURE_PROTECTION - DDoS Protection
- LAAS - LaaS
- MANAGED_SERVICES - Managed Services
- OTHER_SERVICES - Other Services
- P2P - p2p
- PREMIUM_SUPPORT - Premium Support
- RENT - Rent
- SHIELD_PROXY - Edge Proxy
- SOFTWARE_DEVELOPMENT - Software development
- STORAGE - Object Storage
- STREAMING - Streaming
- TECHNICAL_SUPPORT - Technical Support
- VMWARE - VM Ware
- WAAP - WAAP
- WG_PRIVATE_CLOUD - WG Private Cloud
Filter by product name. Case insensitive. Supports partial matches.
Filter by region ID. Can be multiple.
Filter by region internal name. Can be multiple.
Filter by region name. Case insensitive. Supports partial matches.
Response
Request successful.
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}