GET v1/Genre
Finds all Genres
Roles Allowed
admin, editor
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of GenreName | Description | Type | Additional information |
---|---|---|---|
GenreId |
Unique identifier for a Genre |
integer |
None. |
GenreName |
Name of the Genre |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "GenreId": 1, "GenreName": "sample string 2" }, { "GenreId": 1, "GenreName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfGenre xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <Genre> <GenreId>1</GenreId> <GenreName>sample string 2</GenreName> </Genre> <Genre> <GenreId>1</GenreId> <GenreName>sample string 2</GenreName> </Genre> </ArrayOfGenre>