GET api/GenreData/ListGenresAvailableForAnime/{id}

Returns Genres in the system available for a particular anime.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Anime Primary Key

integer

Required

Body Parameters

None.

Response Information

Resource Description

HEADER: 200 (OK) CONTENT: all Genres in the database not taking care of a particular anime

GenreDto
NameDescriptionTypeAdditional information
GenreID

integer

None.

GenreName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "GenreID": 1,
  "GenreName": "sample string 2"
}

application/xml, text/xml

Sample:
<GenreDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Passion_Project.Models">
  <GenreID>1</GenreID>
  <GenreName>sample string 2</GenreName>
</GenreDto>