Hi,
First time attempting to push data to Dynamics 365 programmatically via the Web API. I need a little help with populating lookup fields.
If I have the GUID available this isn't an issue. The following POST creates a new lead with the Currency set to Euro.
{
"subject" : "newlead3",
"transactioncurrencyid@odata.bind" : "/transactioncurrencies(2817303a-a84c-e811-8102-3863bb341bf8)"
}
How can I achieve this if I don't have the GUID available, and my source data only contains the string value EUR? I imagine I need to lookup the isocurrencycode from the associated transactioncurrency entity and when a match is found return the GUID for the matched Record. Is this correct?
*This post is locked for comments