Skip to main content

Hello,

We’re setting up API calls and continue to get an error when setting up the parameter for ‘SupplyCode’.

Searching the API doc viewer, the value we’re trying to choose is ‘InventOrder’. Below are the results:

 

API Doc Viewer information
Postman Values
Postman Get Result

 

Any help in resolving the return value is appreciated.

 

Thanks,

Jeff

Can you place a literal value directly in the JSON? I am not familiar with how Postman populates the variables in the curly braces, nor where those are defined. Can you see the actual JSON that is getting passed to IFS and verify it is the value you expect (using something like Fiddler to look at network traffic)? Maybe some sort of delimiter or capitalization issue?

 

Thanks,

Joe Kaufman


@jeff.nattermann can you try providing IfsApp.CustomerOrderHandling.OrderSupplyType'InventOrder' as the value for the parameter in Postman?

When providing enumeration values as query string parameters they need to be fully qualified like so:

IfsApp.<ProjectionName>.<EnumerationName>’<EnumValue>’

 

 


That was it! We got a similar answer on another API call. I tried it, but only did supplytype, not ordersupplytype. 

Thank you for the resolution! It works!


Reply