Inventory Package API V4 - Manual

Overview

This API allows you to retrieve basic information on inventory packages that have been created in your network.

Retrieved corresponding IDs are essential for further Marketplace Inventory trafficking through Placement API V3.

Marketplace API users can use this API to accomplish the following tasks:

  • Retrieve a list of inventory packages belonging to the current network
  • Retrieve IDs, names, descriptions, statuses, times of creation, and times of last updated for listed inventory packages
  • Query the inventory package list by name, status and last updated time
  • Sort the inventory package list by last updated time

👍

To enable Marketplace, contact your account representative.

📘

Note

The Inventory Package V4 API supports JSON format only. XML format is not supported.

General Resource Uniform Resource Identifiers (URI)

TypeURI
Production Instancehttps://api.freewheel.tv/services/v4/inventory_packages?{param1}={query1}&...
Staging Instancehttps://api.stg.freewheel.tv/services/v4/inventory_packages?{param1}={query1}&...

Query Parameters

📘

Note

Parameters and values are case-sensitive。

ParameterValueDescription
namestringSpecify filtering criteria by inventory package name. It can match the names composed of continuous characters with specified strings. The maximum length of characters is 255.

For example, a request containing ?name=STB retrieves a list of all inventory packages whose names contains the characters STB, like STBVOD package or Linear STB package.
statusEnumSpecify filtering criteria by inventory package
status.

Valid values:
  • ACTIVE
  • INACTIVE
updated_atstringUse the following syntax to filter inventory packages by last updated time:
  • At or earlier an updated timestamp: prefix an ellipsis (..) to the timestamp. E.g. updated_at=..2021-03-01T13:47:00Z
  • At or later an updated timestamp: append an ellipsis (..) to the timestamp. E.g. updated_at=2021-03-01T13:47:00Z..
  • A closed interval period: put an ellipsis (..) between two timestamps. E.g. updated_at=2021-03-01T00:00:00Z..2021-03-31T23:59:59Z


Use the following syntax to sort the list of inventory packages by the time of last updated:
  • In ascending order: no prefix to the updated_at parameter. E.g. updated_at=..2021-03-01T13:47:00Z
  • In descending order: prefix a minus (-) to the updated_at parameter . E.g. -updated_at=..2021-03-01T13:47:00Z
pageint32Default value = 1

Maximum value = 1000

You can specify the number of pages in the returned list.
per_pageint32Default value = 20

Valid value range = 5-50

You can specify the number of items to be shown on each page.

Inventory Package Attributes

NameTypeDescriptionGet Only?
idFW_IDThe ID of a particular inventory packageYes
nameStringThe name of a particular inventory packageYes
descriptionStringThe description of a particular inventory packageYes
statusEnumThe status of a particular inventory package.

Valid values:
  • ACTIVE
  • INACTIVE
Yes
created_atTimeThe creation time of a specified inventory packageYes
updated_atTimeThe last updated time of a specified inventory packageYes