Synchronize the rules
1 min
PUT
https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/rules/synchronizations
Path Parameters
- entityIdentifierstring<uuid>requiredExampleDescription
Body Parameters
- bodySynchronizeRulesRequestDescription
- rulesRuleSyncInfo[]Description
- identifierstring<uuid>ExampleDescription
- targetKDMFieldNamestringExampleDescription
- notestringExampleDescription
- ruleSetsRuleSetSyncInfo[]Description
- identifierstringExampleDescription
- namestringExampleDescription
- typestring
- approvalStrategystringDescription
- purposesRuleSetPurpose[]
- targetstringDescription
- mandatesstring[]
- namestringExampleDescription
- functionsFunction[]Description
- argumentReferenceIdentifierstringExampleDescription
- categorystringExampleDescription
- tagstringExample
[ "sourceField", "upperCase", "mandate" ]
Description - functionMetadatastringExample
{ "id": "5c7bf808ac0c507e", "value": { "x": -105.2109375, "y": -84.43359375 } }Description - argumentsFunctionArgument[]Description
- typestringExampleDescription
- namestringExample
[ "function", "argument0", "actionType" ]
Description - valueAnyValueDescription
- ruleMetadatastringDescription
- statusRuleStatusExampleDescription
- optionsSynchronizeRuleOptions
- setAsNewActiveVersionbooleanExampleDescription
- copyToRuleSetstring<uuid>ExampleDescription
Responses
202
- SynchronizeRulesResponseDescription
- rulesRuleSynchronizationResult[]Description
- ruleIdentifierstring<uuid>ExampleDescription
- commentstringExampleDescription
400
401
403
404
405
406
415
500
504
default
curl
curl --request PUT \
--url https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/rules/synchronizations \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'PUT',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/rules/synchronizations", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/rules/synchronizations")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Put.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/rules/synchronizations"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("PUT", url, headers=headers, data=payload)
print(response.text)
202
// The rules synchronization request has been accepted for processing.
{
"rules": [
{
"ruleIdentifier": "EE740BB0-F854-4054-B5DB-0EAA6B3F6DBB",
"comment": "Version updated from 1 to 2"
}
]
}400
// Bad Request
401
// Unauthorized
403
// Forbidden
404
// Not Found
405
// Method Not Allowed
406
// Not Acceptable
415
// Unsupported Media Type
500
// Internal Server Error
504
// Gateway Timeout
default
// Internal Server Error