POST api/Reports/SendEmail?reportId={reportId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| reportId | integer |
Required |
Body Parameters
Email| Name | Description | Type | Additional information |
|---|---|---|---|
| Body | string |
None. |
|
| Subject | string |
None. |
|
| Recipients | Collection of string |
None. |
|
| Parameters | Collection of Parameter |
None. |
Request Formats
application/json, text/json
Sample:
{
"Body": "sample string 1",
"Subject": "sample string 2",
"Recipients": [
"sample string 1",
"sample string 2"
],
"Parameters": [
{
"Key": "sample string 1",
"Value": {},
"Type": 3
},
{
"Key": "sample string 1",
"Value": {},
"Type": 3
}
]
}
application/xml, text/xml
Sample:
<Email xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPTMANAGER.MODELS.Other">
<Body>sample string 1</Body>
<Parameters>
<Parameter>
<Key>sample string 1</Key>
<Type>3</Type>
<Value />
</Parameter>
<Parameter>
<Key>sample string 1</Key>
<Type>3</Type>
<Value />
</Parameter>
</Parameters>
<Recipients xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Recipients>
<Subject>sample string 2</Subject>
</Email>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |