POST api/PBI_reportUser/reportUser
Request Information
URI Parameters
None.
Body Parameters
Collection of PBI_UserWithPowerBiReportsUserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| reports | Collection of PBI_ReportUserViewModel |
None. |
|
| user_id | globally unique identifier |
Required |
|
| username | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"reports": [
{
"enable": true,
"active": true,
"report_info_id": "c1e319a8-f89c-40b4-b1e5-a1ff4d4b9f7d"
},
{
"enable": true,
"active": true,
"report_info_id": "c1e319a8-f89c-40b4-b1e5-a1ff4d4b9f7d"
}
],
"user_id": "e195b823-f5d5-42ba-a115-9ce095a600f0",
"username": "sample string 2"
},
{
"reports": [
{
"enable": true,
"active": true,
"report_info_id": "c1e319a8-f89c-40b4-b1e5-a1ff4d4b9f7d"
},
{
"enable": true,
"active": true,
"report_info_id": "c1e319a8-f89c-40b4-b1e5-a1ff4d4b9f7d"
}
],
"user_id": "e195b823-f5d5-42ba-a115-9ce095a600f0",
"username": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfPBI_UserWithPowerBiReportsUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<PBI_UserWithPowerBiReportsUserViewModel>
<reports>
<powerBiReportUser>
<active>true</active>
<enable>true</enable>
<report_info_id>c1e319a8-f89c-40b4-b1e5-a1ff4d4b9f7d</report_info_id>
</powerBiReportUser>
<powerBiReportUser>
<active>true</active>
<enable>true</enable>
<report_info_id>c1e319a8-f89c-40b4-b1e5-a1ff4d4b9f7d</report_info_id>
</powerBiReportUser>
</reports>
<user_id>e195b823-f5d5-42ba-a115-9ce095a600f0</user_id>
<username>sample string 2</username>
</PBI_UserWithPowerBiReportsUserViewModel>
<PBI_UserWithPowerBiReportsUserViewModel>
<reports>
<powerBiReportUser>
<active>true</active>
<enable>true</enable>
<report_info_id>c1e319a8-f89c-40b4-b1e5-a1ff4d4b9f7d</report_info_id>
</powerBiReportUser>
<powerBiReportUser>
<active>true</active>
<enable>true</enable>
<report_info_id>c1e319a8-f89c-40b4-b1e5-a1ff4d4b9f7d</report_info_id>
</powerBiReportUser>
</reports>
<user_id>e195b823-f5d5-42ba-a115-9ce095a600f0</user_id>
<username>sample string 2</username>
</PBI_UserWithPowerBiReportsUserViewModel>
</ArrayOfPBI_UserWithPowerBiReportsUserViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>