What I need is the following: after a phone call ends in my PBX, I want to execute an API link that will insert a piece of information into a custom module in a contact in Zoho. This API link should receive two pieces of information: a custom field value and a web link. The API should lookup the contact based on the custom field value and then save the included web link (a web link to the call recording) to a custom module (called confirmation recordings) located within the contact in zoho. If the custom module is not present the Zoho API should create it.
If a contact is found and the record is successfully saved, the api should return a success value (Int 1 ), if no contact was found, return a fail (Int 2), if there was an error in the process, return error (Int 3).