New to Telerik ReportingStart a free 30-day trial

Send Document Overview

Request

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

Path parameters

NameTypeDescription
clientIdStringID of the service client. Returned by Register Client.
instanceIdStringID of the report instance. Returned by Resolve Report Instance.
documentIdStringID of the report document. Returned by Resolve Document.

Request Body

MailMessage

Response

HTTP Status CodeDescription
501 Not ImplementedThe required reports controller method SendMailMessage is not implemented.
200 OKDocument is send as an e-mail attachment.
410 GoneThe specified clientId cannot be found (expired).
404 Not FoundThe specified instanceId or documentId cannot be found.

Sample

  • Request

      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

      HTTP/1.1 200 OK
In this article
RequestResponseSample
Not finding the help you need?
Contact Support