{
  "opencollection": "1.0.0",
  "info": {
    "name": "NUIX ECC REST API Command Reference Case API",
    "version": "${customer.version}"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Case",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Lists all cases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{address}:{port}/api/ecc/v2/cases"
          },
          "docs": "Lists all cases defined on the connected server.\n\n**Note:** both open and closed cases are listed."
        },
        {
          "info": {
            "name": "Create a new case",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{address}:{port}/api/ecc/v2/cases",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new case.\n\nid is always 0 when submitting this request"
        },
        {
          "info": {
            "name": "Lists the specified case",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{address}:{port}/api/ecc/v2/cases/:caseId",
            "params": [
              {
                "name": "caseId",
                "value": "",
                "type": "path",
                "description": "Case id"
              }
            ]
          },
          "docs": "Lists information about the specified case."
        },
        {
          "info": {
            "name": "Rename a case and-or change case status",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{protocol}://{address}:{port}/api/ecc/v2/cases/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the Case to rename or change status"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Rename and/or change the status of the specfied case"
        },
        {
          "info": {
            "name": "Delete a case",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{address}:{port}/api/ecc/v2/cases/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Case identification token"
              }
            ]
          },
          "docs": "Deletes the case identified by the case ignored.\n\n**Note\\:** Only closed cases can be deleted.\n\n**Warning:** Any jobs associated with the specified case\nwill also be deleted."
        }
      ]
    }
  ],
  "bundled": true
}