POST api/department/{departmentCode}/subdepartment/{code}/markdowns

Save Sub Department Markdown level

Request Information

URI Parameters

NameDescriptionTypeAdditional information
departmentCode

Department Code

string

Required

code

Sub Department code

string

Required

Body Parameters

Sub Department markdown level information

DepartmentMarkdownLevel
NameDescriptionTypeAdditional information
ID

integer

None.

DepartmentCode

string

Required

SubDepartmentCode

string

Required

SeverityLevel

ProductDateCheckSeverity

None.

Days

integer

None.

DefaultMarkdownPercent

decimal number

None.

MaximumMarkdownPercent

decimal number

None.

DepartmentLevelID

integer

Relation. This field may not always be loaded or used for updates.

DepartmentName

string

Relation. This field may not always be loaded or used for updates.

SubDepartmentName

string

Relation. This field may not always be loaded or used for updates.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "departmentCode": "sample string 1",
  "subDepartmentCode": "sample string 2",
  "severityLevel": 3,
  "days": 4,
  "defaultMarkdownPercent": 5.1,
  "maximumMarkdownPercent": 6.1,
  "departmentLevelID": 1,
  "departmentName": "sample string 7",
  "subDepartmentName": "sample string 8"
}

application/xml, text/xml

Sample:
<DepartmentMarkdownLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Departments">
  <Days>4</Days>
  <DefaultMarkdownPercent>5.1</DefaultMarkdownPercent>
  <DepartmentCode>sample string 1</DepartmentCode>
  <DepartmentLevelID>1</DepartmentLevelID>
  <DepartmentName>sample string 7</DepartmentName>
  <ID>1</ID>
  <MaximumMarkdownPercent>6.1</MaximumMarkdownPercent>
  <SeverityLevel>3</SeverityLevel>
  <SubDepartmentCode>sample string 2</SubDepartmentCode>
  <SubDepartmentName>sample string 8</SubDepartmentName>
</DepartmentMarkdownLevel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.