APIs to perform Dynamic Monetization activity.
Dynamic Monetization APIs (v1.1)
Download OpenAPI description
Languages
Servers
Dynamic Monetization API URL
https://{siteID}.flexnetoperations.{domainExtension}/dynamicmonetization/
Configuration
APIs for managing configuration values that control how customers can access and consume line items.
Available values:
- timezone.tolerant
- Allows a line item to be used up to 12 hours before its start date (UTC) and up to 12 hours after its end date (UTC), therefore making it tolerant to all time zones.
- Supported values: true (enabled) and false (disabled).
- Default: false
- session.charge.period
- Defines the automatic charge interval for a session. Consult the user guide for more information about session automatic charging.
- Supported values: ISO-8601 duration in the form
PTnH,PTnM, orPTnHnM. Seconds are not supported.- Examples:
PT1His every hourPT30Mis every 30 minutesPT1H30Mis every 90 minutes
- Minimum: 10 minutes
- Maximum: 24 hours
- Examples:
- Default:
PT1H(every hour)
Operations
- Dynamic Monetization API URLhttps://siteID.flexnetoperations.com/dynamicmonetization/provisioning/api/v1.1/configuration
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://{siteid}.flexnetoperations.{domainextension}/dynamicmonetization/provisioning/api/v1.1/configuration' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Configuration was successfully returned.
The date and time, in milliseconds since 1970-01-01 00:00 UTC, when the configuration was last modified. This field is returned only if the configuration has been changed from its default value.
Public key identifier of the JWT token that was used to update this configuration. This key ID allows you to identify the user or users who are authorized to make this change. This field is returned only if the configuration has been changed from its default value.
Response
application/json
[ { "name": "string", "value": "string", "modified": 0, "updatedBy": "string" } ]
- Dynamic Monetization API URLhttps://siteID.flexnetoperations.com/dynamicmonetization/provisioning/api/v1.1/configuration
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://{siteid}.flexnetoperations.{domainextension}/dynamicmonetization/provisioning/api/v1.1/configuration' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '[
{
"name": "string",
"value": "string"
}
]'