This topic deals with using Replicon report web services from the legacy (Gen2) Replicon product.

If you’re looking for full API documentation for the legacy version of Replicon (Gen2), you’ll find the RepliConnect documentation here.

If you need API documentation for the latest version of Replicon (Gen3), go to www.replicon.com/help-center/developers.

 

Use the ReportService web service to extract data from any Web TimeSheet report.

Service Name:
ReportService
Method Name:

Only one method is available for the ReportService web service which is, GenerateReport

This method returns data from a single Web TimeSheet report in the format you specify. For this method, you will have to define the three parameters described below and all three parameters are required.

Parameters:

  • Format: This specifies the output format of the extracted data. The allowed values are as follows,
    html – returns report data in HTML format
    csv – returns report data in CSV format
    msxml – returns report data in MS XML format
    xml – returns report data in raw xml format
  • Category: Specifies the name of the folder that contains the report whose data you want to extract. The allowed value is as follows,
    Any report folder name, as given on the Select a Report page
    e.g. Time Reports or Administration Reports
  • Name: Specifies the name of the report whose data you want to extract. The allowed value is as follows,
    The name of any report included in the category folder, as given on the Select a Report page
    e.g. ‘User Hours Details’, if Time Reports is entered as the category (assuming default report location)

Response:
The web service will return a text string containing the report data formatted as specified. You can output this string to a file of the appropriate format to save the data. The data returned will match your current settings (filters, fields, etc) for the report. 
Example 1: To extract data from the License Seat Assignment report, located in your Administration Reports folder, enter the following in your URL:

[WebTimesheetURL]/services/
ReportService.asmx/
GenerateReport?
format=html&
category=Administration Reports&
name=License Seat Assignments

 

In response, you will receive html-coded data, that matches your current settings for the License Seat Assignments report.

Example 2: You created a new report entitled My Team and saved it in the Time Reports folder. To extract data from the My Team report and save it in msxml format, enter the following in your URL:

[WebTimesheetURL]/services/
ReportService.asmx/
GenerateReport?
format=msxml&
category=Time Reports&
name=My Team

 

In response, you will receive msxml-coded data that matches your current settings for the My Team report.