Searching:
0 results foundRules/Patch or Rules/Put
– OR –
Description
To update an existing Axonize Rule.
See the following for request and response details ‒
See Also
Request ‒ Rules/Patch or Put
In the request, specify the ID of the Rule whose definition to change and the name of the property(s) to change. These properties are described in Rules/Post.
Property | Type | Description | Mandatory |
id | String | This is the unique identifier automatically assigned by Axonize when a Rule is created. This id is returned in the response of the Rules/Post. | Y |
Example JSON Rules/Patch Request
The following is an example of changing a Rule’s name to test.
curl -X PATCH \
https://api.stg.axonize.com/odata/rules/5b547a4e19ec0c05707d1220\
-H ‘Authorization: Token’ \
-H ‘Content-Type: application/json’ \
-H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B22771E’ \
-d ‘{
“name”:”test”
}
‘
Response ‒ Rules/Patch or Put
Property | Type | Description |
createDate, createUser, updateDate, updateUser | See Common Response Properties. |
Example JSON Rules/Patch/Put Response
Status 204 – No Content