I am looking for a way to pass key-value in salesforce rest API payload for inserting a record. By using below rest API.
And access those key-value pairs in before triggers to calculate values for actual fields of the Account object.
My scenario 3rd party application inserts a record in salesforce using Salesforce REST API. The payload has the name of the group it belongs, but Account has lookup(Group), Id has to be assigned not name. So how do I find group Id in before triggers and assign to account before saving?
I don't want to write a custom REST API class.
Any suggestions appreciated.