RS Provisioner API
Relationships
Get the details of a relationship
1 min
code examples curl location globoff 'https //provisioning rs int {environment} korfinancial com/relationships/{relationshipidentifier}' \\ \ header 'accept application/json' \\ \ header 'content type application/json'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/relationships/{relationshipidentifier}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //provisioning rs int {environment} korfinancial com/relationships/{relationshipidentifier}") 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 import requests import json url = "https //provisioning rs int {environment} korfinancial com/relationships/{relationshipidentifier}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // relationship retrieved { "identifier" "ee740bb0 f854 4054 b5db 0eaa6b3f6dbb", "lastmodifiedtimestamp" "2020 05 28t14 07 17z", "createdtimestamp" "2020 05 28t14 07 17z", "warnings" \[ { "fieldname" "", "description" "", "reason" "", "category" "", "tag" "", "argumentname" "", "argumentvalue" "" } ], "failurereason" "", "clientpayload" "", "clientpayloadcontenttype" "", "supplementaldata" \[ "" ], "status" "", "warningcount" 2, "kdmrulereferences" \[ { "identifier" "542a4166 24ed 4496 9ffc b64bd2b207a1", "kdmfieldname" "myentityidentifier", "version" 1 } ], "relationshipkdm" { "status" "", "interaffiliate" false, "myentityinternalidentifier" "27id", "otherentityinternalidentifier" "27id", "uticreator" \[ { "effectivedate" "2020 01 01", "value" "" } ], "myentitycftcprivacylawidentifier" "", "cftcreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "secsbrreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emireumyreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emireuotherreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emirukmyreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emirukotherreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "careportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "asicmyreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "asicotherreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "masmyreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "masotherreportingentity" \[ { "effectivedate" "2020 01 01", "value" "" } ], "otherentitycftcprivacylawidentifier" "", "masteragreementtype" \[ { "effectivedate" "2020 01 01", "value" "" } ], "othermasteragreementtype" \[ { "effectivedate" "2020 01 01", "value" "" } ], "masteragreementversion" \[ { "effectivedate" "2020 01 01", "value" "" } ], "collateralisationcategory" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emirukmyentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emirukotherentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emirukmyentitytransactionlisteddroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emirukotherentitytransactionlisteddroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "secsbrmyentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "secsbrotherentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "camyentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "caotherentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "secsbrmyentitypublicdroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "secsbrotherentitypublicdroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "camyentitypublicdroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "caotherentitypublicdroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "cftcmyentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "cftcotherentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "cftcmyentitypublicdroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "cftcotherentitypublicdroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emireumyentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "asicotherentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emireumyentitytransactionlisteddroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emireuotherentitytransactionlisteddroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "acerremitmyentitydroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "acerremitotherentitydroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "asicmyentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "emireuotherentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "masmyentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "masotherentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "hkmamyentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "hkmaotherentitytransactiondroitfulfilledobligations" \[ { "effectivedate" "2020 01 01", "value" "" } ], "droitpartyrole" "both" }, "permissions" { "canedit" true, "candelete" true } }// bad request // unauthorized // forbidden // not found // method not allowed // not acceptable // unsupported media type // internal server error // gateway timeout // internal server error
