PUT api/chart-edit/batch-edit-datasource/{tabType}/{projectId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tabType

string

Required

projectId

globally unique identifier

Required

Body Parameters

DashModel
NameDescriptionTypeAdditional information
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:
{
  "projectId": "e761407b-57f7-4b84-9d1f-de0215c82cf7",
  "dashboardId": "cd7a2cd5-aaf2-4433-877e-9126023d9457",
  "name": "sample string 3",
  "description": "sample string 4",
  "show": true,
  "order": 6.0
}

application/xml, text/xml

Sample:
<DashModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Margin.Models">
  <DashboardId>cd7a2cd5-aaf2-4433-877e-9126023d9457</DashboardId>
  <Description>sample string 4</Description>
  <Name>sample string 3</Name>
  <Order>6</Order>
  <ProjectId>e761407b-57f7-4b84-9d1f-de0215c82cf7</ProjectId>
  <Show>true</Show>
</DashModel>

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>