Skip to content

Invoking a state-change action (like completing a step) on an OData entity via REST fails with a mandatory-field error (e.g. 'QTY_ASSIGNED is mandatory'), even though the action doesn't logically need extra data to be passed. What body should the POST request actually send?

Answer

State-change actions in IFS's OData APIs typically don't require (or accept) any additional payload — send an empty JSON object ({}) as the POST body rather than trying to construct a payload with the entity's other fields. If you're unsure what a specific action actually expects, trigger the equivalent action interactively in the Aurena client with the Debug Console open — it shows you the exact request the client itself sends for that action, which is the most reliable way to confirm the correct payload shape.

← Browse Integrations and APIs questions