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": "26a48c04-a300-41cc-9dcd-00c8eb27672e",
"QRTId": "c4237317-3655-4085-9d51-f033384bae93",
"Style": "sample string 3",
"Type": "sample string 4",
"Title": "sample string 5",
"UserPreference": {
"GUID": "8c4075fa-65ba-42b4-b834-c938ff6b307f",
"UserId": "daa2fe32-6232-4756-958e-e0f4b79eeac3",
"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>26a48c04-a300-41cc-9dcd-00c8eb27672e</GUID>
<QRTId>c4237317-3655-4085-9d51-f033384bae93</QRTId>
<Style>sample string 3</Style>
<Title>sample string 5</Title>
<Type>sample string 4</Type>
<UserPreference>
<Column>4</Column>
<GUID>8c4075fa-65ba-42b4-b834-c938ff6b307f</GUID>
<IsSelected>true</IsSelected>
<Row>3</Row>
<UserId>daa2fe32-6232-4756-958e-e0f4b79eeac3</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": "fe9647ea-26ed-4060-b775-c3f944d78de3",
"QRTId": "81df37a9-12b8-4000-bc6d-d45900005ea0",
"Style": "sample string 3",
"Type": "sample string 4",
"Title": "sample string 5",
"UserPreference": {
"GUID": "f847859d-50bb-4b8e-a4ce-5d52c37f4547",
"UserId": "f9388912-b0a9-446a-90dd-dee037816dda",
"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>fe9647ea-26ed-4060-b775-c3f944d78de3</GUID>
<QRTId>81df37a9-12b8-4000-bc6d-d45900005ea0</QRTId>
<Style>sample string 3</Style>
<Title>sample string 5</Title>
<Type>sample string 4</Type>
<UserPreference>
<Column>4</Column>
<GUID>f847859d-50bb-4b8e-a4ce-5d52c37f4547</GUID>
<IsSelected>true</IsSelected>
<Row>3</Row>
<UserId>f9388912-b0a9-446a-90dd-dee037816dda</UserId>
</UserPreference>
</QRTChart>