Work Center Process

The work center process resource.

Basehttps://rest.carbon.ms/workCenterProcess
GET/workCenterProcess

List work center processs

Retrieve a paginated list of work center processs. Filter, order, and select columns with PostgREST query parameters.

Query parameters

selectstring

Comma-separated columns to return. Defaults to all.

orderstring

Column to sort by, e.g. `createdAt.desc`.

limitinteger

Maximum rows to return.

offsetinteger

Rows to skip, for pagination.

GEThttps://rest.carbon.ms/workCenterProcess
curl --request GET \
  --url 'https://rest.carbon.ms/workCenterProcess?select=*&limit=10' \
  --header 'Authorization: Bearer <api-key>'
Response
[
  {
    "workCenterId": "xyz789",
    "processId": "xyz789",
    "companyId": "xyz789",
    "createdBy": "string",
    "createdAt": "2026-01-01T00:00:00Z",
    "updatedBy": "string",
    "updatedAt": "2026-01-01T00:00:00Z"
  }
]
GET/workCenterProcess

Retrieve a work center process

Fetch a single work center process by filtering on `workCenterId`.

Query parameters

workCenterIdstring

Match on the work center process's `workCenterId`, e.g. `eq.{id}`.

GEThttps://rest.carbon.ms/workCenterProcess
curl --request GET \
  --url 'https://rest.carbon.ms/workCenterProcess?workCenterId=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
Response
{
  "workCenterId": "xyz789",
  "processId": "xyz789",
  "companyId": "xyz789",
  "createdBy": "string",
  "createdAt": "2026-01-01T00:00:00Z",
  "updatedBy": "string",
  "updatedAt": "2026-01-01T00:00:00Z"
}
POST/workCenterProcess

Create a work center process

Create a new work center process.

Body parameters

companyIdstringrequired

References company.id

POSThttps://rest.carbon.ms/workCenterProcess
curl --request POST \
  --url https://rest.carbon.ms/workCenterProcess \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"companyId":"xyz789"}'
Response
{
  "workCenterId": "xyz789",
  "processId": "xyz789",
  "companyId": "xyz789",
  "createdBy": "string",
  "createdAt": "2026-01-01T00:00:00Z",
  "updatedBy": "string",
  "updatedAt": "2026-01-01T00:00:00Z"
}
PATCH/workCenterProcess

Update a work center process

Update an existing work center process, matched on `workCenterId`.

Body parameters

companyIdstringrequired

References company.id

PATCHhttps://rest.carbon.ms/workCenterProcess
curl --request PATCH \
  --url 'https://rest.carbon.ms/workCenterProcess?workCenterId=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"companyId":"xyz789"}'
Response
{
  "workCenterId": "xyz789",
  "processId": "xyz789",
  "companyId": "xyz789",
  "createdBy": "string",
  "createdAt": "2026-01-01T00:00:00Z",
  "updatedBy": "string",
  "updatedAt": "2026-01-01T00:00:00Z"
}
DELETE/workCenterProcess

Delete a work center process

Delete a work center process, matched on `workCenterId`. Returns 204 No Content.

Query parameters

workCenterIdstring

The `workCenterId` of the work center process to delete, e.g. `eq.{id}`.

DELETEhttps://rest.carbon.ms/workCenterProcess
curl --request DELETE \
  --url 'https://rest.carbon.ms/workCenterProcess?workCenterId=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
204 No Content