POST api/ApplicationLockout

Request Information

URI Parameters

None.

Body Parameters

ScheduledLockDto
NameDescriptionTypeAdditional information
submitLockMessage

string

None.

submitLocked

boolean

None.

createLockMessage

string

None.

createLocked

boolean

None.

dayOpen

integer

None.

dayClose

integer

None.

createOpen

integer

None.

createClose

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "submitLockMessage": "sample string 1",
  "submitLocked": true,
  "createLockMessage": "sample string 3",
  "createLocked": true,
  "dayOpen": 1,
  "dayClose": 1,
  "createOpen": 1,
  "createClose": 1
}

text/html

Sample:
{"submitLockMessage":"sample string 1","submitLocked":true,"createLockMessage":"sample string 3","createLocked":true,"dayOpen":1,"dayClose":1,"createOpen":1,"createClose":1}

application/xml, text/xml

Sample:
<ApplicationLockoutController.ScheduledLockDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST.Controllers">
  <createClose>1</createClose>
  <createLockMessage>sample string 3</createLockMessage>
  <createLocked>true</createLocked>
  <createOpen>1</createOpen>
  <dayClose>1</dayClose>
  <dayOpen>1</dayOpen>
  <submitLockMessage>sample string 1</submitLockMessage>
  <submitLocked>true</submitLocked>
</ApplicationLockoutController.ScheduledLockDto>

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>