POST SecuritySystemAPI/Users/UpdateUser

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": "8b9e2652-7580-4a3c-8faa-0eb05fdb8bb3",
  "EMAIL": "sample string 2",
  "ID_NO": "sample string 3",
  "DEPARTMENT": "sample string 4",
  "EMPLOYEE_NAME": "sample string 5",
  "UserName": "sample string 6",
  "CityID": "0a249578-0804-4955-ad4f-dca9bf48c251",
  "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>0a249578-0804-4955-ad4f-dca9bf48c251</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>8b9e2652-7580-4a3c-8faa-0eb05fdb8bb3</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>