Create new Incident Type

Cortex XSOAR API

post /incidenttype Show code example
CURL
curl -X POST \ -H "Authorization: [[apiKey]]" \ -H "Accept: application/json" \ -H "Content-Type: application/json,application/xml" \ "https://hostname:443/incidenttype" \ -d '{ "sizeInBytes" : 4, "autorun" : true, "syncHash" : "syncHash", "remote" : true, "readonly" : true, "closureScript" : "closureScript", "toServerVersion" : { "Digits" : [ 5, 5 ], "Label" : "Label" }, "modified" : "2000-01-23T04:56:07.000+00:00", "reputationCalc" : 3.616076749251911, "id" : "id", "locked" : true, "numericId" : 2, "sequenceNumber" : 2, "created" : "2000-01-23T04:56:07.000+00:00", "indexName" : "indexName", "sla" : 7, "extractSettings" : { "mode" : "mode", "fieldCliNameToExtractSettings" : { "key" : { "extractAsIsIndicatorTypeId" : "extractAsIsIndicatorTypeId", "extractIndicatorTypesIDs" : [ "extractIndicatorTypesIDs", "extractIndicatorTypesIDs" ], "isExtractingAllIndicatorTypes" : true } } }, "shouldCommit" : true, "slaReminder" : 1, "version" : 1, "detached" : true, "system" : true, "onChangeRepAlg" : 7.061401241503109, "playbookId" : "playbookId", "preProcessingScript" : "preProcessingScript", "name" : "name", "propagationLabels" : [ "propagationLabels", "propagationLabels" ], "weeks" : 1, "color" : "color", "commitMessage" : "commitMessage", "primaryTerm" : 9, "packID" : "packID", "highlight" : { "key" : [ "highlight", "highlight" ] }, "default" : true, "vcShouldIgnore" : true, "prevName" : "prevName", "disabled" : true, "definitionId" : "definitionId", "fromServerVersion" : { "Digits" : [ 5, 5 ], "Label" : "Label" }, "hours" : 5, "itemVersion" : { "Digits" : [ 5, 5 ], "Label" : "Label" }, "packPropagationLabels" : [ "packPropagationLabels", "packPropagationLabels" ], "hoursR" : 5, "cacheVersn" : 0, "sortValues" : [ "sortValues", "sortValues" ], "vcShouldKeepItemLegacyProdMachine" : true, "layout" : "layout", "daysR" : 1, "days" : 6, "packName" : "packName", "weeksR" : 6 }' \ -d ' true 123456789 aeiou aeiou aeiou 2000-01-23T04:56:07.000Z 123456789 123456789 true aeiou true true UNDEFINED_EXAMPLE_VALUE 123456789 123456789 aeiou aeiou aeiou true 2000-01-23T04:56:07.000Z aeiou 123456789 3.149 aeiou aeiou aeiou aeiou aeiou aeiou 123456789 aeiou true true 3.149 123456789 true 123456789 123456789 123456789 aeiou aeiou true true true 123456789 123456789 123456789 '
API to create new Incident Type