v1

latestOpenAPI 3.0.22026-07-1332837755.1 KB
On Demand\Promotions

Get all the codes of a promotion on an On Demand page

This method returns all the codes of a promotion on an On Demand page.

get/ondemand/pages/{ondemand_id}/promotions/{promotion_id}/codes

Path parameters

ondemand_idnumber required
Example:61326

The ID of the On Demand.

promotion_idnumber required
Example:12345

The ID of the promotion.

Query parameters

pagenumber
Example:1

The page number of the results to show.

per_pagenumber
Example:10

The number of items to show on each page of results, up to a maximum of 100.

Response

The codes were returned.