Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This service submits an existing report spec. The report spec is identified by its UID, which is a 64 bit integer. The UID is obtained by right clicking on a project report and choosing Advanced | Show report spec UID.

Note

The report spec must belong to the user or the error code CouldNotFindReportSpec will be returned. Public reports are not supported, they must belong to the person running the report. 

...

In this case the requestor can supply authentication data, AccountName, EmailAddress and Password in the body of the request as shown below.

Code Block
langhtml
titleRetrieve Report via POST
langhtml
<!DOCTYPE html >
<html>
<head>
	<title>Testing</title>
</head>
<body>
	<form method="POST" action="https://secure.projectorpsa.com/Reports/Output1152921504607426094.xls" >
		<input type="text" value="" name="AccountName" placeholder="Account"  />
		<input type="text" value="" name="EmailAddress" placeholder="Email"  />
		<input type="text" value="" name="Password" placeholder="Password" />
		<input type="submit" />
	</form>
</body>
</html>

...

The service request contains:

Name

Data Type

Required?

Default Value

Discussion

ReportSpecUid

long

yes

 

64 bit integer that uniquely identifies the report spec

 

Response

If the report spec exists and belongs to the user, then the following data is returned:

Name

Data Type

Discussion

ReportOutputUid

long

Uniquely identifies the report output.

ReportOutputFileUrl

string(255)

The URL of the report output file. This is deprecated and doesn't return anything useful. Use RESTful web services and UID to get the report data.