GET api/Collections/{affiliateId}

Returns the list of valid Collections for a particular affiliate, including a count of movies in the list.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
affiliateId

The affiliate Id

integer

Required

v

The requested API version

string

Required

Default value is 1

Body Parameters

None.

Response Information

Resource Description

Returns the list of valid Collections for a particular affiliate, including a count of movies in the list.

Collection of FilmFlex.Platform.Common.API.Contracts.V1.CollectionCountDTO
NameDescriptionTypeAdditional information
MediaItemsCount

The count of active available movies in this Genre

integer

None.

Id

The unique Id of the collection

integer

None.

Title

The name of the Collection

string

None.

Description

The collections description

string

None.

CollectionType

The type of collection. General, BestSellers,NewReleases,SpecialOffers,RecommendedForDevice

string

None.

IsSpecial

Is this collection 'special'? If so then this may need to appear as fixed headings in a UI

boolean

None.

IsMobileOnly

Is this collection for rendering on mobile clients only?

boolean

None.

AffiliateId

The Affiliate Id to which this collection applies

integer

None.

StartDate

If a special collection this is the time it is published from

date

None.

EndDate

If a special collection this is the time it is published to

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MediaItemsCount": 1,
    "Id": 2,
    "Title": "sample string 3",
    "Description": "sample string 4",
    "CollectionType": "sample string 5",
    "IsSpecial": true,
    "IsMobileOnly": true,
    "AffiliateId": 8,
    "StartDate": "2025-09-04T07:12:38.6607252+00:00",
    "EndDate": "2025-09-04T07:12:38.6607252+00:00"
  },
  {
    "MediaItemsCount": 1,
    "Id": 2,
    "Title": "sample string 3",
    "Description": "sample string 4",
    "CollectionType": "sample string 5",
    "IsSpecial": true,
    "IsMobileOnly": true,
    "AffiliateId": 8,
    "StartDate": "2025-09-04T07:12:38.6607252+00:00",
    "EndDate": "2025-09-04T07:12:38.6607252+00:00"
  }
]