PRN231_-_FA_2024_-_PE_2885.webp
Riza851

PRN231_-_FA_2024_-_PE_2885.webp

  • Media owner Riza851
  • Ngày thêm
Fou response.
When a book is deleted, the API must return the message, the number of book copies (BookCopies) and borrowing transactions (Borrow Transactions) associated with the deleted book.
Example response:
{
"message": "Book deleted successfully",
"deletedCopies": 5,
"deleted Transactions": 3
}
URL: DELETE/api/books/{bookld}
Request URL
http://localhost:5000/api/Books/2
Server response
Code
Details
200
Response body
{
"message": "Book deleted successfully",
"deletedCopies": 3,
"deleted Transactions": 1
}
Zoom
Figure 5-The API to delete one book.
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRN231
Thêm bởi
Riza851
Ngày thêm
Lượt xem
1,263
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN231_-_FA_2024_-_PE_2885.webp
File size
108.8 KB
Dimensions
1072px x 858px

Share this media

Back
Bên trên Bottom