| Service | Operation | Description |
|---|---|---|
| Cinema | GetContributorRoles | List contribution roles. Parameters: PageNumber (optional, defaults to 1); RecordsPerPage (optional, defaults to 0); |
| GetCountryAuthority | Get the given country's rating authority details, including the possible movie ratings. Parameters: CountryId (Sapo GIS CountryId); | |
| GetGenres | Get movie genres list. Parameters: PageNumber (optional, defaults to 1), RecordsPerPage (optional, defaults to 10); | |
| GetMoviePremieres | List movies with premiere data associated. Parameters: ReleaseCountryId (optional, default = PT); StartDate (ex. 2009-07-01, optional, default = start of current week, Sunday 00:00); EndDate (2009-07-01, optional, default = end of current week, Saturday 23:59); ProductionCountryIds (optional, ex. PT,ES); GenreIds (optional, ex. 2,3); ReleaseRatingIds (optional, ex. M04,M18); PageNumber (optional, default = 1); RecordsPerPage (optional, default = 10) | |
| GetMoviesWithShowTimes | List movies with show-times within the given locations and time period. Parameters: ReleaseCountryId (optional, default = PT); LocationIds (optional, must be within ReleaseCountry, ex. 11,13); StartDate (2009-07-10, optional, default = last Thursday); EndDate (2009-07-01, optional, default = next Thursday); ProductionCountryIds (optional, ex. ES,PT); GenreIds (optional, ex. 2,3); ReleaseRatingIds (optional, ex. M04, M18); PageNumber (optional, default = 1); RecordsPerPage (optional, default = 10); | |
| GetPersons | List persons according to filters (paginated). IncludeReleaseWithCountryId default = PT; PageNumber default = 1; RecordsPerPage default = 10, Max itens = 20; | |
| GetTheaters | List theaters within the the given locations, with amount movies. | |
| GetTheatersWithShowTimes | List theaters within the given locations with show-times within the time period. Parametres: ReleaseCountryId (optional, default = PT); LocationIds (optional, must be within ReleaseCountry, ex. 11,13); StartDate (2009-01-01, optional, default = last Thursday); EndDate (2009-09-01, optional, default = next Thursday), ProductionCountryIds (optional, ex. ES,PT); GenreIds (optional, ex. 2,3); ReleaseRatingIds (optional, ex. M04, M18); PageNumber (optional, default = 1); RecordsPerPage (optional, default = 10) |
Cinema Service
GetContributorRoles
List contribution roles. Parameters: PageNumber (optional, defaults to 1); RecordsPerPage (optional, defaults to 0);Request Parameters
- PageNumber : int (optional)
- RecordsPerPage : int (optional)
Response Parameters
- GetContributorRolesResult : ListOfContributorRoles (required)
GetCountryAuthority
Get the given country's rating authority details, including the possible movie ratings. Parameters: CountryId (Sapo GIS CountryId);Request Parameters
- CountryId : string (required)
Response Parameters
- GetCountryAuthorityResult : Authority (required)
GetGenres
Get movie genres list. Parameters: PageNumber (optional, defaults to 1), RecordsPerPage (optional, defaults to 10);Request Parameters
- PageNumber : int (optional)
- RecordsPerPage : int (optional)
Response Parameters
- GetGenresResult : ListOfGenres (required)
GetMoviePremieres
List movies with premiere data associated. Parameters: ReleaseCountryId (optional, default = PT); StartDate (ex. 2009-07-01, optional, default = start of current week, Sunday 00:00); EndDate (2009-07-01, optional, default = end of current week, Saturday 23:59); ProductionCountryIds (optional, ex. PT,ES); GenreIds (optional, ex. 2,3); ReleaseRatingIds (optional, ex. M04,M18); PageNumber (optional, default = 1); RecordsPerPage (optional, default = 10)Request Parameters
- ReleaseCountryId : string (optional)
- StartDate : date (optional)
- EndDate : date (optional)
- ProductionCountryIds : ArrayOfProductionCountryId (optional)
- GenreIds : ArrayOfGenreId (optional)
- ReleaseRatingIds : ArrayOfRatingId (optional)
- IncludeContributors : boolean (optional)
- IncludeSynopsis : boolean (optional)
- PageNumber : int (optional)
- RecordsPerPage : int (optional)
- Version : int (optional)
Response Parameters
- GetMoviePremieresResult : ListOfMovies (required)
GetMoviesWithShowTimes
List movies with show-times within the given locations and time period. Parameters: ReleaseCountryId (optional, default = PT); LocationIds (optional, must be within ReleaseCountry, ex. 11,13); StartDate (2009-07-10, optional, default = last Thursday); EndDate (2009-07-01, optional, default = next Thursday); ProductionCountryIds (optional, ex. ES,PT); GenreIds (optional, ex. 2,3); ReleaseRatingIds (optional, ex. M04, M18); PageNumber (optional, default = 1); RecordsPerPage (optional, default = 10);Request Parameters
- ReleaseCountryId : string (optional)
- LocationIds : ArrayOfLocationId (optional)
- StartDate : date (optional)
- EndDate : date (optional)
- ProductionCountryIds : ArrayOfProductionCountryId (optional)
- GenreIds : ArrayOfGenreId (optional)
- ReleaseRatingIds : ArrayOfRatingId (optional)
- IncludeShowTimesDetails : boolean (optional)
- IncludeContributors : boolean (optional)
- IncludeSynopsis : boolean (optional)
- IncludeGenres : boolean (optional)
- Disables show details of the genre in the film
- IncludeReferences : boolean (optional)
- IncludeRelease : boolean (optional)
- IncludeMedia : boolean (optional)
- Version : int (optional)
- PageNumber : int (optional)
- RecordsPerPage : int (optional)
Response Parameters
- GetMoviesWithShowTimesResult : ListOfMovies (required)
GetPersons
List persons according to filters (paginated). IncludeReleaseWithCountryId default = PT; PageNumber default = 1; RecordsPerPage default = 10, Max itens = 20;Request Parameters
- BirthCountryId : string (optional)
- IncludeReleaseWithCountryId : string (optional)
- SearchTerms : string (optional)
- PageNumber : int (optional)
- RecordsPerPage : int (optional)
Response Parameters
- GetPersonsResult : ListOfPerson (required)
GetTheaters
List theaters within the the given locations, with amount movies.Request Parameters
- ReleaseCountryId : string (required)
- LocationIds : ArrayOfLocationId (optional)
- PageNumber : int (optional)
- RecordsPerPage : int (required)
Response Parameters
- GetTheatersResult : ListOfTheaters (required)
GetTheatersWithShowTimes
List theaters within the given locations with show-times within the time period. Parametres: ReleaseCountryId (optional, default = PT); LocationIds (optional, must be within ReleaseCountry, ex. 11,13); StartDate (2009-01-01, optional, default = last Thursday); EndDate (2009-09-01, optional, default = next Thursday), ProductionCountryIds (optional, ex. ES,PT); GenreIds (optional, ex. 2,3); ReleaseRatingIds (optional, ex. M04, M18); PageNumber (optional, default = 1); RecordsPerPage (optional, default = 10)Request Parameters
- ReleaseCountryId : string (optional)
- LocationIds : ArrayOfLocationId (optional)
- StartDate : date (optional)
- EndDate : date (optional)
- ProductionCountryIds : ArrayOfProductionCountryId (optional)
- GenreIds : ArrayOfGenreId (optional)
- ReleaseRatingIds : ArrayOfRatingId (optional)
- IncludeShowTimeDetails : boolean (optional)
- IncludeLocation : boolean (optional)
- PageNumber : int (optional)
- RecordsPerPage : int (optional)
- Version : int (optional)
Response Parameters
- GetTheatersWithShowTimesResult : ListOfTheaters (required)
Cinema Entities
ArrayOfContribution
| Attribute Name | Description |
|---|---|
| List of Contribution : Contribution (optional) |
ArrayOfContributor
| Attribute Name | Description |
|---|---|
| List of Contributor : Contributor (optional) |
ArrayOfContributorRole
| Attribute Name | Description |
|---|---|
| List of ContributorRole : ContributorRole (optional) |
ArrayOfCountry
ArrayOfExternalId
| Attribute Name | Description |
|---|---|
| List of ExternalId : ExternalId (optional) |
ArrayOfGenre
| Attribute Name | Description |
|---|---|
| List of Genre : Genre (optional) |
ArrayOfGenreId
| Attribute Name | Description |
|---|---|
| List of GenreId : string (optional) |
ArrayOfLink
| Attribute Name | Description |
|---|---|
| List of Link : Link (optional) |
ArrayOfLocationId
| Attribute Name | Description |
|---|---|
| List of LocationId : string (optional) |
ArrayOfMediaItem
| Attribute Name | Description |
|---|---|
| List of MediaItem : MediaItem (optional) |
ArrayOfMovie
| Attribute Name | Description |
|---|---|
| List of Movie : Movie (optional) |
ArrayOfMovieShowTimes
| Attribute Name | Description |
|---|---|
| List of MovieShowTimes : MovieShowTimes (optional) |
ArrayOfPerson
| Attribute Name | Description |
|---|---|
| List of Person : Person (optional) |
ArrayOfProductionCountryId
| Attribute Name | Description |
|---|---|
| List of ProductionCountryId : string (optional) |
ArrayOfQuote
| Attribute Name | Description |
|---|---|
| List of Quote : Quote (optional) |
ArrayOfRating
| Attribute Name | Description |
|---|---|
| List of Rating : Rating (optional) |
ArrayOfRatingId
| Attribute Name | Description |
|---|---|
| List of RatingId : string (optional) |
ArrayOfShowTime
| Attribute Name | Description |
|---|---|
| List of ShowTime : ShowTime (optional) |
ArrayOfTheater
| Attribute Name | Description |
|---|---|
| List of Theater : Theater (optional) |
ArrayOfTheaterShowTimes
| Attribute Name | Description |
|---|---|
| List of TheaterShowTimes : TheaterShowTimes (optional) |
ArrayOfThumbnail
| Attribute Name | Description |
|---|---|
| List of Thumbnail : Thumbnail (optional) |
ArrayOfVersions
| Attribute Name | Description |
|---|---|
| List of Version : Version (optional) |
Authority
| Attribute Name | Description |
|---|---|
| Id : string | |
| Name : string | |
| Country : Country (optional) | |
| Ratings : ArrayOfRating (optional) |
Contact
| Attribute Name | Description |
|---|---|
| URL : string (optional) | |
| Email : string (optional) | |
| Phone : string (optional) | |
| CellPhone : string (optional) |
Contribution
| Attribute Name | Description |
|---|---|
| Movie : Movie | |
| Role : ContributorRole |
Contributor
| Attribute Name | Description |
|---|---|
| SourceId : string | |
| Source : string |
ContributorRole
| Attribute Name | Description |
|---|---|
| Id : string | |
| Name : string |
Country
ExternalId
| Attribute Name | Description |
|---|---|
| Source : ExternalIdSource | |
| Id : string |
ExternalIdSource
| Value Name | Description |
|---|---|
| Meo | |
| Sercultur | |
| IMDB |
Genre
| Attribute Name | Description |
|---|---|
| Id : string | |
| Name : string | |
| Slug : string (optional) | |
| WorkCount : int (optional) |
Link
ListOfContributorRoles
| Attribute Name | Description |
|---|---|
| ContributorRoles : ArrayOfContributorRole | |
| PaginationDetails : PaginationDetails |
ListOfGenres
| Attribute Name | Description |
|---|---|
| Genres : ArrayOfGenre | |
| PaginationDetails : PaginationDetails |
ListOfMovies
| Attribute Name | Description |
|---|---|
| Movies : ArrayOfMovie | |
| PaginationDetails : PaginationDetails |
ListOfPerson
| Attribute Name | Description |
|---|---|
| Persons : ArrayOfPerson | |
| PaginationDetails : PaginationDetails |
ListOfTheaters
| Attribute Name | Description |
|---|---|
| Theaters : ArrayOfTheater | |
| PaginationDetails : PaginationDetails |
Location
| Attribute Name | Description |
|---|---|
| CountryId : string (optional) | |
| CountryName : string (optional) | |
| DistrictId : string (optional) | |
| DistrictName : string (optional) | |
| MunicipalityId : string (optional) | |
| MunicipalityName : string (optional) | |
| ParishId : string (optional) | |
| ParishName : string (optional) | |
| Latitude : float (optional) | |
| Longitude : float (optional) | |
| Metadata : LocationMetadata (optional) | |
| ZipCode : string (optional) | |
| Locality : string (optional) | |
| Street : string (optional) | |
| HouseNumber : string (optional) | |
| MatchLevel : string (optional) |
LocationMetadata
| Attribute Name | Description |
|---|---|
| Provider : string | |
| TrustLevel : string (optional) | |
| ISP : string (optional) |
MediaCategory
| Value Name | Description |
|---|---|
| Poster | |
| Trailer | |
| Image | |
| Video |
MediaItem
RandName é o identificador único de um vídeo na plataforma SAPO Videos. Para mais informação, consultar: http://services.sapo.pt/Metadata/Service/Videos| Attribute Name | Description |
|---|---|
| Type : MediaType | |
| Category : MediaCategory | |
| Name : string (optional) | |
| URL : string (optional) | |
| RandName : string (optional) | |
| Extension : string (optional) | |
| Width : float (optional) | |
| Height : float (optional) | |
| Thumbnails : ArrayOfThumbnail (optional) |
MediaType
| Value Name | Description |
|---|---|
| Image | |
| Video |
Movie
| Attribute Name | Description |
|---|---|
| Id : string | |
| Url : string (optional) | |
| Title : string (optional) | |
| Release : Release (optional) | |
| Year : int (optional) | |
| ProductionCountries : ArrayOfCountry (optional) | |
| Runtime : int (optional) | |
| Synopsis : string (optional) | |
| Contributors : ArrayOfContributor (optional) | |
| Genres : ArrayOfGenre (optional) | |
| Media : ArrayOfMediaItem (optional) | |
| References : References (optional) | |
| TheaterShowTimesList : ArrayOfTheaterShowTimes (optional) | |
| CreateDate : dateTime | |
| UpdateDate : dateTime (optional) | |
| Quotes : ArrayOfQuote (optional) | |
| Version : int (optional) | |
| VersionAbbr : string (optional) | |
| Versions : ArrayOfVersions (optional) | |
| Rating : int (optional) |
MovieShowTimes
| Attribute Name | Description |
|---|---|
| Movie : Movie | |
| ShowTimes : ArrayOfShowTime | |
| TheaterTicketOfficeURL : string (optional) |
PaginationDetails
| Attribute Name | Description |
|---|---|
| CurrentPage : integer | |
| RecordsPerPage : integer | |
| RecordsTotal : integer |
Person
| Attribute Name | Description |
|---|---|
| Id : string | |
| Url : string (optional) | |
| Name : string | |
| BornDate : date (optional) | |
| DiedDate : date (optional) | |
| Country : Country (optional) | |
| Biography : string (optional) | |
| Media : ArrayOfMediaItem (optional) | |
| Contributions : ArrayOfContribution (optional) | |
| CreateDate : dateTime (optional) | |
| UpdateDate : dateTime (optional) |
Quote
| Attribute Name | Description |
|---|---|
| Title : string | |
| CharacterName : string | |
| Movie : Movie (optional) |
Rating
| Attribute Name | Description |
|---|---|
| Id : string | |
| Name : string |
References
| Attribute Name | Description |
|---|---|
| ExternalIds : ArrayOfExternalId (optional) | |
| Links : ArrayOfLink (optional) |
Release
ShowTime
| Attribute Name | Description |
|---|---|
| TimeStart : dateTime | |
| ShowTimeTicketOfficeURL : string (optional) |
Theater
| Attribute Name | Description |
|---|---|
| Id : string | |
| Name : string | |
| Contact : Contact (optional) | |
| TicketOfficeURL : string (optional) | |
| Location : Location (optional) | |
| Description : string (optional) | |
| MovieShowTimesList : ArrayOfMovieShowTimes (optional) | |
| CreateDate : dateTime | |
| UpdateDate : dateTime (optional) | |
| MoviesTotal : int (optional) |
TheaterShowTimes
| Attribute Name | Description |
|---|---|
| Theater : Theater | |
| ShowTimes : ArrayOfShowTime | |
| TheaterTicketOfficeURL : string (optional) |
Thumbnail
| Attribute Name | Description |
|---|---|
| Name : string (optional) | |
| URL : string | |
| Width : float | |
| Height : float |
Version
| Attribute Name | Description |
|---|---|
| Id : int | |
| Abbr : string | |
| IsMain : boolean |