POST api/admin/users/v1/new_super

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
Id

integer

None.

Unique

string

None.

SellingPrice

decimal number

None.

CommissionPercentage

decimal number

None.

DepartmentId

integer

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

Phone

string

None.

Gender

string

None.

DateofBirth

date

None.

Country

string

None.

Image

string

None.

City

string

None.

Address

string

None.

StaffId

string

None.

Active

boolean

None.

DeletedAt

date

None.

CreatedAt

date

None.

AccessLevel

integer

None.

PhoneAlt

string

None.

UpdatedAt

date

None.

Login

date

None.

Sector

string

None.

OtherInfo

string

None.

Gallery

string

None.

Deleted

boolean

None.

SecurityLevel

integer

None.

ActivationId

string

None.

Position

string

None.

Enabled

boolean

None.

SuperAdmin

boolean

None.

Pin

string

None.

LoginAttempt

integer

None.

SetFailedAttempts

integer

None.

Other

string

None.

Language

string

None.

Timezone

integer

None.

TimezoneName

string

None.

LoginNotification

boolean

None.

PasswordResetVerification

boolean

None.

EnableTwoFactorAuthentication

boolean

None.

EnableEmailNotification

boolean

None.

ReceiveEmailOnNotification

boolean

None.

ReceiveEmailOnDirectMessage

boolean

None.

EnableSMSNotification

boolean

None.

ReceiveSMSOnNotification

boolean

None.

ReceiveSMSOnDirectMessage

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Unique": "sample string 2",
  "SellingPrice": 3.0,
  "CommissionPercentage": 4.0,
  "DepartmentId": 5,
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "Email": "sample string 8",
  "Phone": "sample string 9",
  "Gender": "sample string 10",
  "DateofBirth": "2025-12-10T09:35:30.8285989+00:00",
  "Country": "sample string 11",
  "Image": "sample string 12",
  "City": "sample string 13",
  "Address": "sample string 14",
  "StaffId": "sample string 15",
  "Active": true,
  "DeletedAt": "2025-12-10T09:35:30.8285989+00:00",
  "CreatedAt": "2025-12-10T09:35:30.8285989+00:00",
  "AccessLevel": 1,
  "PhoneAlt": "sample string 18",
  "UpdatedAt": "2025-12-10T09:35:30.8285989+00:00",
  "Login": "2025-12-10T09:35:30.8285989+00:00",
  "Sector": "sample string 20",
  "OtherInfo": "sample string 21",
  "Gallery": "sample string 22",
  "Deleted": true,
  "SecurityLevel": 1,
  "ActivationId": "sample string 24",
  "Position": "sample string 25",
  "Enabled": true,
  "SuperAdmin": true,
  "Pin": "sample string 28",
  "LoginAttempt": 1,
  "SetFailedAttempts": 1,
  "Other": "sample string 29",
  "Language": "sample string 30",
  "Timezone": 31,
  "TimezoneName": "sample string 32",
  "LoginNotification": true,
  "PasswordResetVerification": true,
  "EnableTwoFactorAuthentication": true,
  "EnableEmailNotification": true,
  "ReceiveEmailOnNotification": true,
  "ReceiveEmailOnDirectMessage": true,
  "EnableSMSNotification": true,
  "ReceiveSMSOnNotification": true,
  "ReceiveSMSOnDirectMessage": true
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables">
  <AccessLevel>1</AccessLevel>
  <ActivationId>sample string 24</ActivationId>
  <Active>true</Active>
  <Address>sample string 14</Address>
  <City>sample string 13</City>
  <CommissionPercentage>4</CommissionPercentage>
  <Country>sample string 11</Country>
  <CreatedAt>2025-12-10T09:35:30.8285989+00:00</CreatedAt>
  <DateofBirth>2025-12-10T09:35:30.8285989+00:00</DateofBirth>
  <Deleted>true</Deleted>
  <DeletedAt>2025-12-10T09:35:30.8285989+00:00</DeletedAt>
  <DepartmentId>5</DepartmentId>
  <Email>sample string 8</Email>
  <EnableEmailNotification>true</EnableEmailNotification>
  <EnableSMSNotification>true</EnableSMSNotification>
  <EnableTwoFactorAuthentication>true</EnableTwoFactorAuthentication>
  <Enabled>true</Enabled>
  <FirstName>sample string 6</FirstName>
  <Gallery>sample string 22</Gallery>
  <Gender>sample string 10</Gender>
  <Id>1</Id>
  <Image>sample string 12</Image>
  <Language>sample string 30</Language>
  <LastName>sample string 7</LastName>
  <Login>2025-12-10T09:35:30.8285989+00:00</Login>
  <LoginAttempt>1</LoginAttempt>
  <LoginNotification>true</LoginNotification>
  <Other>sample string 29</Other>
  <OtherInfo>sample string 21</OtherInfo>
  <PasswordResetVerification>true</PasswordResetVerification>
  <Phone>sample string 9</Phone>
  <PhoneAlt>sample string 18</PhoneAlt>
  <Pin>sample string 28</Pin>
  <Position>sample string 25</Position>
  <ReceiveEmailOnDirectMessage>true</ReceiveEmailOnDirectMessage>
  <ReceiveEmailOnNotification>true</ReceiveEmailOnNotification>
  <ReceiveSMSOnDirectMessage>true</ReceiveSMSOnDirectMessage>
  <ReceiveSMSOnNotification>true</ReceiveSMSOnNotification>
  <Sector>sample string 20</Sector>
  <SecurityLevel>1</SecurityLevel>
  <SellingPrice>3</SellingPrice>
  <SetFailedAttempts>1</SetFailedAttempts>
  <StaffId>sample string 15</StaffId>
  <SuperAdmin>true</SuperAdmin>
  <Timezone>31</Timezone>
  <TimezoneName>sample string 32</TimezoneName>
  <Unique>sample string 2</Unique>
  <UpdatedAt>2025-12-10T09:35:30.8285989+00:00</UpdatedAt>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.