PUT api/dashboard/aspect_changed/{tabType}/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tabType

string

Required

id

globally unique identifier

Required

Body Parameters

DashDetailModel
NameDescriptionTypeAdditional information
Aspects

Collection of ChartAspectModel

None.

GlobalFilter

Collection of GlobalFilter

None.

ProjectId

globally unique identifier

None.

DashboardId

globally unique identifier

None.

Name

string

None.

Description

string

None.

Show

boolean

None.

Order

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "aspects": [
    {
      "chartId": "f6efaa59-d232-4155-8906-86bed9671346",
      "title": "sample string 2",
      "sizeX": 1,
      "sizeY": 1,
      "minSizeX": 1,
      "minSizeY": 1,
      "row": 1,
      "col": 1
    },
    {
      "chartId": "f6efaa59-d232-4155-8906-86bed9671346",
      "title": "sample string 2",
      "sizeX": 1,
      "sizeY": 1,
      "minSizeX": 1,
      "minSizeY": 1,
      "row": 1,
      "col": 1
    }
  ],
  "globalFilter": [
    {
      "name": "sample string 1",
      "dataType": "number",
      "charts": [
        "dc381c48-3688-41a6-8472-69a3e0a17022",
        "e7d91219-f336-4eb5-b1e9-9f133c311597"
      ],
      "tables": [
        {
          "dataSourceId": "46650e6f-438c-4d87-a1d1-d6e03cccd417",
          "field": {
            "name": "sample string 1",
            "dataType": "number",
            "title": "sample string 2",
            "expression": "sample string 3"
          }
        },
        {
          "dataSourceId": "46650e6f-438c-4d87-a1d1-d6e03cccd417",
          "field": {
            "name": "sample string 1",
            "dataType": "number",
            "title": "sample string 2",
            "expression": "sample string 3"
          }
        }
      ],
      "granularity": "normal",
      "range": [
        {},
        {}
      ],
      "showAll": true,
      "defaultSelect": true,
      "defaultName": "sample string 4",
      "id": "2049089713",
      "rangeType": "in"
    },
    {
      "name": "sample string 1",
      "dataType": "number",
      "charts": [
        "dc381c48-3688-41a6-8472-69a3e0a17022",
        "e7d91219-f336-4eb5-b1e9-9f133c311597"
      ],
      "tables": [
        {
          "dataSourceId": "46650e6f-438c-4d87-a1d1-d6e03cccd417",
          "field": {
            "name": "sample string 1",
            "dataType": "number",
            "title": "sample string 2",
            "expression": "sample string 3"
          }
        },
        {
          "dataSourceId": "46650e6f-438c-4d87-a1d1-d6e03cccd417",
          "field": {
            "name": "sample string 1",
            "dataType": "number",
            "title": "sample string 2",
            "expression": "sample string 3"
          }
        }
      ],
      "granularity": "normal",
      "range": [
        {},
        {}
      ],
      "showAll": true,
      "defaultSelect": true,
      "defaultName": "sample string 4",
      "id": "2049089713",
      "rangeType": "in"
    }
  ],
  "projectId": "c4b6335d-bbbf-4228-b5fa-cac2c1d59f37",
  "dashboardId": "335e0ee8-d901-4d47-b53f-a11a1b819f6b",
  "name": "sample string 3",
  "description": "sample string 4",
  "show": true,
  "order": 6.0
}

application/xml, text/xml

