POST api/CRMWidget

Insert New Widget

Request Information

URI Parameters

None.

Body Parameters

Widgets
NameDescriptionTypeAdditional information
WidgetID

integer

None.

WidgetCode

string

Required

String length: inclusive between 0 and 50

WidgetName

string

Required

String length: inclusive between 0 and 200

WidgetDisplayName

string

Required

String length: inclusive between 0 and 100

Description

string

String length: inclusive between 0 and 1000

IsRealTimeDashboard

integer

None.

IsPeriodicalDashboard

integer

None.

IsEnabled

boolean

None.

DisciplineID

integer

None.

SeriesID

integer

None.

CreatedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WidgetID": 1,
  "WidgetCode": "sample string 2",
  "WidgetName": "sample string 3",
  "WidgetDisplayName": "sample string 4",
  "Description": "sample string 5",
  "IsRealTimeDashboard": 1,
  "IsPeriodicalDashboard": 1,
  "IsEnabled": true,
  "DisciplineID": 1,
  "SeriesID": 1,
  "CreatedUserID": 7
}

application/xml, text/xml

Sample:
<Widgets xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.CRM">
  <CreatedDateTime>2018-10-17T14:54:16.7111923+00:00</CreatedDateTime>
  <CreatedUserID>7</CreatedUserID>
  <UpdatedDateTime>2018-10-17T14:54:16.7111923+00:00</UpdatedDateTime>
  <UpdatedUserID>1</UpdatedUserID>
  <Description>sample string 5</Description>
  <DisciplineID>1</DisciplineID>
  <IsEnabled>true</IsEnabled>
  <IsPeriodicalDashboard>1</IsPeriodicalDashboard>
  <IsRealTimeDashboard>1</IsRealTimeDashboard>
  <SeriesID>1</SeriesID>
  <WidgetCode>sample string 2</WidgetCode>
  <WidgetDisplayName>sample string 4</WidgetDisplayName>
  <WidgetID>1</WidgetID>
  <WidgetName>sample string 3</WidgetName>
</Widgets>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.