POST api/ClassType
Request Information
URI Parameters
None.
Body Parameters
ClassTypeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Type | PeriodType |
None. |
|
| Name | string |
None. |
|
| Count | integer |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Type": 1,
"Name": "sample string 2",
"Count": 3,
"IsDeleted": true
}
application/xml, text/xml
Sample:
<ClassTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <Count>3</Count> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 2</Name> <Type>Daily</Type> </ClassTypeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ClassTypeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Type | PeriodType |
None. |
|
| Name | string |
None. |
|
| Count | integer |
None. |
|
| IsDeleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Type": 1,
"Name": "sample string 2",
"Count": 3,
"IsDeleted": true
}
application/xml, text/xml
Sample:
<ClassTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <Count>3</Count> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 2</Name> <Type>Daily</Type> </ClassTypeDTO>