POST api/promocion/guardar
Guarda una promoción.
Request Information
URI Parameters
None.
Body Parameters
La promoción a guardar.
promocionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| promocionId | integer |
None. |
|
| nombre | string |
None. |
|
| tituloWeb | string |
None. |
|
| textoWeb | string |
None. |
|
| textoBoton | string |
None. |
|
| logoUrl | string |
None. |
|
| quemaCodigo | boolean |
None. |
|
| codigo | string |
None. |
|
| multiple | boolean |
None. |
|
| multiploMinimo | integer |
None. |
|
| compra | integer |
None. |
|
| paga | integer |
None. |
|
| restriccionMaxCompras | boolean |
None. |
|
| maxCompras | integer |
None. |
|
| porcentaje | integer |
None. |
|
| codigosNoQuemables | boolean |
None. |
|
| existe | boolean |
None. |
|
| orden | integer |
None. |
|
| eliminado | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"promocionId": 1,
"nombre": "sample string 2",
"tituloWeb": "sample string 3",
"textoWeb": "sample string 4",
"textoBoton": "sample string 5",
"logoUrl": "sample string 6",
"quemaCodigo": true,
"codigo": "sample string 8",
"multiple": true,
"multiploMinimo": 10,
"compra": 11,
"paga": 12,
"restriccionMaxCompras": true,
"maxCompras": 14,
"porcentaje": 15,
"codigosNoQuemables": true,
"existe": true,
"orden": 18,
"eliminado": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
El resultado de la operación.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.