PUT api/Charts/PutChart?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Chart
NameDescriptionTypeAdditional information
ChartId

integer

None.

ChartTypeId

integer

None.

Title

string

None.

Position

integer

None.

Chartvalues

string

Max length: -1

TitleColorHex

string

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

IsDraft

boolean

None.

IsTopTitled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ChartId": 1,
  "ChartTypeId": 2,
  "Title": "sample string 3",
  "Position": 1,
  "Chartvalues": "sample string 4",
  "TitleColorHex": "sample string 5",
  "LastChanged": "2025-08-14T03:24:40.3991576+00:00",
  "LastChange_AuthorId": 1,
  "IsDraft": true,
  "IsTopTitled": true
}

application/xml, text/xml

Sample:
<Chart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <ChartId>1</ChartId>
  <ChartTypeId>2</ChartTypeId>
  <Chartvalues>sample string 4</Chartvalues>
  <IsDraft>true</IsDraft>
  <IsTopTitled>true</IsTopTitled>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:24:40.3991576+00:00</LastChanged>
  <Position>1</Position>
  <Title>sample string 3</Title>
  <TitleColorHex>sample string 5</TitleColorHex>
</Chart>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Chart'.

Response Information

Resource Description

None.