POST api/Report/ViewReport

Request Information

URI Parameters

None.

Body Parameters

CustomReportTemplate
NameDescriptionTypeAdditional information
ReportTemplateId

integer

None.

ReportName

string

None.

TemplateId

string

None.

FieldCollection

string

None.

ReportDescription

string

None.

IsPrivate

boolean

None.

IsActive

boolean

None.

CreatedBy

string

None.

CreatedByname

string

None.

CreatedDate

string

None.

ModifiedBy

string

None.

ModifiedByname

string

None.

ModifiedDate

string

None.

FavoritesItem

string

None.

Columns

Collection of string

None.

Rows

Collection of Collection of string

None.

dt_Report

DataTable

None.

dt_reportRowsize

integer

None.

TemplateNewVersion

boolean

None.

PageIndex

integer

None.

PageSize

integer

None.

CanDelete

boolean

None.

RoleId

string

None.

RoleEmp

string

None.

Mode

boolean

None.

userPrincipalName

string

None.

connectionString

string

None.

SecretId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportTemplateId": 1,
  "ReportName": "sample string 1",
  "TemplateId": "sample string 2",
  "FieldCollection": "sample string 3",
  "ReportDescription": "sample string 4",
  "IsPrivate": true,
  "IsActive": true,
  "CreatedBy": "sample string 5",
  "CreatedByname": "sample string 6",
  "CreatedDate": "sample string 7",
  "ModifiedBy": "sample string 8",
  "ModifiedByname": "sample string 9",
  "ModifiedDate": "sample string 10",
  "FavoritesItem": "sample string 11",
  "Columns": [
    "sample string 1",
    "sample string 2"
  ],
  "Rows": [
    [
      "sample string 1",
      "sample string 2"
    ],
    [
      "sample string 1",
      "sample string 2"
    ]
  ],
  "dt_Report": null,
  "dt_reportRowsize": 12,
  "TemplateNewVersion": true,
  "PageIndex": 14,
  "PageSize": 15,
  "CanDelete": true,
  "RoleId": "sample string 17",
  "RoleEmp": "sample string 18",
  "Mode": true,
  "userPrincipalName": "sample string 20",
  "connectionString": "sample string 21",
  "SecretId": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomReportTemplate'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.