Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

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

$
0
0

Topic by Steve Flynn

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.

How do I set this menu field?

Version

February 2017

Viewing all articles
Browse latest Browse all 2504

Trending Articles