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": "c6dfb10f-94ab-480a-a679-f18cac236b83",
"QRTId": "3a3e0139-9691-4023-84ac-ee1ad2dc45ec",
"Style": "sample string 3",
"Type": "sample string 4",
"Title": "sample string 5",
"UserPreference": {
"GUID": "ca4d605e-3230-44e2-aae6-5163a6545611",
"UserId": "e955c34f-d22e-49a7-a75e-3e32ffae7d5c",
"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>c6dfb10f-94ab-480a-a679-f18cac236b83</GUID>
<QRTId>3a3e0139-9691-4023-84ac-ee1ad2dc45ec</QRTId>
<Style>sample string 3</Style>
<Title>sample string 5</Title>
<Type>sample string 4</Type>
<UserPreference>
<Column>4</Column>
<GUID>ca4d605e-3230-44e2-aae6-5163a6545611</GUID>
<IsSelected>true</IsSelected>
<Row>3</Row>
<UserId>e955c34f-d22e-49a7-a75e-3e32ffae7d5c</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": "3f7a82a6-0848-4ef2-a7e2-6fee8f69964f",
"QRTId": "8004c272-f750-4c9f-8ca1-8ec3409e0f04",
"Style": "sample string 3",
"Type": "sample string 4",
"Title": "sample string 5",
"UserPreference": {
"GUID": "3128defb-fdae-4cbb-a230-56c4ea11af1d",
"UserId": "bd99a05c-65f6-4f89-b90e-153fa7809c18",
"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>3f7a82a6-0848-4ef2-a7e2-6fee8f69964f</GUID>
<QRTId>8004c272-f750-4c9f-8ca1-8ec3409e0f04</QRTId>
<Style>sample string 3</Style>
<Title>sample string 5</Title>
<Type>sample string 4</Type>
<UserPreference>
<Column>4</Column>
<GUID>3128defb-fdae-4cbb-a230-56c4ea11af1d</GUID>
<IsSelected>true</IsSelected>
<Row>3</Row>
<UserId>bd99a05c-65f6-4f89-b90e-153fa7809c18</UserId>
</UserPreference>
</QRTChart>