Skip to main content
Version: 2.2.3

ITEM-TYPE

This method allows inserting element types using a REST API.

POST /apigateway/se/rest/v1/risk/item-type

Request example:

Request body parameterTypeRequiredDescription
idTypeStringNoID #
nmTypeStringYesName
idTypeOwnerStringNoUpper level type ID #
idMaskStringNoMask ID #
fgEditIdStringNoIs it possible to edit the mask?
1 - Yes, 2 - No
dsTypeStringNoDescription
fgLogoStringNoIcon ID #.
Must be between 0 and 99.

Insertion request example:

{
"idType": "string",
"nmType": "string",
"idMask": "1",
"fgEdit": "1",
"dsType": "string",
"fgLogo": "string"
}

Response example:

200 OK

{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}