Create an entity
1 min
POST
https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/entities
Path Parameters
- entityIdentifierstring<uuid>requiredExampleDescription
Body Parameters
- bodyCreateEntityDescription
- entityKdmEntityKdmDetailrequiredDescription
- statusstringrequiredDescription
- shortNamestringExampleDescription
- legalNamestringExampleDescription
- ASICSmallScaleBuySideIndicatorbooleanExampleDescription
- CADesignationobject[]Description
- effectiveDatestring<date>Example
- valuestringExample
- CALocalCounterpartystring[]Example
[ "AB", "BC" ]
Description - CFTCClearingExceptionsAndExemptionsstring[]Example
[ "NOAL", "SMBK" ]
Description - CFTCConduitAffiliateUSPersonbooleanExampleDescription
- CFTCDesignationobject[]Description
- effectiveDatestring<date>Example
- valuestringExample
- CFTCFederalEntityIndicatorbooleanExampleDescription
- CFTCFinancialEntityIndicatorbooleanExampleDescription
- CFTCGuaranteedAffiliateUSPersonbooleanExampleDescription
- CFTCInternationalFinancialInstitutionIndicatorbooleanExampleDescription
- CFTCLimitedPurposeDesignationstringExampleDescription
- CFTCSmallLocalPresenceIndicatorbooleanExampleDescription
- CFTCUSPersonbooleanExampleDescription
- countrystringExampleDescription
- droitEnergyOperatorIndicatorbooleanExampleDescription
- droitEstablishedInstring[]Example
[ "US" ]
Description - droitForeignBranchUSPersonIndicatorbooleanExampleDescription
- droitUltimateParentEntityTypestringExampleDescription
- entityTypestringExampleDescription
- ESMABISIndicatorbooleanExampleDescription
- ESMACentralBankOrPublicDebtManagerIndicatorbooleanExampleDescription
- ESMACorporateSectorobject[]Description
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AIFD", "B", "C", "CDTI", "CSDS" ]
- ESMAEquivalentReportingIndicatorbooleanExampleDescription
- ESMAExceedsClearingThresholdobject[]Description
- effectiveDatestring<date>Example
- valuestring[]Example
[ "CRDT" ]
- ESMAExemptedForeignCentralBankIndicatorbooleanExampleDescription
- ESMANatureOfCounterpartystringExampleDescription
- ESMAParentFinancialCounterpartyIndicatorbooleanExampleDescription
- ESMAReportingObligationbooleanExampleDescription
- ESMAThirdCountryIndicatorbooleanExampleDescription
- internalIdentifierstringrequiredExampleDescription
- NPIDobject[]Description
- effectiveDatestring<date>Example
- valuestringExample
- LEIDobject[]Description
- effectiveDatestring<date>Example
- valuestringExample
- MICobject[]Description
- effectiveDatestring<date>Example
- valuestringExample
- interAffiliateobject[]Description
- effectiveDatestring<date>Example
- valuebooleanExample
- CFTCReportingEntityReportingEntityDescription
- CAAffiliateOfCADealerobject[]
- effectiveDatestring<date>Example
- valuebooleanExample
- CACanadianAffiliatedPersonLocalitiesobject[]
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AB", "ON" ]
- CACanadianPersonLocalitiesobject[]
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AB", "ON" ]
- CACanadianSpecialEntityboolean
- CAClearingExemptionobject[]
- effectiveDatestring<date>Example
- valuestring[]
- CADeemedDealerLocalitiesobject[]
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AB", "ON" ]
- CAISDACanadaReportingAgreementIndicatorobject[]
- effectiveDatestring<date>Example
- valuebooleanExample
- droitCACanadianCommoditiesCommercialIntentobject[]
- effectiveDatestring<date>Example
- valuebooleanExample
- CAProvinceOrTerritoryobject[]
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AB", "ON" ]
- CARegisteredDealerLocalitiesobject[]
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AB", "ON" ]
- CAReportingObligationobject[]
- effectiveDatestring<date>Example
- valuebooleanExample
- droitNegAffAgreementProviderobject[]Description
- effectiveDatestring<date>Example
- valuestringExample
- droitPartyRolestringExampleDescription
- individualIndicatorbooleanDescription
- masterAgreementTypeobject[]Description
- effectiveDatestring<date>Example
- valuemap<string, string>
- masterAgreementVersionobject[]Description
- effectiveDatestring<date>Example
- valuemap<string, string>
- CAQualifiedReportingCounterpartyIndicatorboolean
- smallCommodityNotionalIndicatorboolean
- CAClearingAgencyAffiliateLocalitiesobject[]
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AB", "ON" ]
- CAClearingAgencyLocalitiesobject[]
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AB", "ON" ]
- CAIndividualLocalitiesobject[]
- effectiveDatestring<date>Example
- valuestring[]Example
[ "AB", "ON" ]
- CAFinancialEntityIndicatorboolean
- CAFinancialInstitutionIndicatorboolean
- CAInvestmentFundIndicatorboolean
- CAListedForeignBankIndicatorboolean
Responses
202
- object
- identifierstring<uuid>Example
400
401
403
404
405
406
415
500
504
default
curl
curl --request POST \
--url https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/entities \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"entityKdm": {
"status": "",
"internalIdentifier": "27ID"
}
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"entityKdm": {
"status": "",
"internalIdentifier": "27ID"
}
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/entities", 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}/entities")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request.body = JSON.dump({
"entityKdm": {
"status": "",
"internalIdentifier": "27ID"
}
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://provisioning.rs.int.{environment}.korfinancial.com/clients/{entityIdentifier}/entities"
payload = json.dumps({
"entityKdm": {
"status": "",
"internalIdentifier": "27ID"
}
})
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
202
// Entity has been accepted
{
"identifier": "EE740BB0-F854-4054-B5DB-0EAA6B3F6DBB"
}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