PUT api/v1/setup_DepartmentUnit/{departmentUnitId}/departmentUnitId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
departmentUnitId

integer

Required

Body Parameters

Setup_DepartmentUnitVM
NameDescriptionTypeAdditional information
departmentUnitId

integer

None.

departmentId

integer

None.

departmentBranchName

string

None.

tenantId

integer

None.

createdBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "departmentUnitId": 1,
  "departmentId": 1,
  "departmentBranchName": "sample string 2",
  "tenantId": 1,
  "createdBy": 3
}

application/xml, text/xml

Sample:
<Setup_DepartmentUnitVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <createdBy>3</createdBy>
  <departmentBranchName>sample string 2</departmentBranchName>
  <departmentId>1</departmentId>
  <departmentUnitId>1</departmentUnitId>
  <tenantId>1</tenantId>
</Setup_DepartmentUnitVM>

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.