When the POST to create the intersect entity record is initiated, the script fails.
An undeclared property 'aaa_opportunityproduct' which only has property annotations in the payload but no property value was found in the payload.
The payload that the solution tried to post was
{"aaa_opportunityproduct@odata.bind":"/aaa_opportunityproducts(0561b2d3-51ce-ec11-a7b5-0022489d246a)","aaa_country@odata.bind":"/aaa_countries(625b02d9-92fc-e911-a813-000d3ab5549a)"}
The payload that is needed is (tried in Postman):
{"aaa_OpportunityProduct@odata.bind":"/aaa_opportunityproducts(0561b2d3-51ce-ec11-a7b5-0022489d246a)","aaa_Country@odata.bind":"/aaa_countries(625b02d9-92fc-e911-a813-000d3ab5549a)"}
For lookups Microsoft requires that that attribute schema name is used before the @odata.bind, which can have case differences from the normal attribute name
When the POST to create the intersect entity record is initiated, the script fails.
An undeclared property 'aaa_opportunityproduct' which only has property annotations in the payload but no property value was found in the payload.
The payload that the solution tried to post was
{"aaa_opportunityproduct@odata.bind":"/aaa_opportunityproducts(0561b2d3-51ce-ec11-a7b5-0022489d246a)","aaa_country@odata.bind":"/aaa_countries(625b02d9-92fc-e911-a813-000d3ab5549a)"}
The payload that is needed is (tried in Postman):
{"aaa_OpportunityProduct@odata.bind":"/aaa_opportunityproducts(0561b2d3-51ce-ec11-a7b5-0022489d246a)","aaa_Country@odata.bind":"/aaa_countries(625b02d9-92fc-e911-a813-000d3ab5549a)"}
For lookups Microsoft requires that that attribute schema name is used before the @odata.bind, which can have case differences from the normal attribute name