POST api/v1/TimeTable/CreateTimeTable
Request Information
URI Parameters
None.
Body Parameters
TimeTable| Name | Description | Type | Additional information |
|---|---|---|---|
| TimeTableID | integer |
None. |
|
| _TTName | string |
None. |
|
| _TTDescription | string |
None. |
|
| _TimeZones | Collection of TimeZone |
None. |
Request Formats
application/json, text/json
Sample:
{
"TimeTableID": 1,
"_TTName": "sample string 2",
"_TTDescription": "sample string 3",
"_TimeZones": [
{
"TimezoneID": 1,
"_TimeZoneNumber": 0,
"_Description": "sample string 2",
"_Shifts": [
{
"TimeShiftID": 1,
"_TimeShiftNumber": 0,
"_Enabled": 0,
"_From": "sample string 2",
"_To": "sample string 3",
"_Week": {
"_Mon": 0,
"_Tue": 0,
"_Wed": 0,
"_Thu": 0,
"_Fr": 0,
"_Sat": 0,
"_Sun": 0,
"_Hol": 0,
"_Sp": 0
}
},
{
"TimeShiftID": 1,
"_TimeShiftNumber": 0,
"_Enabled": 0,
"_From": "sample string 2",
"_To": "sample string 3",
"_Week": {
"_Mon": 0,
"_Tue": 0,
"_Wed": 0,
"_Thu": 0,
"_Fr": 0,
"_Sat": 0,
"_Sun": 0,
"_Hol": 0,
"_Sp": 0
}
}
]
},
{
"TimezoneID": 1,
"_TimeZoneNumber": 0,
"_Description": "sample string 2",
"_Shifts": [
{
"TimeShiftID": 1,
"_TimeShiftNumber": 0,
"_Enabled": 0,
"_From": "sample string 2",
"_To": "sample string 3",
"_Week": {
"_Mon": 0,
"_Tue": 0,
"_Wed": 0,
"_Thu": 0,
"_Fr": 0,
"_Sat": 0,
"_Sun": 0,
"_Hol": 0,
"_Sp": 0
}
},
{
"TimeShiftID": 1,
"_TimeShiftNumber": 0,
"_Enabled": 0,
"_From": "sample string 2",
"_To": "sample string 3",
"_Week": {
"_Mon": 0,
"_Tue": 0,
"_Wed": 0,
"_Thu": 0,
"_Fr": 0,
"_Sat": 0,
"_Sun": 0,
"_Hol": 0,
"_Sp": 0
}
}
]
}
]
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.