Hi,
I would like to know what to send in request for lookup field for inserting an entity to Microsoft CRM.
If I post a request to http://<server url>/api/data/v9.1/new_my_activities
with body
{"new_id":"abc-def","new_my_opportunityID@odata.bind":"/opportunities(2b685c81-4f1c-e511-80d3-3863bb347ba8)"}
Here new_my_opportunityID is my schema name for lookup entity, what I would like to confirm is do we use schema name, logical name or Navigation property name here?
SchemaName worked for me but some where it was suggested to use navigation property?
Could someone please confirm which name is used in rest request for lookup field?