Skip to content

Instantly share code, notes, and snippets.

@ChrisBriggsy
Created April 20, 2015 05:23
Show Gist options
  • Save ChrisBriggsy/dcd2d395c12fe83f66dd to your computer and use it in GitHub Desktop.
Save ChrisBriggsy/dcd2d395c12fe83f66dd to your computer and use it in GitHub Desktop.
Example of a ReportDTO for SSRS Web API Integration
using System.Collections.Generic;
namespace Example_SSRS_Web_API_Integration.Models
{
public class ReportDTO
{
public string ResourcePath { get; set; }
public List<DataSourceDto> DataSources { get; set; }
public List<ParameterDTO> Parameters { get; set; }
public string ReportDataSourceName { get; set; }
}
public class DataSourceDto
{
public string Name { get; set; }
public string Data { get; set; }
}
public class ParameterDTO
{
public string Name { get; set; }
public string Data { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment