GET api/UserType/{id}
Get User type by matching the provided id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserType| Name | Description | Type | Additional information |
|---|---|---|---|
| UserTypeId | integer |
None. |
|
| UserTypeName | string |
None. |
|
| UserTypedesc | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedDateTime | date |
None. |
|
| LastUpdatedDateTime | date |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| LastModifiedBy | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserTypeId": 1,
"UserTypeName": "sample string 2",
"UserTypedesc": "sample string 3",
"IsActive": true,
"CreatedDateTime": "2026-02-05T09:26:46.8063861+00:00",
"LastUpdatedDateTime": "2026-02-05T09:26:46.8063861+00:00",
"IsDeleted": true,
"CreatedBy": 1,
"LastModifiedBy": 1
}
application/xml, text/xml
Sample:
<UserType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <CreatedBy>1</CreatedBy> <CreatedDateTime>2026-02-05T09:26:46.8063861+00:00</CreatedDateTime> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2026-02-05T09:26:46.8063861+00:00</LastUpdatedDateTime> <UserTypeId>1</UserTypeId> <UserTypeName>sample string 2</UserTypeName> <UserTypedesc>sample string 3</UserTypedesc> </UserType>