PUT TimeSaver/PutSiteShifts
Request Information
URI Parameters
None.
Body Parameters
Collection of SiteShift| Name | 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": "1",
"ID": "46b8837d-c9ce-417f-98ed-2d0ea05ad91c",
"SiteID": "0f5cf849-2b84-4ce5-a959-ba20ce305e6b",
"Name": "sample string 3",
"Code": "sample string 4",
"DateStart": "2026-02-04T05:26:16.0507476+00:00",
"DateEnd": "2026-02-04T05:26:16.0507476+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"
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponse| Name | 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.