API Reference//
- Get a list of line items
Map a line item to an instance
Get a specific line item by ID
Delete a line item by its ID
Get a list of line items
Returns a list of line items mapped to instances owned by a producer's customer accounts.
Security
AdministrationAccess or ClientAccess
- Dynamic Monetization API URLhttps://siteID.flexnetoperations.com/dynamicmonetization/provisioning/api/v1.1/instances/{instanceId}/line-items
curl -i -X GET \
'https://siteID.flexnetoperations.com/dynamicmonetization/provisioning/api/v1.1/instances/{instanceId}/line-items' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'List of line items for the instance ID.
Array []
The line item state. Valid states are:
- DEPLOYED
- INACTIVE
- OBSOLETE
INACTIVE and OBSOLETE can only be set when the line item already exists.
An OBSOLETE line item cannot be set to INACTIVE or DEPLOYED.
The date and time, in milliseconds since 1970-01-01 00:00 UTC, when the line item starts.
The date and time, in milliseconds since 1970-01-01 00:00 UTC, when the line item ends.
The count from the line item quantity used by access requests. The value can be fractional.
Response
[ { "activationId": "string", "state": "string", "quantity": 1, "start": 0, "end": 0, "used": 0.1, "attributes": { … } } ]