POST api/Reserva
Cria uma nova reserva na biblioteca.
Request Information
URI Parameters
None.
Body Parameters
objeto Reserva com os dados da reserva a ser criada
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:29:42.9073351-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.