POST api/UserType/Delete

Request Information

URI Parameters

None.

Body Parameters

UserTypeStruct
NameDescriptionTypeAdditional information
UserType

UserTypeEn

None.

UserTypeList

Collection of UserTypeEn

None.

StatusOk

boolean

None.

Message

string

None.

ItemsFound

integer

None.

StackTrace

string

None.

UserId

integer

None.

CompanyId

integer

None.

Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserType": {
    "UserTypeId": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "DateRegistration": "2026-02-18T10:16:24.1706561-06:00",
    "Enabled": true
  },
  "UserTypeList": [
    {
      "UserTypeId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "DateRegistration": "2026-02-18T10:16:24.1706561-06:00",
      "Enabled": true
    },
    {
      "UserTypeId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "DateRegistration": "2026-02-18T10:16:24.1706561-06:00",
      "Enabled": true
    }
  ],
  "StatusOk": true,
  "Message": "sample string 2",
  "ItemsFound": 3,
  "StackTrace": "sample string 4",
  "UserId": 5,
  "CompanyId": 6,
  "Username": "sample string 7",
  "Password": "sample string 8"
}

application/xml, text/xml

Sample:
<UserTypeStruct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model.Struct">
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">6</CompanyId>
  <ItemsFound xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">3</ItemsFound>
  <Message xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">sample string 2</Message>
  <Password xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">sample string 8</Password>
  <StackTrace xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">sample string 4</StackTrace>
  <StatusOk xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">true</StatusOk>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">5</UserId>
  <Username xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">sample string 7</Username>
  <UserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/SamanthaX.Model.Entity">
    <d2p1:Code>sample string 2</d2p1:Code>
    <d2p1:DateRegistration>2026-02-18T10:16:24.1706561-06:00</d2p1:DateRegistration>
    <d2p1:Description>sample string 4</d2p1:Description>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:UserTypeId>1</d2p1:UserTypeId>
  </UserType>
  <UserTypeList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SamanthaX.Model.Entity">
    <d2p1:UserTypeEn>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:DateRegistration>2026-02-18T10:16:24.1706561-06:00</d2p1:DateRegistration>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:UserTypeId>1</d2p1:UserTypeId>
    </d2p1:UserTypeEn>
    <d2p1:UserTypeEn>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:DateRegistration>2026-02-18T10:16:24.1706561-06:00</d2p1:DateRegistration>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:UserTypeId>1</d2p1:UserTypeId>
    </d2p1:UserTypeEn>
  </UserTypeList>
</UserTypeStruct>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserTypeStruct
NameDescriptionTypeAdditional information
UserType

UserTypeEn

None.

UserTypeList

Collection of UserTypeEn

None.

StatusOk

boolean

None.

Message

string

None.

ItemsFound

integer

None.

StackTrace

string

None.

UserId

integer

None.

CompanyId

integer

None.

Username

string

None.

Password

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserType": {
    "UserTypeId": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "DateRegistration": "2026-02-18T10:16:24.1706561-06:00",
    "Enabled": true
  },
  "UserTypeList": [
    {
      "UserTypeId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "DateRegistration": "2026-02-18T10:16:24.1706561-06:00",
      "Enabled": true
    },
    {
      "UserTypeId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "Description": "sample string 4",
      "DateRegistration": "2026-02-18T10:16:24.1706561-06:00",
      "Enabled": true
    }
  ],
  "StatusOk": true,
  "Message": "sample string 2",
  "ItemsFound": 3,
  "StackTrace": "sample string 4",
  "UserId": 5,
  "CompanyId": 6,
  "Username": "sample string 7",
  "Password": "sample string 8"
}

application/xml, text/xml

Sample:
<UserTypeStruct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model.Struct">
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">6</CompanyId>
  <ItemsFound xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">3</ItemsFound>
  <Message xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">sample string 2</Message>
  <Password xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">sample string 8</Password>
  <StackTrace xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">sample string 4</StackTrace>
  <StatusOk xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">true</StatusOk>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">5</UserId>
  <Username xmlns="http://schemas.datacontract.org/2004/07/SamanthaX.Model">sample string 7</Username>
  <UserType xmlns:d2p1="http://schemas.datacontract.org/2004/07/SamanthaX.Model.Entity">
    <d2p1:Code>sample string 2</d2p1:Code>
    <d2p1:DateRegistration>2026-02-18T10:16:24.1706561-06:00</d2p1:DateRegistration>
    <d2p1:Description>sample string 4</d2p1:Description>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:UserTypeId>1</d2p1:UserTypeId>
  </UserType>
  <UserTypeList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SamanthaX.Model.Entity">
    <d2p1:UserTypeEn>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:DateRegistration>2026-02-18T10:16:24.1706561-06:00</d2p1:DateRegistration>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:UserTypeId>1</d2p1:UserTypeId>
    </d2p1:UserTypeEn>
    <d2p1:UserTypeEn>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:DateRegistration>2026-02-18T10:16:24.1706561-06:00</d2p1:DateRegistration>
      <d2p1:Description>sample string 4</d2p1:Description>
      <d2p1:Enabled>true</d2p1:Enabled>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:UserTypeId>1</d2p1:UserTypeId>
    </d2p1:UserTypeEn>
  </UserTypeList>
</UserTypeStruct>