POST api/GenreData/AddGenre
Adds an genre to the system
Request Information
URI Parameters
None.
Body Parameters
JSON FORM DATA of an genre
GenreName | Description | Type | Additional information |
---|---|---|---|
GenreID | integer |
None. |
|
GenreName | string |
None. |
|
Animes | Collection of Anime |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HEADER: 201 (Created) CONTENT: Genre ID, Genre Data or HEADER: 400 (Bad Request)
GenreName | Description | Type | Additional information |
---|---|---|---|
GenreID | integer |
None. |
|
GenreName | string |
None. |
|
Animes | Collection of Anime |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.