GET api/Movies

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Page

integer

None.

Genres

Collection of string

None.

Director

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Movie
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

Required

Year

integer

Range: inclusive between 1900 and 2020

MpaaRating

string

None.

Ratings

Rating

None.

CriticsConsensus

string

None.

Synopsis

string

None.

Genres

Collection of string

None.

Posters

Posters

None.

AbridgedCast

Collection of CastActor

None.

AbridgedDirectors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "title": "sample string 2",
    "year": 1,
    "mpaaRating": "sample string 3",
    "ratings": {
      "criticsScore": 1,
      "audienceScore": 2
    },
    "criticsConsensus": "sample string 4",
    "synopsis": "sample string 5",
    "genres": [
      "sample string 1",
      "sample string 2"
    ],
    "posters": {
      "thumbnail": "sample string 1",
      "profile": "sample string 2",
      "detailed": "sample string 3",
      "original": "sample string 4"
    },
    "abridgedCast": [
      {
        "id": 1,
        "name": "sample string 2",
        "characters": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "id": 1,
        "name": "sample string 2",
        "characters": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ],
    "abridgedDirectors": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "id": 1,
    "title": "sample string 2",
    "year": 1,
    "mpaaRating": "sample string 3",
    "ratings": {
      "criticsScore": 1,
      "audienceScore": 2
    },
    "criticsConsensus": "sample string 4",
    "synopsis": "sample string 5",
    "genres": [
      "sample string 1",
      "sample string 2"
    ],
    "posters": {
      "thumbnail": "sample string 1",
      "profile": "sample string 2",
      "detailed": "sample string 3",
      "original": "sample string 4"
    },
    "abridgedCast": [
      {
        "id": 1,
        "name": "sample string 2",
        "characters": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "id": 1,
        "name": "sample string 2",
        "characters": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ],
    "abridgedDirectors": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMovie xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RawStack.Models">
  <Movie>
    <AbridgedCast>
      <CastActor>
        <Characters xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Characters>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </CastActor>
      <CastActor>
        <Characters xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Characters>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </CastActor>
    </AbridgedCast>
    <AbridgedDirectors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </AbridgedDirectors>
    <CriticsConsensus>sample string 4</CriticsConsensus>
    <Genres xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Genres>
    <Id>1</Id>
    <MpaaRating>sample string 3</MpaaRating>
    <Posters>
      <Detailed>sample string 3</Detailed>
      <Original>sample string 4</Original>
      <Profile>sample string 2</Profile>
      <Thumbnail>sample string 1</Thumbnail>
    </Posters>
    <Ratings>
      <AudienceScore>2</AudienceScore>
      <CriticsScore>1</CriticsScore>
    </Ratings>
    <Synopsis>sample string 5</Synopsis>
    <Title>sample string 2</Title>
    <Year>1</Year>
  </Movie>
  <Movie>
    <AbridgedCast>
      <CastActor>
        <Characters xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Characters>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </CastActor>
      <CastActor>
        <Characters xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Characters>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </CastActor>
    </AbridgedCast>
    <AbridgedDirectors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </AbridgedDirectors>
    <CriticsConsensus>sample string 4</CriticsConsensus>
    <Genres xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Genres>
    <Id>1</Id>
    <MpaaRating>sample string 3</MpaaRating>
    <Posters>
      <Detailed>sample string 3</Detailed>
      <Original>sample string 4</Original>
      <Profile>sample string 2</Profile>
      <Thumbnail>sample string 1</Thumbnail>
    </Posters>
    <Ratings>
      <AudienceScore>2</AudienceScore>
      <CriticsScore>1</CriticsScore>
    </Ratings>
    <Synopsis>sample string 5</Synopsis>
    <Title>sample string 2</Title>
    <Year>1</Year>
  </Movie>
</ArrayOfMovie>