Skip to content

Calling a REST API with a parameter that expects an enumeration value (like SupplyCode set to 'InventOrder', as shown in API Doc Viewer) fails when the bare value is passed directly as a query-string parameter in Postman.

Answer

Enumeration values passed as query-string parameters need to be fully qualified, not passed as the bare value — the format is IfsApp.<ProjectionName>.<EnumerationName>'<EnumValue>', for example IfsApp.CustomerOrderHandling.OrderSupplyType'InventOrder'. Passing just 'InventOrder' on its own isn't enough; the API needs the fully qualified enumeration type name prefixed onto the value for it to resolve correctly.

← Browse Integrations and APIs questions