POST api/dashboard/insert

Request Information

URI Parameters

None.

Body Parameters

InsertDashboardRequestModel
NameDescriptionTypeAdditional information
DashboardID

integer

None.

BranchID

integer

None.

FinancialYearID

integer

None.

DashboardName

string

None.

WidgetIDs

string

None.

Layouts

string

None.

IsDefault

boolean

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DashboardID": 1,
  "BranchID": 2,
  "FinancialYearID": 3,
  "DashboardName": "sample string 4",
  "WidgetIDs": "sample string 5",
  "Layouts": "sample string 6",
  "IsDefault": true,
  "UserID": 8
}

application/xml, text/xml

Sample:
<InsertDashboardRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>2</BranchID>
  <DashboardID>1</DashboardID>
  <DashboardName>sample string 4</DashboardName>
  <FinancialYearID>3</FinancialYearID>
  <IsDefault>true</IsDefault>
  <Layouts>sample string 6</Layouts>
  <UserID>8</UserID>
  <WidgetIDs>sample string 5</WidgetIDs>
</InsertDashboardRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.