POST api/Schedule
Request Information
URI Parameters
None.
Body Parameters
DayScheduleName | Description | Type | Additional information |
---|---|---|---|
TaskDayId | integer |
None. |
|
TaskId | integer |
None. |
|
ProjectId | integer |
None. |
|
TaskName | string |
None. |
|
ProjectName | string |
None. |
|
DayId | integer |
None. |
|
Period | integer |
None. |
|
StartTime | date |
None. |
|
EndTime | date |
None. |
|
TaskActivityId | integer |
None. |
|
ActivityTypeName | string |
None. |
|
ActivityName | string |
None. |
|
ProjectId2 | integer |
None. |
|
ProjectName2 | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TaskDayId": 1, "TaskId": 2, "ProjectId": 3, "TaskName": "sample string 4", "ProjectName": "sample string 5", "DayId": 6, "Period": 7, "StartTime": "2025-01-07T18:05:47.0023229-06:00", "EndTime": "2025-01-07T18:05:47.0023229-06:00", "TaskActivityId": 8, "ActivityTypeName": "sample string 9", "ActivityName": "sample string 10", "ProjectId2": 11, "ProjectName2": "sample string 12" }
text/html
Sample:
{"TaskDayId":1,"TaskId":2,"ProjectId":3,"TaskName":"sample string 4","ProjectName":"sample string 5","DayId":6,"Period":7,"StartTime":"2025-01-07T18:05:47.0023229-06:00","EndTime":"2025-01-07T18:05:47.0023229-06:00","TaskActivityId":8,"ActivityTypeName":"sample string 9","ActivityName":"sample string 10","ProjectId2":11,"ProjectName2":"sample string 12"}
application/xml, text/xml
Sample:
<DaySchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DayAPI.Models"> <ActivityName>sample string 10</ActivityName> <ActivityTypeName>sample string 9</ActivityTypeName> <DayId>6</DayId> <EndTime>2025-01-07T18:05:47.0023229-06:00</EndTime> <Period>7</Period> <ProjectId>3</ProjectId> <ProjectId2>11</ProjectId2> <ProjectName>sample string 5</ProjectName> <ProjectName2>sample string 12</ProjectName2> <StartTime>2025-01-07T18:05:47.0023229-06:00</StartTime> <TaskActivityId>8</TaskActivityId> <TaskDayId>1</TaskDayId> <TaskId>2</TaskId> <TaskName>sample string 4</TaskName> </DaySchedule>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.