Update many work sessions
Apply one set of changes to every work session matching your filter.
The filter must be in the query string. A filter in the body is ignored, and a request with no filter is rejected with 400 so you cannot update the whole table by accident.
Authorizations
Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.
Query Parameters
Full-text search across the resource's search columns. Append :col1,col2 to limit which columns are searched.
AND/OR filter expression, for example type eq 'phase' and isArchived eq false. Simple equality can also be passed as plain field parameters.
Body
Every field is optional. Only the fields you send are changed.
Deliverable the time was logged against.
Person who did the work.
Department the session belongs to.
When the session started, in UTC.
When the session ended, in UTC. null means it is still open.
true when someone has edited the session by hand.
Who last changed the session.
The shift the record was worked against. Break times are local wall-clock, not UTC.
System the session came from, for example quickbase.
Sync state for the external system.
"synced"
Free-form key-value store. No key is guaranteed to be present, and a missing key is not the same as a null one. See the resource guide for which paths populate costCode and unionCode.
Response
The updated work sessions.