POST api/Attendance/ChangeSchedulable

修改当天使用的考勤卡片

Request Information

URI Parameters

None.

Body Parameters

ChangeSchedulableDto
NameDescriptionTypeAdditional information
PersonID

globally unique identifier

None.

WorkDate

date

None.

AttendanceCMID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonID": "8dd90a5b-39e9-405f-80a3-e441cb573387",
  "WorkDate": "2025-12-17 05:43:20",
  "AttendanceCMID": "1e2c56ab-2897-490a-933d-cdfe06b664fb"
}

application/xml, text/xml

Sample:
<ChangeSchedulableDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
  <AttendanceCMID>1e2c56ab-2897-490a-933d-cdfe06b664fb</AttendanceCMID>
  <PersonID>8dd90a5b-39e9-405f-80a3-e441cb573387</PersonID>
  <WorkDate>2025-12-17T05:43:20.3643936+08:00</WorkDate>
</ChangeSchedulableDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfBoolean
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "Message": "sample string 1",
  "Data": true
}

application/xml, text/xml

Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
  <Code>Success</Code>
  <Data>true</Data>
  <Message>sample string 1</Message>
</ResultModelOfboolean>