POST api/Employees/LockUnLock

Request Information

URI Parameters

None.

Body Parameters

EmployeeLockBindingModel
NameDescriptionTypeAdditional information
Id

integer

None.

IsLock

boolean

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "isLock": true,
  "description": "sample string 3"
}

application/xml, text/xml

Sample:
<EmployeeLockBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Employee">
  <Description>sample string 3</Description>
  <Id>1</Id>
  <IsLock>true</IsLock>
</EmployeeLockBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.