POST api/PageChart

Request Information

URI Parameters

None.

Body Parameters

PageChartAddViewModel
NameDescriptionTypeAdditional information
PageId

integer

None.

QueryId

integer

None.

Title

string

None.

Type

integer

None.

Width

integer

None.

RefreshTime

integer

None.

BackgroundId

integer

None.

BackImageId

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PageId": 1,
  "QueryId": 2,
  "Title": "sample string 3",
  "Type": 4,
  "Width": 5,
  "RefreshTime": 6,
  "BackgroundId": 7,
  "BackImageId": 8,
  "IsActive": true
}

application/xml, text/xml

Sample:
<PageChartAddViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dashboard.Models">
  <BackImageId>8</BackImageId>
  <BackgroundId>7</BackgroundId>
  <IsActive>true</IsActive>
  <PageId>1</PageId>
  <QueryId>2</QueryId>
  <RefreshTime>6</RefreshTime>
  <Title>sample string 3</Title>
  <Type>4</Type>
  <Width>5</Width>
</PageChartAddViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.