I have created a PCF application and using the Xrm WebAPI library to perform CRUD operations and associations as shown here https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/execute
In one of the operations, I am checking if a record exists. If not, it is created, else updated. I am using two calls for this, and was wondering if there is an easier way to perform a single upsert.