POST api/Schedule/GenerateScheduleTable
Request Information
URI Parameters
None.
Body Parameters
ScheduleTableViewModelName | 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": "eb1a879e-39c7-4919-949e-e8f6402d78df", "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>eb1a879e-39c7-4919-949e-e8f6402d78df</SelectedJobId> <ViewWeekDays>1</ViewWeekDays> </ScheduleTableViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DateColumnsViewModelName | 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.