C Sample JSONs
This appendix provides sample JSON files for the Create Event, Save Event and Promote to Case, and Save Event and Extend to Case API services.
Create Event
JSON example for the Create Event API:
{
"events":[
{
"eventCode":"POSTARJ1",
"eventScore":"",
"dataOrigin":"DLY",
"jurisdictionCode":"AMEA",
"businessDomain":"c",
"type":"AML",
"priority":"",
"scenarioClass":"AML",
"comments":"",
"entities":[
{ "entityCode":"CUHRTHRCPHH-002",
"entityType":"CUSTOMER", "entityTypeCode":"ECM_CUSTOMER",
"entityName":"ANDREW ELEVENTH", "jurisdiction" :"AMEA",
"focusFlag":"Y", "custId":"CUHRTHRCPHH-002" }
],
"details":[
{ "reason":"ffjfjgghgkkkkhhhk",
"scenarioName":"User Defined Event" }
]
}
],
"entities":[
{ "entityCode":"CUHRTHRCPHH-002", "entityType":"CUSTOMER",
"entityTypeCode":"ECM_CUSTOMER", "entityName":"ANDREW ELEVENTH",
"jurisdiction" :"AMEA", "custId":"CUHRTHRCPHH-002",
"dataOrigin":"DLY", "customerName":"ANDREW ELEVENTH",
"customerType":"IND", "taxID":"TAXHRTHRCPHH-002",
"legalStructCode":"GOV", "aliasName":"", "incomeRange":"",
"industry":"US", "publicCompany":"",
"estNetWorth":"1182552", "atmDailyLimit":null,
"estAnualIncome":"168936", "added":"31-12-2014 00:00:00",
"incorporationDate":"", "customerstatus": "A",
"effectiverisk": "2", "busdomain": "a" }
,
{
"entityType":"CUSTOMER",
"custId":"CUHRTHRCPHH-002",
"entityTypeCode":"ECM_CUSTOMER_GENERIC",
"dataOrigin":"DLY",
"genericInformation": {
"Customer Details":
{ "Victim Name": "Rahul Dravid",
"Victim SSN": "123-12-1234", "Phone Number":
"123-123-1234" }
,
"Enterprise Customer Complaint":
{ "Was a complaint filed": "No"
}
,
"Incident Details":
{ "Incident Type": "Fradulent Transaction",
"Account Type": "Consumer", "Market":
"Southwest Mumbai" }
}
}
]
}
Save Event and Promote to Case
JSON example for Save Event and Promote to Case API.
{
"events":[
{
"eventCode":"POSTARJ1",
"eventScore":"",
"dataOrigin":"DLY",
"jurisdictionCode":"AMEA",
"businessDomain":"c",
"type":"AML",
"priority":"",
"scenarioClass":"AML",
"comments":"",
"entities":[
{ "entityCode":"CUHRTHRCPHH-002",
"entityType":"CUSTOMER", "entityTypeCode":"ECM_CUSTOMER",
"entityName":"ANDREW ELEVENTH", "jurisdiction" :"AMEA",
"focusFlag":"Y", "custId":"CUHRTHRCPHH-002" }
],
"details":[
{ "reason":"ffjfjgghgkkkkhhhk",
"scenarioName":"User Defined Event" }
]
}
],
"entities":[
{ "entityCode":"CUHRTHRCPHH-002", "entityType":"CUSTOMER",
"entityTypeCode":"ECM_CUSTOMER", "entityName":"ANDREW ELEVENTH",
"jurisdiction" :"AMEA", "custId":"CUHRTHRCPHH-002",
"dataOrigin":"DLY", "customerName":"ANDREW ELEVENTH",
"customerType":"IND", "taxID":"TAXHRTHRCPHH-002",
"legalStructCode":"GOV", "aliasName":"", "incomeRange":"",
"industry":"US", "publicCompany":"",
"estNetWorth":"1182552", "atmDailyLimit":null,
"estAnualIncome":"168936", "added":"31-12-2014 00:00:00",
"incorporationDate":"", "customerstatus": "A",
"effectiverisk": "2", "busdomain": "a" }
,
{
"entityType":"CUSTOMER",
"custId":"CUHRTHRCPHH-002",
"entityTypeCode":"ECM_CUSTOMER_GENERIC",
"dataOrigin":"DLY",
"genericInformation": {
"Customer Details":
{ "Victim Name": "Rahul Dravid",
"Victim SSN": "123-12-1234", "Phone Number":
"123-123-1234" }
,
"Enterprise Customer Complaint":
{ "Was a complaint filed": "No"
}
,
"Incident Details":
{ "Incident Type": "Fradulent Transaction",
"Account Type": "Consumer", "Market":
"Southwest Mumbai" }
}
}
]
}
Save Event and Extend to Case
JSON example for Save Event and Extend to Case API.
{
"caseID":"CA340",
"events":[
{
"eventCode":"POSTARJ11",
"eventScore":"",
"dataOrigin":"DLY",
"jurisdictionCode":"AMEA",
"businessDomain":"c",
"type":"AML",
"priority":"",
"scenarioClass":"AML",
"comments":"",
"entities":[
{ "entityCode":"CUHRTHRCPHH-002",
"entityType":"CUSTOMER", "entityTypeCode":"ECM_CUSTOMER",
"entityName":"ANDREW ELEVENTH", "jurisdiction" :"AMEA",
"focusFlag":"Y", "custId":"CUHRTHRCPHH-002" }
],
"details":[
{ "reason":"ffjfjgghgkkkkhhhk",
"scenarioName":"User Defined Event" }
]
}
],
"entities":[
{ "entityCode":"CUHRTHRCPHH-002", "entityType":"CUSTOMER",
"entityTypeCode":"ECM_CUSTOMER", "entityName":"ANDREW ELEVENTH",
"jurisdiction" :"AMEA", "custId":"CUHRTHRCPHH-002",
"dataOrigin":"DLY", "customerName":"ANDREW ELEVENTH",
"customerType":"IND", "taxID":"TAXHRTHRCPHH-002",
"legalStructCode":"GOV", "aliasName":"", "incomeRange":"",
"industry":"US", "publicCompany":"",
"estNetWorth":"1182552", "atmDailyLimit":null,
"estAnualIncome":"168936", "added":"31-12-2014 00:00:00",
"incorporationDate":"", "customerstatus": "A",
"effectiverisk": "2", "busdomain": "a" }
,
{
"entityType":"CUSTOMER",
"custId":"CUHRTHRCPHH-002",
"entityTypeCode":"ECM_CUSTOMER_GENERIC",
"dataOrigin":"DLY",
"genericInformation": {
"Customer Details":
{ "Victim Name": "Rahul Dravid",
"Victim SSN": "123-12-1234", "Phone Number":
"123-123-1234" }
,
"Enterprise Customer Complaint":
{ "Was a complaint filed": "No"
}
,
"Incident Details":
{ "Incident Type": "Fradulent Transaction",
"Account Type": "Consumer", "Market":
"Southwest Mumbai" }
}
}
]
}