ITEM-TYPE
This method allows inserting element types using a REST API.
POST /apigateway/se/rest/v1/risk/item-type
Request example:
Request body parameter | Type | Required | Description |
---|---|---|---|
idType | String | No | ID # |
nmType | String | Yes | Name |
idTypeOwner | String | No | Upper level type ID # |
idMask | String | No | Mask ID # |
fgEditId | String | No | Is it possible to edit the mask? 1 - Yes, 2 - No |
dsType | String | No | Description |
fgLogo | String | No | Icon 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
}
]
}