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": "1151b49a-7573-44f3-ac9e-ca722e99b698"
},
{
"enable": true,
"active": true,
"report_info_id": "1151b49a-7573-44f3-ac9e-ca722e99b698"
}
],
"user_id": "e21fad6d-953a-4fe4-859d-7759b88cc322",
"username": "sample string 2"
},
{
"reports": [
{
"enable": true,
"active": true,
"report_info_id": "1151b49a-7573-44f3-ac9e-ca722e99b698"
},
{
"enable": true,
"active": true,
"report_info_id": "1151b49a-7573-44f3-ac9e-ca722e99b698"
}
],
"user_id": "e21fad6d-953a-4fe4-859d-7759b88cc322",
"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>1151b49a-7573-44f3-ac9e-ca722e99b698</report_info_id>
</powerBiReportUser>
<powerBiReportUser>
<active>true</active>
<enable>true</enable>
<report_info_id>1151b49a-7573-44f3-ac9e-ca722e99b698</report_info_id>
</powerBiReportUser>
</reports>
<user_id>e21fad6d-953a-4fe4-859d-7759b88cc322</user_id>
<username>sample string 2</username>
</PBI_UserWithPowerBiReportsUserViewModel>
<PBI_UserWithPowerBiReportsUserViewModel>
<reports>
<powerBiReportUser>
<active>true</active>
<enable>true</enable>
<report_info_id>1151b49a-7573-44f3-ac9e-ca722e99b698</report_info_id>
</powerBiReportUser>
<powerBiReportUser>
<active>true</active>
<enable>true</enable>
<report_info_id>1151b49a-7573-44f3-ac9e-ca722e99b698</report_info_id>
</powerBiReportUser>
</reports>
<user_id>e21fad6d-953a-4fe4-859d-7759b88cc322</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>