Compound Case Creation

Create a Nuix compound case.

Create a Compound Case

Now that you are authenticated, you can create a 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, you need to add simple child cases to the compound case. In this example, you will 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"
}

Add child cases to a compound case

Now you can add your two simple child cases to your 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 a compound case! Now, you can proceed to Part 5: Ingestion.