POST odin/SaveReportName

Request Information

URI Parameters

None.

Body Parameters

ReportNameEntity
NameDescriptionTypeAdditional information
ReportId

integer

None.

ReportName

string

None.

TenantId

integer

None.

Active

boolean

None.

OdinReportTemplateId

integer

None.

OdinReportTemplate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportId": 1,
  "ReportName": "sample string 2",
  "TenantId": 3,
  "Active": true,
  "OdinReportTemplateId": 1,
  "OdinReportTemplate": "sample string 5"
}

text/html

Sample:
{"ReportId":1,"ReportName":"sample string 2","TenantId":3,"Active":true,"OdinReportTemplateId":1,"OdinReportTemplate":"sample string 5"}

application/xml, text/xml

Sample:
<ReportNameEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.ScheduledReports">
  <Active>true</Active>
  <OdinReportTemplate>sample string 5</OdinReportTemplate>
  <OdinReportTemplateId>1</OdinReportTemplateId>
  <ReportId>1</ReportId>
  <ReportName>sample string 2</ReportName>
  <TenantId>3</TenantId>
</ReportNameEntity>

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 'ReportNameEntity'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.