Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Associate entities with web api using alternative keys

$
0
0

Is it possible to Associate entities with web api using alternative keys?

Something like:

POST [Organization URI]/api/data/v8.1/accounts HTTP/1.1
Content-Type: application/json; charset=utf-8
OData-MaxVersion: 4.0
OData-Version: 4.0
Accept: application/json

{
"name":"Sample Account",
"primarycontactid@odata.bind":"/contacts(ALTERNATIVE_KEY)"
}

Viewing all articles
Browse latest Browse all 46379

Trending Articles