You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to insert a row into a custom object with a menu field using REST

Accepted answer
16
Views
1
Comments
edited May 15, 2017 2:57PM in Integrations and APIs 1 comment

Content

I'm trying to insert data into a custom object which I can do except for one field which is a menu field.

I get the following error:

Invalid type specified for property

I have tried sending it data like so:

{"TranID":"ABC12345","Status":"Ready","Type":2}

Type is the menu field

I have also tried:

{"TranID":"ABC12345","Status":"Ready","Type":{"ID":2}}

I have also tried:

{"TranID":"ABC12345","Status":"Ready","Type":{"id":2}}

For this one, I get a different error message:

A problem setting a property to reference a another object was encountered: Not Allowed: Cannot perform requested function or action.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!