dRofus icon

dRofus

dRofus API: rooms, items, occurrences, room groups, room templates, systems, and RDL PDF reporting

Occurrence → Update Status

AI-generated

Summary

Updates an occurrence’s status by sending either the target status row’s numeric ID or its textual code. Identify the occurrence and status type, then choose which status reference to provide.

Inputs

  • Occurrence ID (required) — Positive numeric ID of the occurrence to update.
  • Status Type ID (required) — Positive numeric ID of the status type to update.
  • Status Reference Mode (required) — Choose By ID or By Code; exactly one target status reference is sent.
  • Status ID (required) — Positive numeric ID of the target status row; shown when Status Reference Mode is By ID and sent as status_id.
  • Code (required) — Textual code of the target status row; shown when Status Reference Mode is By Code and sent as code.

Output shape

A single API response item.

The source pack lists the operation implementation but omits its function body, so the exact response fields and any additional runtime behavior cannot be determined from the provided source.

Links

Discussion