Progress® Telerik® Reporting R3 2018

Send Document

Request

URI Template
POST /api/reports/clients/{clientId}/instances/{instanceId}/documents/{documentId}/send

Path parameters

NameTypeDescription

clientId

String

ID of the service client. Returned from Register Client.

instanceId

String

ID of the report instance. Returned from Create Report Instance.

documentId

String

ID of the report document. Returned from Create Document.

Request Body

MailMessage

Response

HTTP Status CodeDescription

501 Not Implemented

The required reports controller method SendMailMessage is not implemented.

200 OK

Document is send as an e-mail attachment.

410 Gone

The specified clientId cannot be found (expired).

404 Not Found

The specified instanceId or documentId cannot be found.

Sample

Request Message
POST /api/reports/clients/2c3d/instances/4d3c/documents/5x3a/send HTTP/1.1

{
'from': 'john.doe@mycompany.com',
'to': 'jane.doe@mycompany.com',
'cc': 'john.doe.jr@mycompany.com',
'subject': 'my mail subject',
'body': 'my mail body',
}
Response Message
HTTP/1.1 200 OK
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy