POST api/RegistrarVidreo

Request Information

URI Parameters

None.

Body Parameters

VidreoEnt
NameDescriptionTypeAdditional information
IdVidreo

integer

None.

Nombre

string

None.

Descripcion

string

None.

Precio

decimal number

None.

Imagen

string

None.

CantidadStock

integer

None.

ImagenComprobante

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdVidreo": 1,
  "Nombre": "sample string 2",
  "Descripcion": "sample string 3",
  "Precio": 4.0,
  "Imagen": "sample string 5",
  "CantidadStock": 6,
  "ImagenComprobante": "sample string 7"
}

application/xml, text/xml

Sample:
<VidreoEnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LN_API.Entities">
  <CantidadStock>6</CantidadStock>
  <Descripcion>sample string 3</Descripcion>
  <IdVidreo>1</IdVidreo>
  <Imagen>sample string 5</Imagen>
  <ImagenComprobante>sample string 7</ImagenComprobante>
  <Nombre>sample string 2</Nombre>
  <Precio>4</Precio>
</VidreoEnt>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>