POST api/AnimeData/AddAnime
Adds an anime to the system
Request Information
URI Parameters
None.
Body Parameters
JSON FORM DATA of an anime
Anime| Name | Description | Type | Additional information |
|---|---|---|---|
| AnimeID | integer |
None. |
|
| AnimeName | string |
None. |
|
| ReleaseDate | date |
None. |
|
| Description | string |
None. |
|
| Genres | Collection of Genre |
None. |
|
| AnimeHasPic | boolean |
None. |
|
| PicExtension | string |
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: Anime ID, Anime Data or HEADER: 400 (Bad Request)
Anime| Name | Description | Type | Additional information |
|---|---|---|---|
| AnimeID | integer |
None. |
|
| AnimeName | string |
None. |
|
| ReleaseDate | date |
None. |
|
| Description | string |
None. |
|
| Genres | Collection of Genre |
None. |
|
| AnimeHasPic | boolean |
None. |
|
| PicExtension | string |
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.