Sample:
<DashDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Models">
  <DashboardId>335e0ee8-d901-4d47-b53f-a11a1b819f6b</DashboardId>
  <Description>sample string 4</Description>
  <Name>sample string 3</Name>
  <Order>6</Order>
  <ProjectId>c4b6335d-bbbf-4228-b5fa-cac2c1d59f37</ProjectId>
  <Show>true</Show>
  <Aspects>
    <ChartAspectModel>
      <ChartId>f6efaa59-d232-4155-8906-86bed9671346</ChartId>
      <Col>1</Col>
      <MinSizeX>1</MinSizeX>
      <MinSizeY>1</MinSizeY>
      <Row>1</Row>
      <SizeX>1</SizeX>
      <SizeY>1</SizeY>
      <Title>sample string 2</Title>
    </ChartAspectModel>
    <ChartAspectModel>
      <ChartId>f6efaa59-d232-4155-8906-86bed9671346</ChartId>
      <Col>1</Col>
      <MinSizeX>1</MinSizeX>
      <MinSizeY>1</MinSizeY>
      <Row>1</Row>
      <SizeX>1</SizeX>
      <SizeY>1</SizeY>
      <Title>sample string 2</Title>
    </ChartAspectModel>
  </Aspects>
  <GlobalFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/Margin.Core.Data.Entities">
    <d2p1:GlobalFilter>
      <d2p1:Charts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>dc381c48-3688-41a6-8472-69a3e0a17022</d4p1:guid>
        <d4p1:guid>e7d91219-f336-4eb5-b1e9-9f133c311597</d4p1:guid>
      </d2p1:Charts>
      <d2p1:DataType>Number</d2p1:DataType>
      <d2p1:DefaultName>sample string 4</d2p1:DefaultName>
      <d2p1:DefaultSelect>true</d2p1:DefaultSelect>
      <d2p1:Granularity>Normal</d2p1:Granularity>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Range xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </d2p1:Range>
      <d2p1:RangeType>In</d2p1:RangeType>
      <d2p1:ShowAll>true</d2p1:ShowAll>
      <d2p1:Tables>
        <d2p1:GlobalFilter.Table>
          <d2p1:DataSourceId>46650e6f-438c-4d87-a1d1-d6e03cccd417</d2p1:DataSourceId>
          <d2p1:Field>
            <dataType>Number</dataType>
            <expression>sample string 3</expression>
            <name>sample string 1</name>
            <title>sample string 2</title>
          </d2p1:Field>
        </d2p1:GlobalFilter.Table>
        <d2p1:GlobalFilter.Table>
          <d2p1:DataSourceId>46650e6f-438c-4d87-a1d1-d6e03cccd417</d2p1:DataSourceId>
          <d2p1:Field>
            <dataType>Number</dataType>
            <expression>sample string 3</expression>
            <name>sample string 1</name>
            <title>sample string 2</title>
          </d2p1:Field>
        </d2p1:GlobalFilter.Table>
      </d2p1:Tables>
    </d2p1:GlobalFilter>
    <d2p1:GlobalFilter>
      <d2p1:Charts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>dc381c48-3688-41a6-8472-69a3e0a17022</d4p1:guid>
        <d4p1:guid>e7d91219-f336-4eb5-b1e9-9f133c311597</d4p1:guid>
      </d2p1:Charts>
      <d2p1:DataType>Number</d2p1:DataType>
      <d2p1:DefaultName>sample string 4</d2p1:DefaultName>
      <d2p1:DefaultSelect>true</d2p1:DefaultSelect>
      <d2p1:Granularity>Normal</d2p1:Granularity>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Range xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </d2p1:Range>
      <d2p1:RangeType>In</d2p1:RangeType>
      <d2p1:ShowAll>true</d2p1:ShowAll>
      <d2p1:Tables>
        <d2p1:GlobalFilter.Table>
          <d2p1:DataSourceId>46650e6f-438c-4d87-a1d1-d6e03cccd417</d2p1:DataSourceId>
          <d2p1:Field>
            <dataType>Number</dataType>
            <expression>sample string 3</expression>
            <name>sample string 1</name>
            <title>sample string 2</title>
          </d2p1:Field>
        </d2p1:GlobalFilter.Table>
        <d2p1:GlobalFilter.Table>
          <d2p1:DataSourceId>46650e6f-438c-4d87-a1d1-d6e03cccd417</d2p1:DataSourceId>
          <d2p1:Field>
            <dataType>Number</dataType>
            <expression>sample string 3</expression>
            <name>sample string 1</name>
            <title>sample string 2</title>
          </d2p1:Field>
        </d2p1:GlobalFilter.Table>
      </d2p1:Tables>
    </d2p1:GlobalFilter>
  </GlobalFilter>
</DashDetailModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Status

ApiResultStatus

None.

Data

Object

None.

Message

string

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "success",
  "data": {},
  "message": "sample string 2",
  "code": 1
}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Models">
  <Code>1</Code>
  <Data />
  <Message>sample string 2</Message>
  <Status>Success</Status>
</ApiResult>