SaveCoverages

This API allows you to save all the coverages.

/api/v1/coverages/save

Request Body Parameters

  • state String

     Indicates state of selected states request Object.

  • lobName String

    Name of Line of Business.

  • offerId Integer

    Unique identifier of Offer.

  • userId Integer

    Indicates user ID.

  • productType String

    Indicates type of Product.

  • isDeleted Boolean

     Set to true if it is deleted.

  • coverages Object

Response

  • Status Boolean

    Returns true is coverage is saved successfully.

Request
 [
  {
    "state": "string",
    "lobName": "string",
    "offerId": 0,
    "userId": 0,
    "productType": "string",
    "isDeleted": true,
    "coverages": {
      "Attributes": [
        {
          "Id": "string",
          "Name": "string",
          "DisplayName": "string",
          "Description": "string",
          "ControlType": "string",
          "DataType": "string",
          "UserValue": "string",
          "DefaultValue": "string",
          "PriorValue": "string",
          "Values": [
            "string"
          ],
          "DetailType": "string",
          "SourceType": "string",
          "SequenceNumber": 0,
          "HelpText": "string",
          "IsDirty": true,
          "IsEnabled": true,
          "IsVisible": true,
          "IsActionable": true,
          "IsRequired": true,
          "Format": "string",
          "Min": "string",
          "Max": "string",
          "RuleType": "None",
          "ProductChoicesIndicator": true,
          "UIRuleIndicator": true,
          "MaxLength": 0,
          "RegexValidation": "string"
        }
      ],
      "Coverages": [
        {
          "Id": "string",
          "ParentId": 0,
          "BusinessEntityId": 0,
          "OfferId": 0,
          "Name": "string",
          "Code": "string",
          "DisplayName": "string",
          "SequenceNumber": 0,
          "IsMandatory": true,
          "IsSelected": true,
          "IsEnabled": true,
          "IsVisible": true,
          "Type": "string",
          "HelpText": "string",
          "IsDirty": true,
          "DetailedXml": "string",
          "CoverageId": "string",
          "Attributes": [
            {
              "Id": "string",
              "Name": "string",
              "DisplayName": "string",
              "Description": "string",
              "ControlType": "string",
              "DataType": "string",
              "UserValue": "string",
              "DefaultValue": "string",
              "PriorValue": "string",
              "Values": [
                "string"
              ],
              "DetailType": "string",
              "SourceType": "string",
              "SequenceNumber": 0,
              "HelpText": "string",
              "IsDirty": true,
              "IsEnabled": true,
              "IsVisible": true,
              "IsActionable": true,
              "IsRequired": true,
              "Format": "string",
              "Min": "string",
              "Max": "string",
              "RuleType": "None",
              "ProductChoicesIndicator": true,
              "UIRuleIndicator": true,
              "MaxLength": 0,
              "RegexValidation": "string"
            }
          ],
          "IsActionable": true,
          "Symbols": [
            {
              "Id": "string",
              "Name": "string",
              "DisplayName": "string",
              "Description": "string",
              "ControlType": "string",
              "DataType": "string",
              "UserValue": "string",
              "DefaultValue": "string",
              "PriorValue": "string",
              "Values": [
                "string"
              ],
              "DetailType": "string",
              "SourceType": "string",
              "SequenceNumber": 0,
              "HelpText": "string",
              "IsDirty": true,
              "IsEnabled": true,
              "IsVisible": true,
              "IsActionable": true,
              "IsRequired": true,
              "Format": "string",
              "Min": "string",
              "Max": "string",
              "RuleType": "None",
              "ProductChoicesIndicator": true,
              "UIRuleIndicator": true,
              "MaxLength": 0,
              "RegexValidation": "string"
            }
          ],
          "HasCoachingContent": true,
          "Fields": [
            {
              "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": "TextBox",
              "sourcetype": "Independent",
              "Format": "string",
              "FactorGroupName": "string",
              "ParentGroupName": "string",
              "DefaultValue": "string",
              "RegexValidation": "string",
              "IsEnabled": true,
              "MaxLength": 0,
              "IsVisible": true,
              "Value": "string",
              "Values": [
                "string"
              ],
              "Keys": [
                "string"
              ],
              "RuleType": "None",
              "ProductChoicesIndicator": true,
              "UIRuleIndicator": true
            }
          ],
          "IsAdded": true,
          "IsDeleted": true,
          "IsNewlyAdded": true,
          "IsNewlyDeleted": true,
          "RuleType": "None",
          "ProductChoicesIndicator": true,
          "UIRuleIndicator": true,
          "FullPath": "string"
        }
      ]
    }
  }
]

Response
True