POST {version}/AddChartAsUserPreference
Add Chart as User Preference
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
QRTChartName | 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": "3ca62b53-7f43-4d7a-aba8-c8cd59a86aa5", "QRTId": "97101dd9-4652-4b6f-9d6d-cb41172138bd", "Style": "sample string 3", "Type": "sample string 4", "Title": "sample string 5", "UserPreference": { "GUID": "899c510a-a279-4ca6-9d40-9b1ef4436242", "UserId": "60c6d44a-a5e2-4fe3-9575-2f53e5670376", "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>3ca62b53-7f43-4d7a-aba8-c8cd59a86aa5</GUID> <QRTId>97101dd9-4652-4b6f-9d6d-cb41172138bd</QRTId> <Style>sample string 3</Style> <Title>sample string 5</Title> <Type>sample string 4</Type> <UserPreference> <Column>4</Column> <GUID>899c510a-a279-4ca6-9d40-9b1ef4436242</GUID> <IsSelected>true</IsSelected> <Row>3</Row> <UserId>60c6d44a-a5e2-4fe3-9575-2f53e5670376</UserId> </UserPreference> </QRTChart>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
new Added Chart as User preference
QRTChartName | 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": "b8a22e96-d350-439b-b819-a1bd83503c7b", "QRTId": "c8469f21-9a8e-474b-a24b-eac614350876", "Style": "sample string 3", "Type": "sample string 4", "Title": "sample string 5", "UserPreference": { "GUID": "a9057bd2-9deb-49c6-a2af-1d9ff19a2b1e", "UserId": "167e6ac9-b862-40ad-82c6-cf5fc00f2600", "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>b8a22e96-d350-439b-b819-a1bd83503c7b</GUID> <QRTId>c8469f21-9a8e-474b-a24b-eac614350876</QRTId> <Style>sample string 3</Style> <Title>sample string 5</Title> <Type>sample string 4</Type> <UserPreference> <Column>4</Column> <GUID>a9057bd2-9deb-49c6-a2af-1d9ff19a2b1e</GUID> <IsSelected>true</IsSelected> <Row>3</Row> <UserId>167e6ac9-b862-40ad-82c6-cf5fc00f2600</UserId> </UserPreference> </QRTChart>