TechnicianShifts_Create
Schedule technician shifts in ServiceTitan by defining start and end times, shift type, title, notes, and active status using specified tenant and technician IDs.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
active | No | Is shift active? | |
end | Yes | Shift end time | |
note | No | Shift note | |
shiftType | No | Shift type | |
start | Yes | Shift start time | |
technicianId | Yes | Technician ID | |
tenant | Yes | Format - int64. Tenant ID | |
timesheetCodeId | No | Timesheet code ID | |
title | No | Shift title |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"active": {
"default": true,
"description": "Is shift active?",
"type": "boolean"
},
"end": {
"description": "Shift end time",
"format": "date-time",
"type": "string"
},
"note": {
"description": "Shift note",
"type": "string"
},
"shiftType": {
"description": "Shift type",
"type": "string"
},
"start": {
"description": "Shift start time",
"format": "date-time",
"type": "string"
},
"technicianId": {
"description": "Technician ID",
"type": "integer"
},
"tenant": {
"description": "Format - int64. Tenant ID",
"type": "integer"
},
"timesheetCodeId": {
"description": "Timesheet code ID",
"type": "integer"
},
"title": {
"description": "Shift title",
"type": "string"
}
},
"required": [
"tenant",
"technicianId",
"start",
"end"
],
"type": "object"
}