POST api/v1/Dashboards/{dashboardId}/{userId}/preferences/filters
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dashboardId | globally unique identifier |
Required |
|
| userId | integer |
Required |
Body Parameters
UserPreferenceFilterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Id | integer |
None. |
|
| Facilities | Collection of integer |
None. |
|
| ServiceLines | Collection of integer |
None. |
|
| Departments | Collection of integer |
None. |
|
| IsDefault | boolean |
None. |
|
| FacilityNames | Collection of string |
None. |
|
| ServiceLineNames | Collection of string |
None. |
|
| DepartmentNames | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Id": 2,
"Facilities": [
1,
2
],
"ServiceLines": [
1,
2
],
"Departments": [
1,
2
],
"IsDefault": true,
"FacilityNames": [
"sample string 1",
"sample string 2"
],
"ServiceLineNames": [
"sample string 1",
"sample string 2"
],
"DepartmentNames": [
"sample string 1",
"sample string 2"
]
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.