DELETE api/UserType/DeleteUserType
API to delete a user type by its ID.
Request Information
URI Parameters
None.
Body Parameters
DeleteUserTypeRequestModel with the user type ID.
DeleteUserTypeRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserTypeID | integer |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{
"userTypeID": 1
}
application/xml, text/xml
Sample:
<DeleteUserTypeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.RequestModel.UserType"> <UserTypeID>1</UserTypeID> </DeleteUserTypeRequestModel>
multipart/form-data
Sample:
<DeleteUserTypeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.RequestModel.UserType"><UserTypeID>1</UserTypeID></DeleteUserTypeRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserTypeSaveResponseModel
UserTypeSaveResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnID | integer |
None. |
|
| Message | string |
None. |
|
| Successful | boolean |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{
"returnID": 1,
"message": "sample string 2",
"successful": true
}
application/xml, text/xml
Sample:
<UserTypeSaveResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.UserType"> <Message>sample string 2</Message> <ReturnID>1</ReturnID> <Successful>true</Successful> </UserTypeSaveResponseModel>
multipart/form-data
Sample:
<UserTypeSaveResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.UserType"><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful></UserTypeSaveResponseModel>