PUT api/rptReportViewHistory/{id}

Update an existing record from the ReportViewHistory table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

rptReportViewHistoryDb
NameDescriptionTypeAdditional information
ViewHistoryID

integer

None.

ReportID

integer

Required

UserID

integer

Required

DateViewed

date

None.

ReportName

string

Max length: 120

Parameters

string

Max length: 1200

OutputFormat

string

Max length: 12

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "ViewHistoryID": 1,
  "ReportID": 2,
  "UserID": 3,
  "DateViewed": "2025-12-06T23:40:51.9777354+00:00",
  "ReportName": "sample string 5",
  "Parameters": "sample string 6",
  "OutputFormat": "sample string 7"
}

application/xml, text/xml

Sample:
<rptReportViewHistoryDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <DateViewed>2025-12-06T23:40:51.9777354+00:00</DateViewed>
  <OutputFormat>sample string 7</OutputFormat>
  <Parameters>sample string 6</Parameters>
  <ReportID>2</ReportID>
  <ReportName>sample string 5</ReportName>
  <UserID>3</UserID>
  <ViewHistoryID>1</ViewHistoryID>
</rptReportViewHistoryDb>

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

Response Information

Resource Description

rptReportViewHistoryDb
NameDescriptionTypeAdditional information
ViewHistoryID

integer

None.

ReportID

integer

Required

UserID

integer

Required

DateViewed

date

None.

ReportName

string

Max length: 120

Parameters

string

Max length: 1200

OutputFormat

string

Max length: 12

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "ViewHistoryID": 1,
  "ReportID": 2,
  "UserID": 3,
  "DateViewed": "2025-12-06T23:40:51.9777354+00:00",
  "ReportName": "sample string 5",
  "Parameters": "sample string 6",
  "OutputFormat": "sample string 7"
}

application/xml, text/xml

Sample:
<rptReportViewHistoryDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <DateViewed>2025-12-06T23:40:51.9777354+00:00</DateViewed>
  <OutputFormat>sample string 7</OutputFormat>
  <Parameters>sample string 6</Parameters>
  <ReportID>2</ReportID>
  <ReportName>sample string 5</ReportName>
  <UserID>3</UserID>
  <ViewHistoryID>1</ViewHistoryID>
</rptReportViewHistoryDb>