POST api/Levels/CRUD
Add/Update/Delete Levels
Request Information
URI Parameters
None.
Body Parameters
String Array of Levels And Information(Mandatory)
Collection of LevelInfoName | Description | Type | Additional information |
---|---|---|---|
LevelId | integer |
None. |
|
LevelName | string |
None. |
|
LevelDesc | string |
None. |
|
EventTypeId | integer |
None. |
|
IsActive | boolean |
None. |
|
Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "LevelId": 1, "LevelName": "sample string 2", "LevelDesc": "sample string 3", "EventTypeId": 4, "IsActive": true, "Deleted": 1 }, { "LevelId": 1, "LevelName": "sample string 2", "LevelDesc": "sample string 3", "EventTypeId": 4, "IsActive": true, "Deleted": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfLevelInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <LevelInfo> <Deleted>1</Deleted> <EventTypeId>4</EventTypeId> <IsActive>true</IsActive> <LevelDesc>sample string 3</LevelDesc> <LevelId>1</LevelId> <LevelName>sample string 2</LevelName> </LevelInfo> <LevelInfo> <Deleted>1</Deleted> <EventTypeId>4</EventTypeId> <IsActive>true</IsActive> <LevelDesc>sample string 3</LevelDesc> <LevelId>1</LevelId> <LevelName>sample string 2</LevelName> </LevelInfo> </ArrayOfLevelInfo>
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>