POST api/Producto_Bulk
Request Information
URI Parameters
None.
Body Parameters
Collection of ProductoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| nombreProducto | string |
None. |
|
| idExterno | string |
None. |
|
| NombreCorto | string |
None. |
|
| Prefijo | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"nombreProducto": "sample string 1",
"idExterno": "sample string 2",
"NombreCorto": "sample string 3",
"Prefijo": "sample string 4"
},
{
"nombreProducto": "sample string 1",
"idExterno": "sample string 2",
"NombreCorto": "sample string 3",
"Prefijo": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO">
<ProductoRequest>
<NombreCorto>sample string 3</NombreCorto>
<Prefijo>sample string 4</Prefijo>
<idExterno>sample string 2</idExterno>
<nombreProducto>sample string 1</nombreProducto>
</ProductoRequest>
<ProductoRequest>
<NombreCorto>sample string 3</NombreCorto>
<Prefijo>sample string 4</Prefijo>
<idExterno>sample string 2</idExterno>
<nombreProducto>sample string 1</nombreProducto>
</ProductoRequest>
</ArrayOfProductoRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ProductoResponse| Name | Description | Type | Additional 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>