POST api/organisationstructure/UpdateDepartment

Request Information

URI Parameters

None.

Body Parameters

RequestAddDepartment
NameDescriptionTypeAdditional information
id

integer

None.

department

string

None.

departmentAr

string

None.

lead

integer

None.

userid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "department": "sample string 2",
  "departmentAr": "sample string 3",
  "lead": 4,
  "userid": 5
}

application/xml, text/xml

Sample:
<RequestAddDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom">
  <department>sample string 2</department>
  <departmentAr>sample string 3</departmentAr>
  <id>1</id>
  <lead>4</lead>
  <userid>5</userid>
</RequestAddDepartment>

application/x-www-form-urlencoded

Sample:

Sample not available.

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/" />