Choice field value in POST API Call

I have a Post request that will post data from a form to a list. All fields post correctly except for a Choice field. It posts the literal name of the field.

So I have this line in my API Call : “<listfieldid”:“objectdatafield”

The objectdatafield is a Choice field. What is being posted back to the list is the literal field name i.e. objectdatafield. I want the choice value that is in this field.

How/where do I configure this?

Thank you.

You need to insert field placeholders into the payload.

When editing the payload you can select fields from the right hand panel, and either drag them in, or double click them to insert them where your cursor is.

They appear as grey boxes in your payload, as shown below…

1 Like

Thank you Bob!

This worked - I also had to set the Preprocessor to “To Choice Text”