PUT /events/{eventType}/rules
Updates rules associated with a specified event type.
Servers
- https://api-sandbox.rebilly.com/organizations/{organizationId}
- https://api.rebilly.com/organizations/{organizationId}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
_links[] |
Array | No |
Related links. |
_links[].href |
String | No |
Link URL. |
_links[].rel |
String | No |
Type of link. Valid values:
|
rules[] |
Array | Yes |
Rules can be configured to stop subsequent rules in the event list from being executed. A rule is a configuration of an event and one or more actions. |
updatedTime |
String | No |
Date and time when the resource is updated. This value is set automatically when the resource is updated. |
createdTime |
String | No |
Date and time when the resource is created. This value is set automatically when the resource is created. |
version |
Integer | No |
Version of the ruleset. |
binds[] |
Array | No |
Binds always execute, regardless of rule based events. A bind is a configuration of an event and one or more actions. |
binds[].id |
String | No |
ID of the rule. |
binds[].actions[] |
Array | Yes |
Actions that execute when an event occurs. |
binds[].actions[].name |
String | Yes |
Name of the action. Valid values:
|
binds[].actions[].status |
String | No |
Status of the action. Valid values:
Default value: "active" |
binds[].name |
String | Yes |
Name of the rule. |
binds[].labels[] |
Array | No |
Labels of the rule. |
binds[].filter |
String | No |
Criteria for filtering collection items.
This field requires a special format.
Use For more information, see Search filters. |
binds[].status |
String | No |
Status of the rule. Valid values:
Default value: "active" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.