POST api/User/UpdateUserDetail

Request Information

URI Parameters

None.

Body Parameters

UserDetailModel
NameDescriptionTypeAdditional information
Username

string

None.

CreatedOn

date

None.

DeactivatedOn

date

None.

DeactivatedOn_STRING

string

None.

CreatedOn_STRING

string

None.

IsApproved

boolean

None.

IsLockedOut

boolean

None.

StaffTypeID

integer

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "CreatedOn": "2026-04-17T12:59:14.3372239+00:00",
  "DeactivatedOn": "2026-04-17T12:59:14.3372239+00:00",
  "DeactivatedOn_STRING": "sample string 3",
  "CreatedOn_STRING": "sample string 4",
  "IsApproved": true,
  "IsLockedOut": true,
  "StaffTypeID": 7,
  "UserID": 8
}

application/xml, text/xml

Sample:
<UserDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSI.Cx360.WebAPI.Models">
  <CreatedOn>2026-04-17T12:59:14.3372239+00:00</CreatedOn>
  <CreatedOn_STRING>sample string 4</CreatedOn_STRING>
  <DeactivatedOn>2026-04-17T12:59:14.3372239+00:00</DeactivatedOn>
  <DeactivatedOn_STRING>sample string 3</DeactivatedOn_STRING>
  <IsApproved>true</IsApproved>
  <IsLockedOut>true</IsLockedOut>
  <StaffTypeID>7</StaffTypeID>
  <UserID>8</UserID>
  <Username>sample string 1</Username>
</UserDetailModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />