POST Review/CrearResenaProducto

Request Information

URI Parameters

None.

Body Parameters

ResenaProductoModelo
NameDescriptionTypeAdditional information
idResena

integer

None.

idProducto

globally unique identifier

None.

idUsuario

integer

None.

comentario

string

None.

nombreUsuario

string

None.

calificacion

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "idResena": 1,
  "idProducto": "10d2d413-d0ad-4f8b-a4a4-9522aad529c8",
  "idUsuario": 3,
  "comentario": "sample string 4",
  "nombreUsuario": "sample string 5",
  "calificacion": 6
}

application/xml, text/xml

Sample:
<ResenaProductoModelo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportifyApi.Entities.Modelos">
  <calificacion>6</calificacion>
  <comentario>sample string 4</comentario>
  <idProducto>10d2d413-d0ad-4f8b-a4a4-9522aad529c8</idProducto>
  <idResena>1</idResena>
  <idUsuario>3</idUsuario>
  <nombreUsuario>sample string 5</nombreUsuario>
</ResenaProductoModelo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.