SDN302_-_PE_-_SP_2025_-_Block_5_3837.webp
Y

SDN302_-_PE_-_SP_2025_-_Block_5_3837.webp

  • Media owner Yuji99
  • Ngày thêm
☑Kizspy.me
• Endpoint: POST /api/borrow/return/:id
Headers:
Authorization: Bearer <JWT_TOKEN>
• Processing Requirements:
。 Verify the borrow record exists and belongs to the logged-in user.
o Update the borrow record with returned: true and returnDate: new Date().
o Increase book.availableCopies by 1.
• Response Example:
}
{
"message": "Book returned successfully.",
"returnDate": "2025-04-23T13:00:00.000Z"
B5-2025
----END---
Zoom
- FUO
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
SDN302
Thêm bởi
Yuji99
Ngày thêm
Lượt xem
406
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom