POST api/NvoccReservas/{idReserva}/HistorialDeMensajes?idGrupoComentarios={idGrupoComentarios}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idReserva |
. |
integer |
Required |
| idGrupoComentarios |
. |
integer |
Default value is 2 |
Body Parameters
Comentarios| Name | Description | Type | Additional information |
|---|---|---|---|
| NuevoComentario |
. |
string |
None. |
| Tipo |
. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"NuevoComentario": "sample string 1",
"Tipo": 2
}
application/xml, text/xml
Sample:
<Comentarios xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClimberApi.ViewModel.Comentarios"> <NuevoComentario>sample string 1</NuevoComentario> <Tipo>2</Tipo> </Comentarios>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Success |
. |
boolean |
None. |
| Message |
. |
string |
None. |
| Result |
. |
Object |
None. |
| ResultList |
. |
Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Result": {},
"ResultList": [
{},
{}
]
}
application/xml, text/xml
Sample:
<ApiResponseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClimberApi.Models">
<Message>sample string 2</Message>
<Result />
<ResultList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</ResultList>
<Success>true</Success>
</ApiResponseOfanyType>