PortableWorkOrders

Portable work-order document. Anchors are business keys, so the payload re-resolves in any workspace that holds the same tables.

  • kind
    enum
    const:  
    cw-work-orders
    required
    values
    • cw-work-orders
  • version
    Type: number
    required
  • workOrders
    Type: array · PortableWorkOrder[]
    required
    • Where a work order is, expressed as the caller's own business keys — never Treedis row ids.

      • asset
        Type: string nullable

        The asset row's primary-key value — the thing being worked on.

      • assetKey
        Type: string nullable

        The asset table slug the asset value lives in. Required when asset is sent.

      • assignee
        Type: string nullable
      • customFieldValues
        Type: object nullable
      • department
        Type: string nullable

        The department's title (its human name).

      • dueDate
        Type: string nullable
      • externalId
        Type: string
      • location
        Type: string nullable

        The location row's primary-key value (e.g. its functional-location code).

      • priority
        Type: string nullable
      • provider
        Type: string
      • reporter
        Type: string nullable
      • scheduledDate
        Type: string nullable
      • status
        Type: string nullable
      • title
        Type: string nullable