POST api/EnviaCorreo
Request Information
URI Parameters
None.
Body Parameters
TB_SolicitudCorreo| Name | Description | Type | Additional information |
|---|---|---|---|
| Destinatario | string |
None. |
|
| Mensaje | string |
None. |
|
| Asunto | string |
None. |
|
| idCampaña | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Destinatario": "sample string 1",
"Mensaje": "sample string 2",
"Asunto": "sample string 3",
"idCampaña": "c9cf1922-fb3b-4f06-a8cc-e2aba9831ac4"
}
application/xml, text/xml
Sample:
<TB_SolicitudCorreo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiSMS"> <Asunto>sample string 3</Asunto> <Destinatario>sample string 1</Destinatario> <Mensaje>sample string 2</Mensaje> <idCampaña>c9cf1922-fb3b-4f06-a8cc-e2aba9831ac4</idCampaña> </TB_SolicitudCorreo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MsgRespuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| codigo | string |
None. |
|
| mensaje | string |
None. |
|
| contenido | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"codigo": "sample string 1",
"mensaje": "sample string 2",
"contenido": {}
}
application/xml, text/xml
Sample:
<MsgRespuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiSMS"> <codigo>sample string 1</codigo> <contenido /> <mensaje>sample string 2</mensaje> </MsgRespuesta>