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": "69f2766f-59cd-4e0f-8ac8-913b2b7fd9d6",
  "EMAIL": "sample string 2",
  "ID_NO": "sample string 3",
  "DEPARTMENT": "sample string 4",
  "EMPLOYEE_NAME": "sample string 5",
  "UserName": "sample string 6",
  "CityID": "3cede638-91a4-4716-a957-1a503dfc1e20",
  "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>3cede638-91a4-4716-a957-1a503dfc1e20</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>69f2766f-59cd-4e0f-8ac8-913b2b7fd9d6</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>