POST api/Producto

Request Information

URI Parameters

None.

Body Parameters

ProductoRequest
NameDescriptionTypeAdditional information
nombreProducto

string

None.

idExterno

integer

None.

NombreCorto

string

None.

Prefijo

string

None.

IdEmpresa

integer

None.

logo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "nombreProducto": "sample string 1",
  "idExterno": 2,
  "NombreCorto": "sample string 3",
  "Prefijo": "sample string 4",
  "IdEmpresa": 5,
  "logo": "sample string 6"
}

application/xml, text/xml

Sample:
<ProductoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO">
  <IdEmpresa>5</IdEmpresa>
  <NombreCorto>sample string 3</NombreCorto>
  <Prefijo>sample string 4</Prefijo>
  <idExterno>2</idExterno>
  <logo>sample string 6</logo>
  <nombreProducto>sample string 1</nombreProducto>
</ProductoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProductoResponse
NameDescriptionTypeAdditional information
responseCode

integer

None.

responseMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "responseCode": 1,
  "responseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ProductoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO">
  <responseCode>1</responseCode>
  <responseMessage>sample string 2</responseMessage>
</ProductoResponse>