POST api/CaseSys/Case_Type

Request Information

URI Parameters

None.

Body Parameters

Case_Type
NameDescriptionTypeAdditional information
TypeID

integer

None.

TypeName

string

None.

FatherID

integer

None.

HasChild

boolean

None.

SortIndex

integer

None.

Code

string

None.

TemplateID

integer

None.

TCID

integer

None.

Del

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TypeID": 1,
  "TypeName": "sample string 2",
  "FatherID": 1,
  "HasChild": true,
  "SortIndex": 1,
  "Code": "sample string 3",
  "TemplateID": 1,
  "TCID": 1,
  "Del": true
}

application/xml, text/xml

Sample:
<Case_Type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.CaseSys.Data">
  <Code>sample string 3</Code>
  <Del>true</Del>
  <FatherID>1</FatherID>
  <HasChild>true</HasChild>
  <SortIndex>1</SortIndex>
  <TCID>1</TCID>
  <TemplateID>1</TemplateID>
  <TypeID>1</TypeID>
  <TypeName>sample string 2</TypeName>
</Case_Type>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Case_Type
NameDescriptionTypeAdditional information
TypeID

integer

None.

TypeName

string

None.

FatherID

integer

None.

HasChild

boolean

None.

SortIndex

integer

None.

Code

string

None.

TemplateID

integer

None.

TCID

integer

None.

Del

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "TypeID": 1,
  "TypeName": "sample string 2",
  "FatherID": 1,
  "HasChild": true,
  "SortIndex": 1,
  "Code": "sample string 3",
  "TemplateID": 1,
  "TCID": 1,
  "Del": true
}

application/xml, text/xml

Sample:
<Case_Type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.CaseSys.Data">
  <Code>sample string 3</Code>
  <Del>true</Del>
  <FatherID>1</FatherID>
  <HasChild>true</HasChild>
  <SortIndex>1</SortIndex>
  <TCID>1</TCID>
  <TemplateID>1</TemplateID>
  <TypeID>1</TypeID>
  <TypeName>sample string 2</TypeName>
</Case_Type>