Property | Type | Description | Mandatory |
---|---|---|---|
actions/webServiceProperties | Object | These are the actions properties to be filled out in order to trigger a web service. This feature enables you to link up to any system that has an HTTP endpoint. This feature can be used to integrate with your existing servers. This means that any internal process that you have in your organization can be looped in through a web service action. This action sends an HTTP call when a Rule is triggered, and then you can use your own logic in your own system to trigger any desired action. “WebServiceProperties”:{ “url” : “https://sprinkles.com/api/commands/sendCommand”, “method” : “POST”, “headers” : [ { “key” : “customerId”, “value” : “3423423db20422f29” } ], “body” : “{\”commandId\”:\”4\”}”, “contentType” : “application/json” } | |
actions/webServiceProperties/url | String | The URL to which to send the call. | |
actions/webServiceProperties/method | String | The method of the web service – POST, GET, DELETE, PUT or PATCH. | |
actions/webServiceProperties/headers | Array | An array of key/values that are sent as HTTP headers. The key becomes the header key and the value becomes the header value. | |
actions/webServiceProperties/body | String | The body of the HTTP call. | |
actions/webServiceProperties/contentType | String | The content type of the body of the HTTP call. For example, “application/json”. |