POST api/User

Request Information

URI Parameters

None.

Body Parameters

adEntities
NameDescriptionTypeAdditional information
Accesses

Collection of Access

None.

AppLogs

Collection of AppLog

None.

AppUsers

Collection of AppUser

None.

AppAccesses

Collection of AppAccess

None.

AppFees

Collection of AppFee

None.

Claims

Collection of Claim

None.

Departments

Collection of Department

None.

DiscountCodes

Collection of DiscountCode

None.

Errors

Collection of Error

None.

PaymentTransactions

Collection of PaymentTransaction

None.

PreOrderSales

Collection of PreOrderSale

None.

Settings

Collection of Setting

None.

SMS

Collection of SM

None.

Timelines

Collection of Timeline

None.

Users

Collection of User

None.

UserRoles

Collection of UserRole

None.

UserSettings

Collection of UserSetting

None.

USSDTransactions

Collection of USSDTransaction

None.

USSDPendingOTPs

Collection of USSDPendingOTP

None.

VoucherAssignmentErrors

Collection of VoucherAssignmentError

None.

VoucherDetails

Collection of VoucherDetail

None.

VoucherRequestUsers

Collection of VoucherRequestUser

None.

VoucherUploadHistories

Collection of VoucherUploadHistory

None.

Database

Database

None.

ChangeTracker

DbChangeTracker

None.

Configuration

DbContextConfiguration

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<adEntities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models">
  <Accesses xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <AppAccesses xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <AppFees xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <AppLogs xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <AppUsers xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <Claims xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <Departments xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <DiscountCodes xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <PaymentTransactions xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <PreOrderSales xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <SMS xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <Settings xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <Timelines xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <USSDPendingOTPs xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <USSDTransactions xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <UserRoles xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <UserSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <Users xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <VoucherAssignmentErrors xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <VoucherDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <VoucherRequestUsers xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
  <VoucherUploadHistories xmlns:d2p1="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables" i:nil="true" />
</adEntities>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.

Response 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:36:56.8004811+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:36:56.8004811+00:00",
  "CreatedAt": "2025-12-10T09:36:56.8004811+00:00",
  "AccessLevel": 1,
  "PhoneAlt": "sample string 18",
  "UpdatedAt": "2025-12-10T09:36:56.8004811+00:00",
  "Login": "2025-12-10T09:36:56.8004811+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:36:56.8004811+00:00</CreatedAt>
  <DateofBirth>2025-12-10T09:36:56.8004811+00:00</DateofBirth>
  <Deleted>true</Deleted>
  <DeletedAt>2025-12-10T09:36:56.8004811+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:36:56.8004811+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:36:56.8004811+00:00</UpdatedAt>
</User>