POST TimeSaver/PostSiteShifts
Request Information
URI Parameters
None.
Body Parameters
SiteShiftName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
SiteID | globally unique identifier |
Required |
|
Name | string |
Required |
|
Code | string |
None. |
|
DateStart | date |
Required |
|
DateEnd | date |
Required |
|
DayID | SiteDay |
Required |
|
StartTime | time interval |
Required |
|
EndTime | time interval |
Required |
|
StartBeforeThreshold | time interval |
None. |
|
StartAfterThreshold | time interval |
None. |
|
EndBeforeThreshold | time interval |
None. |
|
EndAfterThreshold | time interval |
None. |
|
BreakTime | time interval |
None. |
|
IsActive | boolean |
Required |
|
IsNightShift | boolean |
Required |
|
WorkingHours | decimal number |
Required |
|
AutoClockOutTime | time interval |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "7c2a9d38-7e43-4f82-8c98-2512429d0b61", "SiteID": "851a59e0-b5b1-4a99-85e5-aa30f718ed17", "Name": "sample string 3", "Code": "sample string 4", "DateStart": "2025-09-05T20:09:29.2017047+00:00", "DateEnd": "2025-09-05T20:09:29.2017047+00:00", "DayID": 0, "StartTime": "00:00:00.1234567", "EndTime": "00:00:00.1234567", "StartBeforeThreshold": "00:00:00.1234567", "StartAfterThreshold": "00:00:00.1234567", "EndBeforeThreshold": "00:00:00.1234567", "EndAfterThreshold": "00:00:00.1234567", "BreakTime": "00:00:00.1234567", "IsActive": true, "IsNightShift": true, "WorkingHours": 11.0, "AutoClockOutTime": "00:00:00.1234567" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Code | string |
None. |
|
StackTrace | string |
None. |
|
Response | ServiceItem |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.