POST api/library/book/request
Request Information
URI Parameters
None.
Body Parameters
NewBookRequestData| Name | Description | Type | Additional information |
|---|---|---|---|
| book_usr_id | integer |
None. |
|
| book_name | string |
None. |
|
| book_authors | string |
None. |
|
| book_link | string |
None. |
|
| book_price | decimal number |
None. |
|
| book_comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"book_usr_id": 1,
"book_name": "sample string 2",
"book_authors": "sample string 3",
"book_link": "sample string 4",
"book_price": 5.0,
"book_comment": "sample string 6"
}
application/xml, text/xml
Sample:
<NewBookRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models"> <book_authors>sample string 3</book_authors> <book_comment>sample string 6</book_comment> <book_link>sample string 4</book_link> <book_name>sample string 2</book_name> <book_price>5</book_price> <book_usr_id>1</book_usr_id> </NewBookRequestData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.