PUT api/ApplicationLockout

Update the ApplicationLockout status and lockMessage

Request Information

URI Parameters

None.

Body Parameters

ApplicationLockoutDTO
NameDescriptionTypeAdditional information
Id

integer

None.

LockMessage

string

None.

IsLocked

boolean

None.

UserID

integer

None.

CreationMessage

string

None.

IsCreationBlocked

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LockMessage": "sample string 2",
  "IsLocked": true,
  "UserID": 4,
  "CreationMessage": "sample string 5",
  "IsCreationBlocked": true
}

text/html

Sample:
{"Id":1,"LockMessage":"sample string 2","IsLocked":true,"UserID":4,"CreationMessage":"sample string 5","IsCreationBlocked":true}

application/xml, text/xml

Sample:
<ApplicationLockoutDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._BOL">
  <CreationMessage>sample string 5</CreationMessage>
  <Id>1</Id>
  <IsCreationBlocked>true</IsCreationBlocked>
  <IsLocked>true</IsLocked>
  <LockMessage>sample string 2</LockMessage>
  <UserID>4</UserID>
</ApplicationLockoutDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
id

integer

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "msg": "sample string 1"
}

text/html

Sample:
{"id":1,"msg":"sample string 1"}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._DAL">
  <id>1</id>
  <msg>sample string 1</msg>
</StatusDTO>