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