Report

Runs a report and emails a timesheet, expense report or saved report as PDF.

Syntax

            <Report type="ObjectType"> 
   <Report> 
      <relatedid>objectInternalID</relatedid> 
      <email_report>1</email_report> 
   </Report>
</Report> 

          

Usage

Use the Report command to run a report and email the timesheet, expense report or report as PDF.

The object type can be either Timesheet, Envelope (expense report) or Report (saved report).

Arguments

Name

Type

Description

Report

Report

A Report object with the relatedid and email_report object properties.

Response

A success status (if the report exists) or fail status.