Create a work session
Create one work session, or several at once by sending an array.
Leave shiftWorkHours out and BuildingSwell fills it from the person’s shop shift for startDate, stamping the shop timezone onto it. Leave metadata.costCode out and it is resolved from the deliverable, then its station, then its ancestors, then the project, then the route; if none of those carry one, the key is left off entirely.
One person can hold only one open session per deliverable. A second attempt comes back as 409.
Authorizations
Body
- object
- object[]
Leave shiftWorkHours out and BuildingSwell fills it from the person's shop shift for startDate, stamping the shop timezone onto it. Leave metadata.costCode out and it is resolved from the deliverable, then its station, then its ancestors, then the project, then the route; if none of those carry one, the key is left off entirely.
One person can hold only one open session per deliverable. A second attempt comes back as 409.