POST api/UserTypeModels/PostNonSystemRole

Request Information

URI Parameters

None.

Body Parameters

UserTypeModel
NameDescriptionTypeAdditional information
ID

integer

None.

UserTypeName

string

None.

IsDeleted

boolean

None.

IsActive

boolean

None.

IsStaff

boolean

None.

IsSystemRole

boolean

None.

UserTypeLevel

integer

None.

UserTypeLevelString

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserTypeName": "sample string 2",
  "IsDeleted": true,
  "IsActive": true,
  "IsStaff": true,
  "IsSystemRole": true,
  "UserTypeLevel": 1,
  "UserTypeLevelString": "sample string 3",
  "CreatedDate": "2026-06-30T14:13:28.6980076+01:00",
  "UpdatedDate": "2026-06-30T14:13:28.6980076+01:00",
  "UpdatedBy": 1,
  "CreatedBy": 1
}

text/xml

Sample:
<UserTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Models">
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2026-06-30T14:13:28.6980076+01:00</CreatedDate>
  <ID>1</ID>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <IsStaff>true</IsStaff>
  <IsSystemRole>true</IsSystemRole>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2026-06-30T14:13:28.6980076+01:00</UpdatedDate>
  <UserTypeLevel>1</UserTypeLevel>
  <UserTypeLevelString>sample string 3</UserTypeLevelString>
  <UserTypeName>sample string 2</UserTypeName>
</UserTypeModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserTypeModel'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>