Create new Incident Type

Cortex XSOAR 6 API

post /incidenttype

API to create new Incident Type

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 aeiou 123456789 UNDEFINED_EXAMPLE_VALUE 123456789 123456789 aeiou aeiou 123456789 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 123456789 true true 123456789 123456789 123456789 '
Authentication: api_key Api Key "Authorization"
Request
Body
optional
autorun
optional
Boolean
cacheVersn
optional
Number (Long)
format: int64
closureScript
optional
String
color
optional
String
commitMessage
optional
String
created
optional
Object
format: date-time
days
optional
Number (Long)
format: int64
daysR
optional
Number (Long)
format: int64
default
optional
Boolean
definitionId
optional
String
detached
optional
Boolean
disabled
optional
Boolean
extractSettings
optional
fieldCliNameToExtractSettings
optional
Map
extractAsIsIndicatorTypeId
optional
String
extractIndicatorTypesIDs
optional
Array of strings
isExtractingAllIndicatorTypes
optional
Boolean
mode
optional
String
fromServerVersion
optional
Digits
optional
Array of numbers (Long)
WARNING: when adding new attributes or changing the names of the existing ones, remember to add support in UnmarshalJSON for items that were exported by msgpack. format: int64
Label
optional
String
highlight
optional
Map
hours
optional
Number (Long)
format: int64
hoursR
optional
Number (Long)
format: int64
id
optional
String
indexName
optional
String
itemVersion
optional
Digits
optional
Array of numbers (Long)
WARNING: when adding new attributes or changing the names of the existing ones, remember to add support in UnmarshalJSON for items that were exported by msgpack. format: int64
Label
optional
String
layout
optional
String
locked
optional
Boolean
modified
optional
Object
format: date-time
name
optional
String
numericId
optional
Number (Long)
format: int64
onChangeRepAlg
optional
Number (Double)
format: double
packID
optional
String
packName
optional
String
packPropagationLabels
optional
Array of strings
playbookId
optional
String
preProcessingScript
optional
String
prevName
optional
String
primaryTerm
optional
Number (Long)
format: int64
propagationLabels
optional
Array of strings
readonly
optional
Boolean
remote
optional
Boolean
reputationCalc
optional
Number (Double)
format: double
sequenceNumber
optional
Number (Long)
format: int64
shouldCommit
optional
Boolean
sizeInBytes
optional
Number (Long)
format: int64
sla
optional
Number (Long)
format: int64
slaReminder
optional
Number (Long)
format: int64
sortValues
optional
Array of strings
syncHash
optional
String
system
optional
Boolean
toServerVersion
optional
Digits
optional
Array of numbers (Long)
WARNING: when adding new attributes or changing the names of the existing ones, remember to add support in UnmarshalJSON for items that were exported by msgpack. format: int64
Label
optional
String
vcShouldIgnore
optional
Boolean
vcShouldKeepItemLegacyProdMachine
optional
Boolean
version
optional
Number (Long)
format: int64
weeks
optional
Number (Long)
format: int64
weeksR
optional
Number (Long)
format: int64
Responses

IncidentType

Body
autorun
optional
Boolean
cacheVersn
optional
Number (Long)
format: int64
closureScript
optional
String
color
optional
String
commitMessage
optional
String
created
optional
Object
format: date-time
days
optional
Number (Long)
format: int64
daysR
optional
Number (Long)
format: int64
default
optional
Boolean
definitionId
optional
String
detached
optional
Boolean
disabled
optional
Boolean
extractSettings
optional
fieldCliNameToExtractSettings
optional
Map
extractAsIsIndicatorTypeId
optional
String
extractIndicatorTypesIDs
optional
Array of strings
isExtractingAllIndicatorTypes
optional
Boolean
mode
optional
String
fromServerVersion
optional
Digits
optional
Array of numbers (Long)
WARNING: when adding new attributes or changing the names of the existing ones, remember to add support in UnmarshalJSON for items that were exported by msgpack. format: int64
Label
optional
String
highlight
optional
Map
hours
optional
Number (Long)
format: int64
hoursR
optional
Number (Long)
format: int64
id
optional
String
indexName
optional
String
itemVersion
optional
Digits
optional
Array of numbers (Long)
WARNING: when adding new attributes or changing the names of the existing ones, remember to add support in UnmarshalJSON for items that were exported by msgpack. format: int64
Label
optional
String
layout
optional
String
locked
optional
Boolean
modified
optional
Object
format: date-time
name
optional
String
numericId
optional
Number (Long)
format: int64
onChangeRepAlg
optional
Number (Double)
format: double
packID
optional
String
packName
optional
String
packPropagationLabels
optional
Array of strings
playbookId
optional
String
preProcessingScript
optional
String
prevName
optional
String
primaryTerm
optional
Number (Long)
format: int64
propagationLabels
optional
Array of strings
readonly
optional
Boolean
remote
optional
Boolean
reputationCalc
optional
Number (Double)
format: double
sequenceNumber
optional
Number (Long)
format: int64
shouldCommit
optional
Boolean
sizeInBytes
optional
Number (Long)
format: int64
sla
optional
Number (Long)
format: int64
slaReminder
optional
Number (Long)
format: int64
sortValues
optional
Array of strings
syncHash
optional
String
system
optional
Boolean
toServerVersion
optional
Digits
optional
Array of numbers (Long)
WARNING: when adding new attributes or changing the names of the existing ones, remember to add support in UnmarshalJSON for items that were exported by msgpack. format: int64
Label
optional
String
vcShouldIgnore
optional
Boolean
vcShouldKeepItemLegacyProdMachine
optional
Boolean
version
optional
Number (Long)
format: int64
weeks
optional
Number (Long)
format: int64
weeksR
optional
Number (Long)
format: int64