PUT api/User/updateReportRight

Request Information

URI Parameters

None.

Body Parameters

UserExtendedRightsModel
NameDescriptionTypeAdditional information
UserID

integer

None.

ReportAccess

boolean

None.

HistoricDataAccess

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ReportAccess": true,
  "HistoricDataAccess": true
}

application/xml, text/xml

Sample:
<UserExtendedRightsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models">
  <HistoricDataAccess>true</HistoricDataAccess>
  <ReportAccess>true</ReportAccess>
  <UserID>1</UserID>
</UserExtendedRightsModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.