POST api/SunOA/SVSP_ApprovalType

Request Information

URI Parameters

None.

Body Parameters

SVSP_ApprovalType
NameDescriptionTypeAdditional information
ATID

integer

None.

TypeName

string

None.

ParentID

integer

None.

Del

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ATID": 1,
  "TypeName": "sample string 2",
  "ParentID": 3,
  "Del": true
}

application/xml, text/xml

Sample:
<SVSP_ApprovalType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <ATID>1</ATID>
  <Del>true</Del>
  <ParentID>3</ParentID>
  <TypeName>sample string 2</TypeName>
</SVSP_ApprovalType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SVSP_ApprovalType
NameDescriptionTypeAdditional information
ATID

integer

None.

TypeName

string

None.

ParentID

integer

None.

Del

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ATID": 1,
  "TypeName": "sample string 2",
  "ParentID": 3,
  "Del": true
}

application/xml, text/xml

Sample:
<SVSP_ApprovalType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <ATID>1</ATID>
  <Del>true</Del>
  <ParentID>3</ParentID>
  <TypeName>sample string 2</TypeName>
</SVSP_ApprovalType>