POST api/Profile/Lock

Request Information

URI Parameters

None.

Body Parameters

Systemic.Model.mlProfile
NamedescriptionTypeAdditional information
UserSysID

integer

None.

FullName

string

Required

StaffImage

string

None.

UserName

string

None.

Password

string

None.

RoleSysID

integer

Required

CompanyID

string

None.

isAllowLogin

boolean

None.

Locked

Systemic.Model.mlLocked

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "UserSysID": 1,
  "FullName": "sample string 2",
  "StaffImage": "sample string 3",
  "UserName": "sample string 4",
  "Password": "sample string 5",
  "RoleSysID": 6,
  "CompanyID": "sample string 7",
  "isAllowLogin": true,
  "Locked": {
    "LockedBy": "sample string 1",
    "LockedDate": "sample string 2",
    "LockedReason": "sample string 3",
    "IsLocked": true
  }
}

text/xml

Sample:
<mlProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model">
  <CompanyID>sample string 7</CompanyID>
  <FullName>sample string 2</FullName>
  <Locked>
    <IsLocked>true</IsLocked>
    <LockedBy>sample string 1</LockedBy>
    <LockedDate>sample string 2</LockedDate>
    <LockedReason>sample string 3</LockedReason>
  </Locked>
  <Password>sample string 5</Password>
  <RoleSysID>6</RoleSysID>
  <StaffImage>sample string 3</StaffImage>
  <UserName>sample string 4</UserName>
  <UserSysID>1</UserSysID>
  <isAllowLogin>true</isAllowLogin>
</mlProfile>

response Information

Resource description

Api.Server.ServerResponse
NamedescriptionTypeAdditional information
response

string

None.

success

Api.Server.MlSuccess

None.

failure

Api.Server.MlError

None.

response Formats

application/json, text/json, text/html

Sample:
{
  "response": "sample string 1",
  "success": null,
  "failure": null
}

text/xml

Sample:
<ServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Server">
  <failure i:nil="true" />
  <response>sample string 1</response>
  <success i:nil="true" />
</ServerResponse>