POST api/OverTime/Compliance/Edit

更新明細

Request Information

URI Parameters

None.

Body Parameters

編輯資料

OverTimeComplianceDto
NameDescriptionTypeAdditional information
OVERTIME_ID

integer

None.

FORM_GUID

string

None.

COMPANY_SNO

string

None.

EMPLOYEE_NO

string

None.

OVERTIME_START_DATE

date

None.

OVERTIME_START_TIME

date

None.

OVERTIME_END_DATE

date

None.

OVERTIME_END_TIME

date

None.

OVERTIME_CHANGE

string

None.

OVERTIME_REASON

string

None.

IS_CHECK_CARD

boolean

None.

IS_LUNCH

boolean

None.

IS_DINNER

boolean

None.

IS_NIGHT

boolean

None.

IS_OTHER

boolean

None.

EmpId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OVERTIME_ID": 1,
  "FORM_GUID": "sample string 2",
  "COMPANY_SNO": "sample string 3",
  "EMPLOYEE_NO": "sample string 4",
  "OVERTIME_START_DATE": "2025-12-27T14:31:30.7729003+08:00",
  "OVERTIME_START_TIME": "2025-12-27T14:31:30.7729003+08:00",
  "OVERTIME_END_DATE": "2025-12-27T14:31:30.7729003+08:00",
  "OVERTIME_END_TIME": "2025-12-27T14:31:30.7729003+08:00",
  "OVERTIME_CHANGE": "sample string 9",
  "OVERTIME_REASON": "sample string 10",
  "IS_CHECK_CARD": true,
  "IS_LUNCH": true,
  "IS_DINNER": true,
  "IS_NIGHT": true,
  "IS_OTHER": true,
  "EmpId": "sample string 16"
}

application/xml, text/xml

Sample:
<OverTimeComplianceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuestComposite._104WorkFlow.Application.Dtos">
  <COMPANY_SNO>sample string 3</COMPANY_SNO>
  <EMPLOYEE_NO>sample string 4</EMPLOYEE_NO>
  <EmpId>sample string 16</EmpId>
  <FORM_GUID>sample string 2</FORM_GUID>
  <IS_CHECK_CARD>true</IS_CHECK_CARD>
  <IS_DINNER>true</IS_DINNER>
  <IS_LUNCH>true</IS_LUNCH>
  <IS_NIGHT>true</IS_NIGHT>
  <IS_OTHER>true</IS_OTHER>
  <OVERTIME_CHANGE>sample string 9</OVERTIME_CHANGE>
  <OVERTIME_END_DATE>2025-12-27T14:31:30.7729003+08:00</OVERTIME_END_DATE>
  <OVERTIME_END_TIME>2025-12-27T14:31:30.7729003+08:00</OVERTIME_END_TIME>
  <OVERTIME_ID>1</OVERTIME_ID>
  <OVERTIME_REASON>sample string 10</OVERTIME_REASON>
  <OVERTIME_START_DATE>2025-12-27T14:31:30.7729003+08:00</OVERTIME_START_DATE>
  <OVERTIME_START_TIME>2025-12-27T14:31:30.7729003+08:00</OVERTIME_START_TIME>
</OverTimeComplianceDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>