POST api/OpenAPICtalentLite/ScheduleCRUD

待办事项 CRUD

Request Information

URI Parameters

None.

Body Parameters

ScheduleInput
NameDescriptionTypeAdditional information
OperType

string

None.

schedule

Schedule

None.

Request Formats

application/json, text/json

Sample:
{
  "OperType": "sample string 1",
  "schedule": {
    "ScheduleTitle": "sample string 1",
    "ScheduleContent": "sample string 2",
    "ScheduleType": "sample string 3",
    "IsCompleted": true,
    "EffectiveDay": 4,
    "Remark": "sample string 5",
    "Code": "sample string 6",
    "Tenant_GID": "1c4be6ad-9312-4480-9260-02dcc6e33e95",
    "SysCreateDate": "2025-05-04T16:48:56.466788+08:00",
    "SysCreateUser": "00000000-0000-0000-0000-000000000000",
    "SysModifyDate": "2025-05-04T16:48:56.466788+08:00",
    "SysModifyUser": "00000000-0000-0000-0000-000000000000",
    "GID": "a4f7350f-4fbe-4530-bb28-23145c705253"
  }
}

application/xml, text/xml

Sample:
<ScheduleInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <OperType>sample string 1</OperType>
  <schedule xmlns:d2p1="http://schemas.datacontract.org/2004/07/JetHR.Core.Model">
    <d2p1:_gid>a4f7350f-4fbe-4530-bb28-23145c705253</d2p1:_gid>
    <d2p1:SysModifyDate>2025-05-04T16:48:56.466788+08:00</d2p1:SysModifyDate>
    <d2p1:SysModifyUser>00000000-0000-0000-0000-000000000000</d2p1:SysModifyUser>
    <d2p1:Code>sample string 6</d2p1:Code>
    <d2p1:EffectiveDay>4</d2p1:EffectiveDay>
    <d2p1:IsCompleted>true</d2p1:IsCompleted>
    <d2p1:Remark>sample string 5</d2p1:Remark>
    <d2p1:ScheduleContent>sample string 2</d2p1:ScheduleContent>
    <d2p1:ScheduleTitle>sample string 1</d2p1:ScheduleTitle>
    <d2p1:ScheduleType>sample string 3</d2p1:ScheduleType>
    <d2p1:Tenant_GID>1c4be6ad-9312-4480-9260-02dcc6e33e95</d2p1:Tenant_GID>
  </schedule>
</ScheduleInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ScheduleInput'.

Response Information

Resource Description

待办事项 CRUD

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>