PUT api/User/UpdateRights

Request Information

URI Parameters

None.

Body Parameters

UserRightsModel
NameDescriptionTypeAdditional information
UserID

integer

None.

Countries

string

None.

Companies

string

None.

TherapeuticCategories

string

None.

Searches

string

None.

Periods

string

None.

Salesforces

string

None.

CurrentPeriodAccess

boolean

None.

SaveSearchAccess

boolean

None.

ExcelDownloadRights

boolean

None.

PDFDownloadRights

boolean

None.

PrintDataRights

boolean

None.

LinkedAccounts

string

None.

DataVisualRights

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Countries": "sample string 2",
  "Companies": "sample string 3",
  "TherapeuticCategories": "sample string 4",
  "Searches": "sample string 5",
  "Periods": "sample string 6",
  "Salesforces": "sample string 7",
  "CurrentPeriodAccess": true,
  "SaveSearchAccess": true,
  "ExcelDownloadRights": true,
  "PDFDownloadRights": true,
  "PrintDataRights": true,
  "LinkedAccounts": "sample string 13",
  "DataVisualRights": true
}

application/xml, text/xml

Sample:
<UserRightsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models">
  <Companies>sample string 3</Companies>
  <Countries>sample string 2</Countries>
  <CurrentPeriodAccess>true</CurrentPeriodAccess>
  <DataVisualRights>true</DataVisualRights>
  <ExcelDownloadRights>true</ExcelDownloadRights>
  <LinkedAccounts>sample string 13</LinkedAccounts>
  <PDFDownloadRights>true</PDFDownloadRights>
  <Periods>sample string 6</Periods>
  <PrintDataRights>true</PrintDataRights>
  <Salesforces>sample string 7</Salesforces>
  <SaveSearchAccess>true</SaveSearchAccess>
  <Searches>sample string 5</Searches>
  <TherapeuticCategories>sample string 4</TherapeuticCategories>
  <UserID>1</UserID>
</UserRightsModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.