POST api/SubEventType/CRUD
Add/Update/Delete SubEventType
Request Information
URI Parameters
None.
Body Parameters
String Array of SubEventType And Information(Mandatory)
Collection of SubEventTypesInfoName | Description | Type | Additional information |
---|---|---|---|
SubEventTypeId | integer |
None. |
|
SubEventTypeName | string |
None. |
|
SubEventTypeDesc | string |
None. |
|
Gender | string |
None. |
|
IsActive | boolean |
None. |
|
Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "SubEventTypeId": 1, "SubEventTypeName": "sample string 2", "SubEventTypeDesc": "sample string 3", "Gender": "sample string 4", "IsActive": true, "Deleted": 1 }, { "SubEventTypeId": 1, "SubEventTypeName": "sample string 2", "SubEventTypeDesc": "sample string 3", "Gender": "sample string 4", "IsActive": true, "Deleted": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfSubEventTypesInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <SubEventTypesInfo> <Deleted>1</Deleted> <Gender>sample string 4</Gender> <IsActive>true</IsActive> <SubEventTypeDesc>sample string 3</SubEventTypeDesc> <SubEventTypeId>1</SubEventTypeId> <SubEventTypeName>sample string 2</SubEventTypeName> </SubEventTypesInfo> <SubEventTypesInfo> <Deleted>1</Deleted> <Gender>sample string 4</Gender> <IsActive>true</IsActive> <SubEventTypeDesc>sample string 3</SubEventTypeDesc> <SubEventTypeId>1</SubEventTypeId> <SubEventTypeName>sample string 2</SubEventTypeName> </SubEventTypesInfo> </ArrayOfSubEventTypesInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>