GET api/Media

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MediaEntry
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

CountryID

integer

None.

HasImage

boolean

None.

Linkcolor

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "CountryID": 3,
    "HasImage": true,
    "Linkcolor": 5
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "CountryID": 3,
    "HasImage": true,
    "Linkcolor": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfMediaEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tutorial2Webservice.Controllers">
  <MediaEntry>
    <CountryID>3</CountryID>
    <HasImage>true</HasImage>
    <ID>1</ID>
    <Linkcolor>5</Linkcolor>
    <Name>sample string 2</Name>
  </MediaEntry>
  <MediaEntry>
    <CountryID>3</CountryID>
    <HasImage>true</HasImage>
    <ID>1</ID>
    <Linkcolor>5</Linkcolor>
    <Name>sample string 2</Name>
  </MediaEntry>
</ArrayOfMediaEntry>