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": "79f2fe86-dce1-4b53-b1f6-00588a768029", "QRTId": "6e992da6-115b-4f84-b056-e915b40afa82", "Style": "sample string 3", "Type": "sample string 4", "Title": "sample string 5", "UserPreference": { "GUID": "ece3546f-929e-453f-a459-036fa126d713", "UserId": "815882ce-1576-4466-ac01-48ce6c5e0d8d", "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>79f2fe86-dce1-4b53-b1f6-00588a768029</GUID> <QRTId>6e992da6-115b-4f84-b056-e915b40afa82</QRTId> <Style>sample string 3</Style> <Title>sample string 5</Title> <Type>sample string 4</Type> <UserPreference> <Column>4</Column> <GUID>ece3546f-929e-453f-a459-036fa126d713</GUID> <IsSelected>true</IsSelected> <Row>3</Row> <UserId>815882ce-1576-4466-ac01-48ce6c5e0d8d</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": "0db7c29f-1da2-4f66-88c8-d0ffd092ee8a", "QRTId": "41cf040a-3b3a-4914-9fd5-849e8f7c758f", "Style": "sample string 3", "Type": "sample string 4", "Title": "sample string 5", "UserPreference": { "GUID": "e867e941-5956-46d0-b7b8-50a47cc127ee", "UserId": "fd056221-d645-43a2-8ffa-22924438c4cb", "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>0db7c29f-1da2-4f66-88c8-d0ffd092ee8a</GUID> <QRTId>41cf040a-3b3a-4914-9fd5-849e8f7c758f</QRTId> <Style>sample string 3</Style> <Title>sample string 5</Title> <Type>sample string 4</Type> <UserPreference> <Column>4</Column> <GUID>e867e941-5956-46d0-b7b8-50a47cc127ee</GUID> <IsSelected>true</IsSelected> <Row>3</Row> <UserId>fd056221-d645-43a2-8ffa-22924438c4cb</UserId> </UserPreference> </QRTChart>