POST api/AttendanceAPI/AddTimeRecord
补卡
Request Information
URI Parameters
None.
Body Parameters
补卡参数对象
AddTimeRecordModelName | Description | Type | Additional information |
---|---|---|---|
employee_GID | globally unique identifier |
None. |
|
tenant_GID | globally unique identifier |
None. |
|
punchTime | date |
None. |
|
punchType | integer |
None. |
|
remark | string |
None. |
|
attachments_GID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "employee_GID": "e7d289d0-7168-40c8-b4a0-73d061ccfc04", "tenant_GID": "ae8f3bce-8d7f-4fb0-96db-b53407d28bb6", "punchTime": "2025-05-04T15:13:28.7934257+08:00", "punchType": 4, "remark": "sample string 5", "attachments_GID": "sample string 6" }
application/xml, text/xml
Sample:
<AddTimeRecordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model"> <attachments_GID>sample string 6</attachments_GID> <employee_GID>e7d289d0-7168-40c8-b4a0-73d061ccfc04</employee_GID> <punchTime>2025-05-04T15:13:28.7934257+08:00</punchTime> <punchType>4</punchType> <remark>sample string 5</remark> <tenant_GID>ae8f3bce-8d7f-4fb0-96db-b53407d28bb6</tenant_GID> </AddTimeRecordModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
补卡
stringResponse 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>