POST {version}/AddChartAsUserPreference
Add Chart as User Preference
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
QRTChart| Name | Description | Type | Additional information |
|---|---|---|---|
| GUID | globally unique identifier |
None. |
|
| QRTId | globally unique identifier |
None. |
|
| Style | string |
None. |
|
| Type | string |
None. |
|
| Title | string |
None. |
|
| UserPreference | QRTChartUser |
None. |
Request Formats
application/json, text/json
Sample:
{
"GUID": "df5804fd-8bf9-456e-9bbe-105bf3962ce8",
"QRTId": "fdb1a32e-17e1-45de-b967-a4190ed0ca13",
"Style": "sample string 3",
"Type": "sample string 4",
"Title": "sample string 5",
"UserPreference": {
"GUID": "ffb56622-42bf-4912-96ea-4a3028469353",
"UserId": "3eb99447-1bf2-4da8-bf00-4474324dcbf1",
"Row": 3,
"Column": 4,
"IsSelected": true
}
}
application/xml, text/xml
Sample:
<QRTChart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model">
<GUID>df5804fd-8bf9-456e-9bbe-105bf3962ce8</GUID>
<QRTId>fdb1a32e-17e1-45de-b967-a4190ed0ca13</QRTId>
<Style>sample string 3</Style>
<Title>sample string 5</Title>
<Type>sample string 4</Type>
<UserPreference>
<Column>4</Column>
<GUID>ffb56622-42bf-4912-96ea-4a3028469353</GUID>
<IsSelected>true</IsSelected>
<Row>3</Row>
<UserId>3eb99447-1bf2-4da8-bf00-4474324dcbf1</UserId>
</UserPreference>
</QRTChart>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
new Added Chart as User preference
QRTChart| Name | Description | Type | Additional information |
|---|---|---|---|
| GUID | globally unique identifier |
None. |
|
| QRTId | globally unique identifier |
None. |
|
| Style | string |
None. |
|
| Type | string |
None. |
|
| Title | string |
None. |
|
| UserPreference | QRTChartUser |
None. |
Response Formats
application/json, text/json
Sample:
{
"GUID": "375b8332-69d9-4358-a99e-3fb2e956a2f9",
"QRTId": "4105dc90-e98e-4114-8029-be115a42edd2",
"Style": "sample string 3",
"Type": "sample string 4",
"Title": "sample string 5",
"UserPreference": {
"GUID": "ae8331e2-872b-498c-945a-b0dd54fc1437",
"UserId": "59357831-37d7-4ac6-93bc-1025bfdb7bf6",
"Row": 3,
"Column": 4,
"IsSelected": true
}
}
application/xml, text/xml
Sample:
<QRTChart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model">
<GUID>375b8332-69d9-4358-a99e-3fb2e956a2f9</GUID>
<QRTId>4105dc90-e98e-4114-8029-be115a42edd2</QRTId>
<Style>sample string 3</Style>
<Title>sample string 5</Title>
<Type>sample string 4</Type>
<UserPreference>
<Column>4</Column>
<GUID>ae8331e2-872b-498c-945a-b0dd54fc1437</GUID>
<IsSelected>true</IsSelected>
<Row>3</Row>
<UserId>59357831-37d7-4ac6-93bc-1025bfdb7bf6</UserId>
</UserPreference>
</QRTChart>