APIs to perform Dynamic Monetization activity.
Dynamic Monetization APIs (1.0)
Download OpenAPI description
Languages
Servers
Dynamic Monetization API URL
https://{siteID}.flexnetoperations.{domainExtension}/dynamicmonetization/api/
Dynamic Monetization API URL
https://{siteID}.flexnetoperations.{domainExtension}/dynamicmonetization/floating/api/
Bodyapplication/jsonrequired
The information required in the request payload.
Requester details.
A list of requested items.
The version of the item requested. This field may only be omitted or left blank if the intention is to access an item in a rate table with an empty or unspecified version.
Number of instances of the requested item required. The value can be fractional.
- Dynamic Monetization API URL
https://siteID.flexnetoperations.com/dynamicmonetization/elastic/api/v1.0/instances/{instanceId}/access-request
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://{siteid}.flexnetoperations.{domainextension}/dynamicmonetization/elastic/api/v1.0/instances/{instanceId}/access-request' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"requester": {
"type": "string",
"value": "string"
},
"requestedItems": [
{
"item": "string",
"version": "string",
"count": 0.1,
"metaData": {}
}
]
}'
Response
application/json
{ "requestedItems": [ { … } ], "requester": { "type": "string", "value": "string" }, "correlationId": "string" }
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
Operations