PUT api/v1/setup_Department/{departmentId}/departmentId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
departmentId

integer

Required

Body Parameters

Setup_DepartmentVM
NameDescriptionTypeAdditional information
departmentId

integer

None.

departmentName

string

None.

tenantId

integer

None.

createdBy

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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.