POST api/articulo/agregar?strCookie={strCookie}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| strCookie | string |
Required |
Body Parameters
Articulo| Name | Description | Type | Additional information |
|---|---|---|---|
| intId | integer |
None. |
|
| strNombre | string |
None. |
|
| strDescripcion | string |
None. |
|
| intIdGrupo | integer |
None. |
|
| strNombreGrupo | string |
None. |
|
| intIdGrupoSub1 | integer |
None. |
|
| strNombreGrupoSub1 | string |
None. |
|
| decIvaCompra | decimal number |
None. |
|
| decPc1 | decimal number |
None. |
|
| decPc2 | decimal number |
None. |
|
| decPc3 | decimal number |
None. |
|
| decPc4 | decimal number |
None. |
|
| decPc5 | decimal number |
None. |
|
| decIvaVenta | decimal number |
None. |
|
| decPv1 | decimal number |
None. |
|
| decPv2 | decimal number |
None. |
|
| decPv3 | decimal number |
None. |
|
| decPv4 | decimal number |
None. |
|
| decPv5 | decimal number |
None. |
|
| decPvp1 | decimal number |
None. |
|
| decPvp2 | decimal number |
None. |
|
| decPvp3 | decimal number |
None. |
|
| decPvp4 | decimal number |
None. |
|
| decPvp5 | decimal number |
None. |
|
| strActivo | string |
None. |
|
| strDestacado | string |
None. |
|
| strIdExterno | string |
None. |
|
| intTipo | integer |
None. |
|
| strDescargado | string |
None. |
|
| strAlergenos | string |
None. |
|
| strMedida | string |
None. |
|
| strImagen1Base64 | string |
None. |
|
| strImagen2Base64 | string |
None. |
|
| strImagen3Base64 | string |
None. |
|
| strImagen4Base64 | string |
None. |
|
| strImagen5Base64 | string |
None. |
|
| strImagen1MiniBase64 | string |
None. |
|
| strMuestraPrecio | string |
None. |
|
| strComposicion | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"intId": 1,
"strNombre": "sample string 2",
"strDescripcion": "sample string 3",
"intIdGrupo": 4,
"strNombreGrupo": "sample string 5",
"intIdGrupoSub1": 6,
"strNombreGrupoSub1": "sample string 7",
"decIvaCompra": 8.0,
"decPc1": 9.0,
"decPc2": 10.0,
"decPc3": 11.0,
"decPc4": 12.0,
"decPc5": 13.0,
"decIvaVenta": 14.0,
"decPv1": 15.0,
"decPv2": 16.0,
"decPv3": 17.0,
"decPv4": 18.0,
"decPv5": 19.0,
"decPvp1": 20.0,
"decPvp2": 21.0,
"decPvp3": 22.0,
"decPvp4": 23.0,
"decPvp5": 24.0,
"strActivo": "sample string 25",
"strDestacado": "sample string 26",
"strIdExterno": "sample string 27",
"intTipo": 28,
"strDescargado": "sample string 29",
"strAlergenos": "sample string 30",
"strMedida": "sample string 31",
"strImagen1Base64": "sample string 32",
"strImagen2Base64": "sample string 33",
"strImagen3Base64": "sample string 34",
"strImagen4Base64": "sample string 35",
"strImagen5Base64": "sample string 36",
"strImagen1MiniBase64": "sample string 37",
"strMuestraPrecio": "sample string 38",
"strComposicion": "sample string 39"
}
application/xml, text/xml
Sample:
<Articulo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestGestionWA.Models.Aplication"> <decIvaCompra>8</decIvaCompra> <decIvaVenta>14</decIvaVenta> <decPc1>9</decPc1> <decPc2>10</decPc2> <decPc3>11</decPc3> <decPc4>12</decPc4> <decPc5>13</decPc5> <decPv1>15</decPv1> <decPv2>16</decPv2> <decPv3>17</decPv3> <decPv4>18</decPv4> <decPv5>19</decPv5> <decPvp1>20</decPvp1> <decPvp2>21</decPvp2> <decPvp3>22</decPvp3> <decPvp4>23</decPvp4> <decPvp5>24</decPvp5> <intId>1</intId> <intIdGrupo>4</intIdGrupo> <intIdGrupoSub1>6</intIdGrupoSub1> <intTipo>28</intTipo> <strActivo>sample string 25</strActivo> <strAlergenos>sample string 30</strAlergenos> <strComposicion>sample string 39</strComposicion> <strDescargado>sample string 29</strDescargado> <strDescripcion>sample string 3</strDescripcion> <strDestacado>sample string 26</strDestacado> <strIdExterno>sample string 27</strIdExterno> <strImagen1Base64>sample string 32</strImagen1Base64> <strImagen1MiniBase64>sample string 37</strImagen1MiniBase64> <strImagen2Base64>sample string 33</strImagen2Base64> <strImagen3Base64>sample string 34</strImagen3Base64> <strImagen4Base64>sample string 35</strImagen4Base64> <strImagen5Base64>sample string 36</strImagen5Base64> <strMedida>sample string 31</strMedida> <strMuestraPrecio>sample string 38</strMuestraPrecio> <strNombre>sample string 2</strNombre> <strNombreGrupo>sample string 5</strNombreGrupo> <strNombreGrupoSub1>sample string 7</strNombreGrupoSub1> </Articulo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |