Send a third-party API request when Case is created

寵の児 提交于 2019-12-13 05:54:51

问题


I know in the "Settings > API Integration" I can add a URL that will receive a POST when a Case (Customer Inquiry) is created, however the contents of that POST only contains two IDs e.g. ObjectID=1234567&ObjectType=2001

Is there a way that I can send a custom POST to some URL with the actual form data? E.g. if I wanted to send the person who submitted the form a text message via a third-party SMS API


回答1:


No; you'll need to respond to that POST with one that extracts the data you need from BC, then transform & forward that data to the SMS service.

This implies that you'll have a third server to handle those intermediary steps.


http://docs.businesscatalyst.com/reference/soap-apis-legacy/crm/case_retrieve.html




回答2:


Another approach to do this is to write some ajax post function to post form data to the desired URL before submission.



来源:https://stackoverflow.com/questions/37821583/send-a-third-party-api-request-when-case-is-created

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!