PUT api/Reserva/{id}
Atualiza os detalhes de uma reserva existente na biblioteca.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id da reserva a ser atualizada. |
integer |
Required |
Body Parameters
objeto Reserva com os novos dados da reserva
ReservaName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
IdUtilizador | integer |
None. |
|
IdLivro | integer |
None. |
|
DataReserva | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "IdUtilizador": 1, "IdLivro": 1, "DataReserva": "2025-06-16T07:20:10.3956263-05:00" }
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
retorna o status da operação
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.