POST api/mensajes-web-general
Request Information
URI Parameters
None.
Body Parameters
MensajeWebGeneral| Name | Description | Type | Additional information |
|---|---|---|---|
| Nombre | string |
None. |
|
| Correo | string |
None. |
|
| Telefono | string |
None. |
|
| Mensaje | string |
None. |
|
| Tipo | integer |
None. |
|
| IdEscuela | integer |
None. |
|
| UtmSource | string |
None. |
|
| UtmMedium | string |
None. |
|
| UtmCampaign | string |
None. |
|
| UtmContent | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"nombre": "sample string 1",
"correo": "sample string 2",
"telefono": "sample string 3",
"mensaje": "sample string 4",
"tipo": 5,
"idEscuela": 6,
"utmSource": "sample string 7",
"utmMedium": "sample string 8",
"utmCampaign": "sample string 9",
"utmContent": "sample string 10"
}
application/xml, text/xml
Sample:
<MensajeWebGeneral xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Models"> <Correo>sample string 2</Correo> <IdEscuela>6</IdEscuela> <Mensaje>sample string 4</Mensaje> <Nombre>sample string 1</Nombre> <Telefono>sample string 3</Telefono> <Tipo>5</Tipo> <UtmCampaign>sample string 9</UtmCampaign> <UtmContent>sample string 10</UtmContent> <UtmMedium>sample string 8</UtmMedium> <UtmSource>sample string 7</UtmSource> </MensajeWebGeneral>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Respuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| resultado | integer |
None. |
|
| mensaje | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"resultado": 1,
"mensaje": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<Respuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Models"> <data /> <mensaje>sample string 2</mensaje> <resultado>1</resultado> </Respuesta>