GET V3/odata/Department({key})

Gets Department entity by key

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

DepartmentId from Department entity

integer

Required

Body Parameters

None.

Response Information

Resource Description

QicsUnity.Api.Areas.V3.Models.Department
NameDescriptionTypeAdditional information
DepartmentId

Gets or sets the DepartmentId

integer

Required

64-bit signed integer

Name

Gets or sets name of the Department

string

Required

CompanyId

Gets or sets CompanyId

integer

Required

64-bit signed integer

Response Formats

application/json, text/json

Sample:
{
  "DepartmentId": "1",
  "Name": "sample 2",
  "CompanyId": "3"
}

application/xml, text/xml

Sample:
<Department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models">
  <CompanyId>3</CompanyId>
  <DepartmentId>1</DepartmentId>
  <Name>sample 2</Name>
</Department>