POST api/Email/ExternoPortal
Request Information
URI Parameters
None.
Body Parameters
EmailComAnexoViewModelName | Description | Type | Additional information |
---|---|---|---|
IdPortal | integer |
None. |
|
DescricaoRemetente | string |
None. |
|
EmailsPara | string |
None. |
|
Titulo | string |
None. |
|
Corpo | string |
None. |
|
usaHTML | boolean |
None. |
|
Copia | string |
None. |
|
CopiaOculta | string |
None. |
|
ProviderId | integer |
None. |
|
TemplateId | string |
None. |
|
TemplateData | Object |
None. |
|
Anexos | Collection of Anexo |
None. |
Request Formats
application/json, text/json
Sample:
{ "Anexos": [ { "Nome": "sample string 1", "ContentType": "sample string 2", "Arquivo": "QEA=" }, { "Nome": "sample string 1", "ContentType": "sample string 2", "Arquivo": "QEA=" } ], "IdPortal": 1, "DescricaoRemetente": "sample string 2", "EmailsPara": "sample string 3", "Titulo": "sample string 4", "Corpo": "sample string 5", "usaHTML": true, "Copia": "sample string 7", "CopiaOculta": "sample string 8", "ProviderId": 9, "TemplateId": "sample string 10", "TemplateData": {} }
application/xml, text/xml
Sample:
<EmailComAnexoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LMX.Email.ViewModel"> <Anexos> <Anexo> <Arquivo>QEA=</Arquivo> <ContentType>sample string 2</ContentType> <Nome>sample string 1</Nome> </Anexo> <Anexo> <Arquivo>QEA=</Arquivo> <ContentType>sample string 2</ContentType> <Nome>sample string 1</Nome> </Anexo> </Anexos> <Copia>sample string 7</Copia> <CopiaOculta>sample string 8</CopiaOculta> <Corpo>sample string 5</Corpo> <DescricaoRemetente>sample string 2</DescricaoRemetente> <EmailsPara>sample string 3</EmailsPara> <IdPortal>1</IdPortal> <ProviderId>9</ProviderId> <TemplateData /> <TemplateId>sample string 10</TemplateId> <Titulo>sample string 4</Titulo> <usaHTML>true</usaHTML> </EmailComAnexoViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |