Upsert many stages
Insert or update many stages in one call. update is required: it lists the columns to overwrite when a row with a conflicting unique key already exists.
Authorizations
Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.
Query Parameters
Columns to overwrite when the row already exists. Repeat the parameter for each column: a single comma-separated value is read as one column name and fails at the database. Without the parameter the request is rejected with 400.
Body
Station name, for example Welding.
Department the station belongs to.
How many orders the station can hold at once. Zero or greater.
x >= 0Unique id. Generated on create unless you supply one.
What happens at this station.
Cost code. Trimmed on write, and an empty string is rejected: send a non-empty string or null.
Stored as a plain string. It is not validated against the cost code list, and renaming an entry in that list does not change this value.
Archived stations are hidden from list results unless you ask for them.
When the record was created.
When the record last changed.
Response
The upserted stages.