POST 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": "b7870ce1-f4a2-450a-9cac-b54f16b33773",
  "EMAIL": "sample string 2",
  "ID_NO": "sample string 3",
  "DEPARTMENT": "sample string 4",
  "EMPLOYEE_NAME": "sample string 5",
  "UserName": "sample string 6",
  "CityID": "27885dd7-ea25-47d6-9030-a1d3afffa488",
  "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>27885dd7-ea25-47d6-9030-a1d3afffa488</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>b7870ce1-f4a2-450a-9cac-b54f16b33773</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>