GET api/GenreData/ListGenresForAnime/{id}
Returns all Genres in the system associated with a particular anime.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Anime Primary Key |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
HEADER: 200 (OK) CONTENT: all Genres in the database taking care of a particular anime
GenreDtoName | Description | Type | Additional 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>