A Supported JSON Structures for Generic Event Information

The Generic Event Information section of the API allows you to add generic evented data to any event. The entries in these samples are only for reference purposes.

Note:

This section applies only to the following API Services:
  • Create Event
  • Create Event and Promote to Case
  • Create Event and Extend to Existing Case

Simple JSON with Simple Objects (One Level)

{
"Customer Details": {
"Victim Name": "John Doe",
"Victim SSN": "123-12-1234",
"Phone Number": "123-123-1234"
},
"Enterprise Customer Complaint": {
"Was a complaint filed through the
Enterprise Customer Complaint?": "Yes"
},
"Incident Details": {
"Incident Type": "Structuring",
"Account Type": "Consumer",
"Market": "Southwest Pennsylvania"
}
}

Figure A-1 Simple JSON with simple Objects (One Level)

Search event page showing the simple JSON example.

Figure A-2 Simple JSON with simple Objects (One Level) Event Page

Event details page showing the simple JSON example.

Simple JSON with One Level of Array Object

{
"Customer Details": {
"Victim Name": "Ajay Devgan",
"Victim SSN": "123-12-1234",
"Phone Number": "123-123-1234",
"Address List": [{
"Address Type": "Office",
"Street": "MG Road",
"City": "Bangalore"
},
{
"Address Type": "Home",
"Street": "Victoria Road",
"City": "Mumbai"
},
{
"Address Type": "Branch",
"Street": "Wuhan Province",
"City": "Beijing"
}
]
},
"Enterprise Customer Complaint": {
"Was a complaint filed through the Enterprise Customer Complaint?":
"Yes"
},
"Incident Details": {
"Incident Type": "Structuring",
"Account Type": "Consumer",
"Market": "Southwest Mumbai"
}
}

Figure A-3 Simple JSON with one level of Array Object

Simple JSON with one level of array object.

Simple Object with Two levels of Array and Second Array being Simple String of Values

{
"Car Ownership Details": {
"Name": "John",
"Age": 30,
"Cars": [{
"Name": "Ford",
"Models": ["Fiesta", "Focus", "Mustang"]
},
{
"Name": "BMW",
"Models": ["320", "X3", "X5"]
},
{
"Name": "Fiat",
"Models": ["500", "Panda"]
}
]
}
}

Figure A-4 Simple Object with Two levels of Array and Second Array being simple String of Values

Simple object with two levels of array and second array being simple string values.

Simple Object with Two levels of Array and Second Array also Consisting of Key Values

{
"Car Branch Details": {
"Name": "INVENTORY1",
"Year": 2020,
"Cars": [{
"Name": "Ford",
"Branches": [{
"Name": "BLR",
"City": "Bangalore"
}, {
"Name": "MLR",
"City": "Mangalore"
}]
},
{
"Name": "Hyundai",
"Branches": [{
"Name": "DEL",
"City": "Delhi"
}, {
"Name": "RJK",
"City": "Rajkot"
}]
}
]
}
}

Figure A-5 Simple Object with Two levels of Array and Second Array also consisting of Key Values

Car ownership details example displayed in the application.

Array JSON Object with Two Levels of Array and Second Array also Consisting of Key Values

{
"Bank Details": [{
"Name": "HDFC",
"Year": 1988,
"Departments": [{
"Name": "Credit",
"Employees": [{
"Name": "Virat",
"City": "Bangalore"
}, {
"Name": "Smith",
"City": "Jaipur"
}]
},
{
"Name": "Debit",
"Employees": [{
"Name": "Ricky",
"City": "Bangalore"
}, {
"Name": "Sanath",
"City": "Kandy"
}]
}
]
},
{
"Name": "ICICI",
"Year": 1992,
"Departments": [{
"Name": "Credit",
"Employees": [{
"Name": "Sachin",
"City": "Mumbai"
}, {
"Name": "Kapil",
"City": "Delhi"
}]
},
{
"Name": "Debit",
"Employees": [{
"Name": "Steve",
"City": "Sydney"
}, {
"Name": "Marvan",
"City": "Colombo"
}]
}
]
}
]
}

Figure A-6 Array JSON Object with Two Levels of Array and Second Array also Consisting of Key Values

Car branch details example displayed in the application.

Simple Object and Inside Simple Array of Strings

{
"Company Details": {
"Name": "Oracle",
"Branches": ["Mumbai", "Pune", "Bangalore"]
}
}

Figure A-7 Simple Object and Inside Simple Array of Strings

Bank details example showing nested array structures.

Array JSON Object with Two Levels of Array and Second Array Consisting of Simple Int Values

Also, Simple Array of Strings (For Example : Purposes)

{
"Customer Details": [{
"Name": "Jackson",
"Jurisdiction": ["Mumbai", "Pune", "Bangalore"],
"Departments": [{
"Name": "Credit",
"TransactionIds": [11, 12, 13]
},
{
"Name": "Debit",
"TransactionIds": [14, 15, 17]
}
]
},
{
"Name": "Dwayne",
"Jurisdiction": ["California", "Pune", "Delhi"],
"Departments": [{
"Name": "Credit",
"TransactionIds": [11.245, 12.345, 13]
},
{
"Name": "Debit",
"TransactionIds": [14, 15, 17]
}
]
}
],
"Purposes": ["Rental", "Shopping", "Travel"]
}

Figure A-8 Array JSON Object with two levels of Array and Second Array consisting of Simple Int Values

Company details example with a simple array of strings.

More than one Generic Entity Under Same Event

Figure A-9 More than one Generic Entity Under Same Event

Customer details example with transaction IDs and purposes.

Multiple Events selected on UI

Figure A-10 Multiple Events Selected on UI

Event showing more than one generic entity under the same event.

JSON with Two Levels of Simple Object with One Level of Array Object

{
"Car Ownership Details": {
"Name": "John",
"Age": 30,
"Cars": [{
"Name": "Ford",
"Model": "Fiesta"
}
]
}
}
}
}
]
}

Figure A-11 JSON with Two Levels of Simple Object with One Level of Array Object

UI showing multiple events selected.

JSON with Two Levels of Simple Object with Two Levels of Array Object with Second Array Consisting of Simple Int Values

{
"Customer Details": [{
"Name": "Jackson",
"Jurisdiction": ["Mumbai", "Pune", "Bangalore"],
"Departments": [{
"Name": "Credit",
"TransactionIds": [11, 12, 13]
},
{
"Name": "Debit",
"TransactionIds": [14, 15, 17]
}
]
},
{
"Name": "Dwayne",
"Jurisdiction": ["California", "Pune", "Delhi"],
"Departments": [{
"Name": "Credit",
"TransactionIds": [11.245, 12.345, 13]
},
{
"Name": "Debit",
"TransactionIds": [14, 15, 17]
}
]
}
],
"Purposes": ["Rental", "Shopping", "Travel"]
}
}
}
]
}

Figure A-12 JSON with Two Levels of Simple Object with Two Levels of Array Object with Second Array Consisting of Simple Int Values



Figure A-13 JSON with Two Levels of Simple Object with Two Levels of Array Object with Second Array Consisting of Simple Int Values

Car ownership details example with a single array object.