POST qms/Category

Request Information

URI Parameters

None.

Body Parameters

QMSItemData
NameDescriptionTypeAdditional information
ItemId

integer

None.

ItemName

string

None.

IsActive

boolean

None.

DisplayFormat

integer

None.

SuperCategoryId

integer

None.

FailedReportTimes

integer

None.

Frequency

string

None.

MinNCRate

decimal number

None.

SendReport

boolean

None.

IsParent

boolean

None.

ParentId

integer

None.

DefaultProductId

integer

None.

HasChild

boolean

None.

Emailtemplate

string

None.

IconPath

string

None.

IconName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemId": 1,
  "ItemName": "sample string 2",
  "IsActive": true,
  "DisplayFormat": 4,
  "SuperCategoryId": 5,
  "FailedReportTimes": 6,
  "Frequency": "sample string 7",
  "MinNCRate": 8.1,
  "SendReport": true,
  "IsParent": true,
  "ParentId": 11,
  "DefaultProductId": 12,
  "HasChild": true,
  "Emailtemplate": "sample string 14",
  "IconPath": "sample string 15",
  "IconName": "sample string 16"
}

application/xml, text/xml

Sample:
<QMSItemData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Li.CQATS.Audit.Library.Entities">
  <DefaultProductId>12</DefaultProductId>
  <DisplayFormat>4</DisplayFormat>
  <Emailtemplate>sample string 14</Emailtemplate>
  <FailedReportTimes>6</FailedReportTimes>
  <Frequency>sample string 7</Frequency>
  <HasChild>true</HasChild>
  <IconName>sample string 16</IconName>
  <IconPath>sample string 15</IconPath>
  <IsActive>true</IsActive>
  <IsParent>true</IsParent>
  <ItemId>1</ItemId>
  <ItemName>sample string 2</ItemName>
  <MinNCRate>8.1</MinNCRate>
  <ParentId>11</ParentId>
  <SendReport>true</SendReport>
  <SuperCategoryId>5</SuperCategoryId>
</QMSItemData>

multipart/form-data

Sample:
<QMSItemData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Li.CQATS.Audit.Library.Entities"><DefaultProductId>12</DefaultProductId><DisplayFormat>4</DisplayFormat><Emailtemplate>sample string 14</Emailtemplate><FailedReportTimes>6</FailedReportTimes><Frequency>sample string 7</Frequency><HasChild>true</HasChild><IconName>sample string 16</IconName><IconPath>sample string 15</IconPath><IsActive>true</IsActive><IsParent>true</IsParent><ItemId>1</ItemId><ItemName>sample string 2</ItemName><MinNCRate>8.1</MinNCRate><ParentId>11</ParentId><SendReport>true</SendReport><SuperCategoryId>5</SuperCategoryId></QMSItemData>

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, multipart/form-data

Sample:

Sample not available.