Compound Case Creation
Create your first Nuix compound case.
Create a Compound Case
Now that you are authenticated, lets create your first Nuix compound case.
curl --location --request POST 'http://localhost:8080/nuix-restful-service/svc/v1/cases' \
--header 'nuix-auth-token: 9729a460-eda7-48dc-ba70-d12b3aae3c8d' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
"name":"HelloCompoundCase",
"location":"inventory0",
"description":"My first Nuix compound Case",
"compound":true,
"investigator":"Inspector Gadget"
}'
{
"caseId": "967db64ab9944daebf4d34fcad6b5e8f",
"name": "HelloCompoundCase",
"path": "/Cases/HelloCompoundCase",
"description": "My first Nuix compound Case",
"investigator": "Inspector Gadget",
"creationDate": 1613066921882,
"compound": true,
"elastic": false,
"binaryStoreLocation": "",
"indexId": "",
"caseSize": 0,
"casePathParent": "/Cases",
"caseInvestigationTimeZone": "America/New_York",
"hasExclusions": null,
"hasNuixSystemTags": null,
"hasProductionSets": null,
"hasCalculatedAuditSize": null,
"caseName": "HelloCompoundCase",
"casePath": "/Cases/HelloCompoundCase",
"caseDescription": "My first Nuix compound Case",
"caseCreationDate": 1613066921882,
"caseInvestigator": "Inspector Gadget"
}
You have now successfully created your first compound case! Take note of your case ID 967db64ab9944daebf4d34fcad6b5e8f. Next, we have to add simple
child cases to the compound case. Let’s create two simple child cases and add them to the compound case.
Create Child Case 1
curl --location --request POST 'http://localhost:8080/nuix-restful-service/svc/v1/cases' \
--header 'nuix-auth-token: 9729a460-eda7-48dc-ba70-d12b3aae3c8d' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
"name":"HelloChild-1",
"location":"inventory0",
"description":"About My first child case",
"compound":false,
"investigator":"Inspector Gadget"
}'
{
"caseId": "521b4f8f875541d2b2c5912f927897e2",
"name": "HelloChild-1",
"path": "/Cases/HelloChild-1",
"description": "About My first child case",
"investigator": "Inspector Gadget",
"creationDate": 1613067156583,
"compound": false,
"elastic": false,
"binaryStoreLocation": "",
"indexId": "",
"caseSize": 0,
"casePathParent": "/Cases",
"caseInvestigationTimeZone": "America/New_York",
"hasExclusions": null,
"hasNuixSystemTags": null,
"hasProductionSets": null,
"hasCalculatedAuditSize": null,
"caseName": "HelloChild-1",
"casePath": "/Cases/HelloChild-1",
"caseDescription": "About My first child case",
"caseCreationDate": 1613067156583,
"caseInvestigator": "Inspector Gadget"
}
Create Child Case 2
curl --location --request POST 'http://localhost:8080/nuix-restful-service/svc/v1/cases' \
--header 'nuix-auth-token: 9729a460-eda7-48dc-ba70-d12b3aae3c8d' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
"name":"HelloChild-2",
"location":"inventory0",
"description":"About My second child case",
"compound":false,
"investigator":"Inspector Gadget"
}'
{
"caseId": "1a33156e3be34e7ea74a77912be526f3",
"name": "HelloChild-2",
"path": "/Cases/HelloChild-2",
"description": "About My second child case",
"investigator": "Inspector Gadget",
"creationDate": 1613067352626,
"compound": false,
"elastic": false,
"binaryStoreLocation": "",
"indexId": "",
"caseSize": 0,
"casePathParent": "/Cases",
"caseInvestigationTimeZone": "America/New_York",
"hasExclusions": null,
"hasNuixSystemTags": null,
"hasProductionSets": null,
"hasCalculatedAuditSize": null,
"caseName": "HelloChild-2",
"casePath": "/Cases/HelloChild-2",
"caseDescription": "About My second child case",
"caseCreationDate": 1613067352626,
"caseInvestigator": "Inspector Gadget"
}
Adding Child Cases to a Compound Case
Finally, let’s add our two simple child cases that we just created to our compound case. The childCases endpoint simply acknowledges the addition of the
child cases to the compound case by returning a HTTP status code of 200
curl --location --request POST 'http://localhost:8080/nuix-restful-service/svc/v1/cases/967db64ab9944daebf4d34fcad6b5e8f/childCases' \
--header 'nuix-auth-token: 9729a460-eda7-48dc-ba70-d12b3aae3c8d' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '[ "521b4f8f875541d2b2c5912f927897e2", "1a33156e3be34e7ea74a77912be526f3" ]'
You have now successfully created your first compound case! Next, let’s ingest some data!
Last modified February 11, 2021