Filemaker PUSH API examples?

Hello,

I’m trying to use Filemaker to retrieve and update pieces of our contact record. Using cURL, I can pretty easily get whatever I need from the contact record at the moment. Now, I need to find specific examples showing me clearly how to use Filemaker to send a command back to the hubspot database to update a property field. In this example, I want to set ‘enrollment_stage’ to ‘applicant’.

curl --request PATCH \
--url ‘https://api.hubapi.com/crm/v3/objects/contacts{contactId}?hapikey=YOUR_HUBSPOT_API_KEY’ \
--header ‘content-type: application/json’ \
--data ‘{
“properties”: {
“enrollment_stage”: “Applicant”
}
}’

How do you get Filemaker to send that?

This should be straight forward. Use the Insert from URL script step to capture the result in a field or in a variable. The script step has a default field for the URL. All the other parameters can be provided using the calculation dialog box.

You can follow the documentation here: https://help.claris.com/en/pro-help/#page/FMP_Help%2Fcurl-options.html.

If you have any questions, let me know.