Get the details of a rule
1 min
GET
https://provisioning.rs.int.{environment}.korfinancial.com/rules/{ruleId}
Path Parameters
- ruleIdstring<uuid>requiredExampleDescription
Query Parameters
- entityIdstring<uuid>ExampleDescription
Responses
200
- RuleDescription
- identifierstring<uuid>ExampleDescription
- targetKDMFieldNamestringExampleDescription
- kdmFieldTypestringExampleDescription
- namestringExampleDescription
- notestringExampleDescription
- ruleSetsstring[]Description
- 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
- createdTimestampstring<date-time>ExampleDescription
- lastModifiedTimestampstring<date-time>ExampleDescription
- deletedTimestampstring<date-time>ExampleDescription
- permissionsPermissionsDescription
- canEditbooleanExampleDescription
- canDeletebooleanExampleDescription
- versionstringExampleDescription
- statusRuleStatusExampleDescription
- functionalVersionstringExampleDescription
400
401
403
404
405
406
415
500
504
default
curl
curl --request GET \
--url https://provisioning.rs.int.{environment}.korfinancial.com/rules/{ruleId} \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://provisioning.rs.int.{environment}.korfinancial.com/rules/{ruleId}", 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/rules/{ruleId}")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.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/rules/{ruleId}"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// Rules page retrieved
{
"identifier": "EE740BB0-F854-4054-B5DB-0EAA6B3F6DBB",
"targetKDMFieldName": "assetClass",
"kdmFieldType": "HUB",
"name": "My assetClass rule",
"note": "Lorem ipsum",
"ruleSets": [
""
],
"functions": [
{
"argumentReferenceIdentifier": "EE740BB0-F854-4054-B5DB-0EAA6B3F6DBB",
"category": "HUB",
"tag": "[\"sourceField\",\"upperCase\",\"mandate\"]",
"functionMetadata": "{\"id\":\"5c7bf808ac0c507e\",\"value\":{\"x\":-105.2109375,\"y\":-84.43359375}}",
"arguments": [
{
"type": "STRING",
"name": "[\"function\",\"argument0\",\"actionType\"]",
"value": {}
}
]
}
],
"ruleMetadata": "",
"createdTimestamp": "2020-05-28T14:07:17Z",
"lastModifiedTimestamp": "2020-05-28T14:07:17Z",
"deletedTimestamp": "2020-05-28T14:07:17Z",
"permissions": {
"canEdit": true,
"canDelete": true
},
"version": "3",
"status": "ACTIVE",
"functionalVersion": "d41d8cd98f003204a9800998ecf8427e"
}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