POST Teste/CriaMensagem
Request Information
URI Parameters
None.
Body Parameters
Envio| Name | Description | Type | Additional information |
|---|---|---|---|
| message | Message |
None. |
Request Formats
application/json, text/json
Sample:
{
"message": {
"campaign_id": "sample string 1",
"domain_id": "sample string 2",
"html_body": "sample string 3",
"text_body": "sample string 4",
"list_ids": [
"sample string 1",
"sample string 2"
],
"name": "sample string 5",
"sender_name": "sample string 6",
"sender": "sample string 7",
"subject": "sample string 8",
"scheduled_to": "sample string 9"
}
}
application/xml, text/xml
Sample:
<LocaWebModel.Envio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LocaWebAPI.Models">
<message>
<campaign_id>sample string 1</campaign_id>
<domain_id>sample string 2</domain_id>
<html_body>sample string 3</html_body>
<list_ids xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</list_ids>
<name>sample string 5</name>
<scheduled_to>sample string 9</scheduled_to>
<sender>sample string 7</sender>
<sender_name>sample string 6</sender_name>
<subject>sample string 8</subject>
<text_body>sample string 4</text_body>
</message>
</LocaWebModel.Envio>
application/x-www-form-urlencoded
Sample:
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. |