Gen3 web service samples for creating users, projects or reports?

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Is there any example code (preferably in C#) or documentation for creating users, projects or reports using the Gen3 web service?

Request formats for *getting* data and calling SOAP methods is fairly self-explanatory using the service helpers, and Visual Studio's Add Service Reference will create C# classes from WSDL, however when I tried to create a report using ReportService1.PutReport all I got back was "The creator of this fault did not specify a Reason."

Using<mycompany>/services/ReportService1.svc/help/test/PutReport also yielded "type": "InvalidReportTargetParameterError1", but that doesn't explain much since "target" is an optional parameter and I'm trying to create a new report.

To create a new object, do I also need to use CreateNewDraft or other methods, or is there a better way to programmatically create a report in Gen3?

Photo of deanwiles


  • 1 Post
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Sayantan Choudhury

Sayantan Choudhury, Tier 3 Cloud Operations Engineer

  • 7 Posts
  • 1 Reply Like
Hi Dean,

You will need to create a draft object first, make your modifications to the draft and then publish the draft to successfully create a Report. Please find the detailed steps as follows:

1. Use the following service to create a Report Draft

2. Use the following service to apply a Report Template to the Draft.

3. Use the following service to update the name of the Report Draft.

4. Use the following service to put columns and grouping configuration to the draft.
While using this Service you would need the Column URIs, which can be pulled up using the following service:

5. Finally, save your changes by publishing the draft using the following service:

Let us know in case you have any further questions.


Sayantan Choudhury