Resco CRM Connector: Difference between revisions

Jump to navigation Jump to search
Line 632: Line 632:
<GenerateReportFormat>Excel</GenerateReportFormat>
<GenerateReportFormat>Excel</GenerateReportFormat>
</syntaxhighlight>
</syntaxhighlight>
== Webhooks ==
Resco Cloud REST API supports webhooks. A create, update, or delete operation on the server can trigger a callback to a URL of your choosing.
CreateWebhook: <code>/$hook?$entity={entity}&$action={action}</code>
* entity: entity name
* action: one of [Create | Update | Delete]
* POST BODY: <code><Url><CallbackUrl>URL to invoke</CallbackUrl></Url> </code>
* RESPONSE HEADER: Location: URL to delete webhook
The BODY of the request to the external URL is in JSON format: <code>'{ "id": "record id" }'</code>


== Sample C# project ==
== Sample C# project ==

Navigation menu