GET SecuritySystemAPI/Users/AddUser

Request Information

URI Parameters

None.

Body Parameters

UserInfo
NameDescriptionTypeAdditional information
UserID

globally unique identifier

None.

EMAIL

string

None.

ID_NO

string

None.

DEPARTMENT

string

None.

EMPLOYEE_NAME

string

None.

UserName

string

None.

CityID

globally unique identifier

None.

EMP_ID

string

None.

title

string

None.

Mobile_NO

string

None.

Admin

boolean

None.

IsSuspended

boolean

None.

SuperAdmin

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": "b11dfce3-0199-44f5-8c53-b86e05e6a0e5",
  "EMAIL": "sample string 2",
  "ID_NO": "sample string 3",
  "DEPARTMENT": "sample string 4",
  "EMPLOYEE_NAME": "sample string 5",
  "UserName": "sample string 6",
  "CityID": "aa25ebf0-0fe1-4035-b8a5-4df74e1c1bc0",
  "EMP_ID": "sample string 8",
  "title": "sample string 9",
  "Mobile_NO": "sample string 10",
  "Admin": true,
  "IsSuspended": true,
  "SuperAdmin": true
}

application/xml, text/xml

Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecuritySystem.API.Models">
  <Admin>true</Admin>
  <CityID>aa25ebf0-0fe1-4035-b8a5-4df74e1c1bc0</CityID>
  <DEPARTMENT>sample string 4</DEPARTMENT>
  <EMAIL>sample string 2</EMAIL>
  <EMPLOYEE_NAME>sample string 5</EMPLOYEE_NAME>
  <EMP_ID>sample string 8</EMP_ID>
  <ID_NO>sample string 3</ID_NO>
  <IsSuspended>true</IsSuspended>
  <Mobile_NO>sample string 10</Mobile_NO>
  <SuperAdmin>true</SuperAdmin>
  <UserID>b11dfce3-0199-44f5-8c53-b86e05e6a0e5</UserID>
  <UserName>sample string 6</UserName>
  <title>sample string 9</title>
</UserInfo>

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 'UserInfo'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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