GET api/Leave/List?guid={guid}&empId={empId}

依 表單Guid 取得列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

表單Guid

string

Required

empId

申請者ID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LeaveDto
NameDescriptionTypeAdditional information
LEAVE_ID

integer

None.

FORM_GUID

string

None.

COMPANY_SNO

string

None.

EMPLOYEE_NO

string

None.

AGENT_NO

string

None.

LEAVE_START_DATE

date

None.

LEAVE_START_TIME

date

None.

LEAVE_END_DATE

date

None.

LEAVE_END_TIME

date

None.

LEAVE_SETUP_REFERENCE_ID

integer

None.

LEAVE_SETUP_CLASS

string

None.

EVENT_DATE

date

None.

LEAVE_REASON

string

None.

EmpId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LEAVE_ID": 1,
    "FORM_GUID": "sample string 2",
    "COMPANY_SNO": "sample string 3",
    "EMPLOYEE_NO": "sample string 4",
    "AGENT_NO": "sample string 5",
    "LEAVE_START_DATE": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_START_TIME": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_END_DATE": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_END_TIME": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_SETUP_REFERENCE_ID": 10,
    "LEAVE_SETUP_CLASS": "sample string 11",
    "EVENT_DATE": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_REASON": "sample string 12",
    "EmpId": "sample string 13"
  },
  {
    "LEAVE_ID": 1,
    "FORM_GUID": "sample string 2",
    "COMPANY_SNO": "sample string 3",
    "EMPLOYEE_NO": "sample string 4",
    "AGENT_NO": "sample string 5",
    "LEAVE_START_DATE": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_START_TIME": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_END_DATE": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_END_TIME": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_SETUP_REFERENCE_ID": 10,
    "LEAVE_SETUP_CLASS": "sample string 11",
    "EVENT_DATE": "2025-12-27T14:32:57.2299196+08:00",
    "LEAVE_REASON": "sample string 12",
    "EmpId": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLeaveDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuestComposite._104WorkFlow.Application.Dtos">
  <LeaveDto>
    <AGENT_NO>sample string 5</AGENT_NO>
    <COMPANY_SNO>sample string 3</COMPANY_SNO>
    <EMPLOYEE_NO>sample string 4</EMPLOYEE_NO>
    <EVENT_DATE>2025-12-27T14:32:57.2299196+08:00</EVENT_DATE>
    <EmpId>sample string 13</EmpId>
    <FORM_GUID>sample string 2</FORM_GUID>
    <LEAVE_END_DATE>2025-12-27T14:32:57.2299196+08:00</LEAVE_END_DATE>
    <LEAVE_END_TIME>2025-12-27T14:32:57.2299196+08:00</LEAVE_END_TIME>
    <LEAVE_ID>1</LEAVE_ID>
    <LEAVE_REASON>sample string 12</LEAVE_REASON>
    <LEAVE_SETUP_CLASS>sample string 11</LEAVE_SETUP_CLASS>
    <LEAVE_SETUP_REFERENCE_ID>10</LEAVE_SETUP_REFERENCE_ID>
    <LEAVE_START_DATE>2025-12-27T14:32:57.2299196+08:00</LEAVE_START_DATE>
    <LEAVE_START_TIME>2025-12-27T14:32:57.2299196+08:00</LEAVE_START_TIME>
  </LeaveDto>
  <LeaveDto>
    <AGENT_NO>sample string 5</AGENT_NO>
    <COMPANY_SNO>sample string 3</COMPANY_SNO>
    <EMPLOYEE_NO>sample string 4</EMPLOYEE_NO>
    <EVENT_DATE>2025-12-27T14:32:57.2299196+08:00</EVENT_DATE>
    <EmpId>sample string 13</EmpId>
    <FORM_GUID>sample string 2</FORM_GUID>
    <LEAVE_END_DATE>2025-12-27T14:32:57.2299196+08:00</LEAVE_END_DATE>
    <LEAVE_END_TIME>2025-12-27T14:32:57.2299196+08:00</LEAVE_END_TIME>
    <LEAVE_ID>1</LEAVE_ID>
    <LEAVE_REASON>sample string 12</LEAVE_REASON>
    <LEAVE_SETUP_CLASS>sample string 11</LEAVE_SETUP_CLASS>
    <LEAVE_SETUP_REFERENCE_ID>10</LEAVE_SETUP_REFERENCE_ID>
    <LEAVE_START_DATE>2025-12-27T14:32:57.2299196+08:00</LEAVE_START_DATE>
    <LEAVE_START_TIME>2025-12-27T14:32:57.2299196+08:00</LEAVE_START_TIME>
  </LeaveDto>
</ArrayOfLeaveDto>