POST api/Schedule/GenerateScheduleTable
Request Information
URI Parameters
None.
Body Parameters
ScheduleTableViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ViewWeekDays | integer |
None. |
|
| DateFromStr | string |
None. |
|
| DateToStr | string |
None. |
|
| GoToDateStr | string |
None. |
|
| IsDateRestricted | boolean |
None. |
|
| IsProduction | boolean |
None. |
|
| SelectedJobId | globally unique identifier |
None. |
|
| IsShowAll | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"viewWeekDays": 1,
"dateFromStr": "sample string 2",
"dateToStr": "sample string 3",
"goToDateStr": "sample string 4",
"isDateRestricted": true,
"isProduction": true,
"selectedJobId": "34343855-3697-44a7-a7e8-e81da85ea0af",
"isShowAll": true
}
application/xml, text/xml
Sample:
<ScheduleTableViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <DateFromStr>sample string 2</DateFromStr> <DateToStr>sample string 3</DateToStr> <GoToDateStr>sample string 4</GoToDateStr> <IsDateRestricted>true</IsDateRestricted> <IsProduction>true</IsProduction> <IsShowAll>true</IsShowAll> <SelectedJobId>34343855-3697-44a7-a7e8-e81da85ea0af</SelectedJobId> <ViewWeekDays>1</ViewWeekDays> </ScheduleTableViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DateColumnsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| monthString | string |
None. |
|
| Day | string |
None. |
|
| Date | integer |
None. |
|
| Year | integer |
None. |
|
| ActualDate | date |
None. |
|
| JobCount | integer |
None. |
|
| JobHrs | integer |
None. |
|
| ScheduleDetailsViewModels | Collection of ScheduleDetailsViewModel |
None. |
|
| ScheduledJobFullList | Collection of ScheduleDetailsViewModel |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.