GET api/Shelves/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Shelf| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 50 |
|
| Designation | string |
Required String length: inclusive between 0 and 50 |
|
| Book | Collection of Book |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Designation": "sample string 3",
"Book": [
{
"Id": 1,
"Title": "sample string 2",
"ISBN": "sample string 3",
"ShelfId": 4,
"ImageLink": "sample string 5",
"Description": "sample string 6",
"Author": [
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Book": []
},
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Book": []
}
]
},
{
"Id": 1,
"Title": "sample string 2",
"ISBN": "sample string 3",
"ShelfId": 4,
"ImageLink": "sample string 5",
"Description": "sample string 6",
"Author": [
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Book": []
},
{
"Id": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Book": []
}
]
}
]
}
application/xml
Sample:
text/xml
Sample: