GET jxc_api/Department/Get/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DepartmentEditModel
NameDescriptionTypeAdditional information
AccAsId

integer

None.

Id

integer

None.

No

string

None.

Name

string

None.

Level

integer

None.

ParentId

integer

None.

ParentName

string

None.

ParentNo

string

None.

Manager

string

None.

Phone

string

None.

StartDate

date

None.

EndDate

date

None.

Status

integer

None.

Note

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccAsId": 1,
  "Id": 2,
  "No": "sample string 3",
  "Name": "sample string 4",
  "Level": 5,
  "ParentId": 6,
  "ParentName": "sample string 7",
  "ParentNo": "sample string 8",
  "Manager": "sample string 9",
  "Phone": "sample string 10",
  "StartDate": "2024-05-03 15:47:01",
  "EndDate": "2024-05-03 15:47:01",
  "Status": 11,
  "Note": "sample string 12"
}

application/xml, text/xml

Sample:
<DepartmentEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.ToAcc.ErpAccModel">
  <AccAsId>1</AccAsId>
  <EndDate>2024-05-03T15:47:01.1069381+08:00</EndDate>
  <Id>2</Id>
  <Level>5</Level>
  <Manager>sample string 9</Manager>
  <Name>sample string 4</Name>
  <No>sample string 3</No>
  <Note>sample string 12</Note>
  <ParentId>6</ParentId>
  <ParentName>sample string 7</ParentName>
  <ParentNo>sample string 8</ParentNo>
  <Phone>sample string 10</Phone>
  <StartDate>2024-05-03T15:47:01.1069381+08:00</StartDate>
  <Status>11</Status>
</DepartmentEditModel>