PUT api/heart/dashboards/{dashboardId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dashboardId

integer

Required

Body Parameters

HeartDashboard
NameDescriptionTypeAdditional information
id

integer

None.

created_by_employee_id

integer

None.

owner_employee_id

integer

None.

shared_by_employee_id

integer

None.

last_updated_by_employee_id

integer

None.

name

string

None.

type

string

None.

json

string

None.

description

string

None.

last_updated_timestamp

date

None.

created_timestamp

date

None.

version

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "created_by_employee_id": 2,
  "owner_employee_id": 3,
  "shared_by_employee_id": 4,
  "last_updated_by_employee_id": 5,
  "name": "sample string 6",
  "type": "sample string 7",
  "json": "sample string 8",
  "description": "sample string 9",
  "last_updated_timestamp": "2024-12-21T16:07:44.6918816+00:00",
  "created_timestamp": "2024-12-21T16:07:44.6918816+00:00",
  "version": "sample string 12"
}

text/html

Sample:
{"id":1,"created_by_employee_id":2,"owner_employee_id":3,"shared_by_employee_id":4,"last_updated_by_employee_id":5,"name":"sample string 6","type":"sample string 7","json":"sample string 8","description":"sample string 9","last_updated_timestamp":"2024-12-21T16:07:44.6918816+00:00","created_timestamp":"2024-12-21T16:07:44.6918816+00:00","version":"sample string 12"}

application/xml, text/xml

Sample:
<HeartDashboard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
  <created_by_employee_id>2</created_by_employee_id>
  <created_timestamp>2024-12-21T16:07:44.6918816+00:00</created_timestamp>
  <description>sample string 9</description>
  <id>1</id>
  <json>sample string 8</json>
  <last_updated_by_employee_id>5</last_updated_by_employee_id>
  <last_updated_timestamp>2024-12-21T16:07:44.6918816+00:00</last_updated_timestamp>
  <name>sample string 6</name>
  <owner_employee_id>3</owner_employee_id>
  <shared_by_employee_id>4</shared_by_employee_id>
  <type>sample string 7</type>
  <version>sample string 12</version>
</HeartDashboard>

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 'HeartDashboard'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.