SaveAllRisks
This API allows you to save all risks of a policy.
api/v1/businessEntities/SaveAllRisk?quoteId=8712&userId=31&state=OK
Request Body Parameters
-
policy String
Indicates the specific policy
Response
-
RiskId Integer
Unique identifier of the risk.
-
code string
Indicates code for account.
-
LOBName String
Indicates the name of the Line of Business.
-
EntityTypeString
Indicates entity type.
-
EntityNameString
Indicates entity name.
-
DescriptionString
Description of Risk
{{"policy":"23"}
[
{
"riskId": 0,
"code": "string",
"entityName": "string",
"entityType": "string",
"parentId": 0,
"parentName": "string",
"lobName": "string",
"description": "string",
"riskAttributes": "string",
"additionalInfo": "string",
"uIfields": [
{
"id": "string",
"name": "string",
"displayName": "string",
"domainTableName": "string",
"isMandatory": true,
"sequenceNumber": 0,
"isDeviation": true,
"isRequest": true,
"helpText": "string",
"onChangeAction": true,
"min": "string",
"max": "string",
"dataType": "string",
"type": 0,
"sourcetype": 0,
"format": "string",
"factorGroupName": "string",
"parentGroupName": "string",
"defaultValue": "string",
"regexValidation": "string",
"isEnabled": true,
"maxLength": 0,
"isVisible": true,
"showInGrid": true,
"value": "string",
"values": [
"string" ],
"keys": [
"string" ],
"ruleType": 0,
"productChoicesIndicator": true,
"uiRuleIndicator": true,
"dependencyFields": [
{
"parentFieldName": "string",
"columnName": "string" }
]
}
]
}
]