UpdateofferBlocks

This API allows you to update OfferBlocks.

/api/v1/offerBlocks

Request Body Parameters

  • Id Integer

    Unique Identifier for offerBlocks.

  • offerId Integer

    Unique Identifier of offer.

  • ParentId Integer

    Indicates Parent ID.

  • Lob String

    Name of Line of Business.

  • Children String

    Indicates its child offerblock.

  • EffectiveDate DateTime

    Indicates start date.

  • ExpiryDate DateTime

    Indicates end date.

  • LOBCode String

    Identifier for Line of Business.

  • PricingSummary String

    Indicates pricing information.

  • AdditionalInfo String

    Indicates additional info.

  • PricingAmount String

    Indicates pricing amount.

  • LOBContext String

    Indicates LOB information.

  • Status String

    Indicates Offer Block status.

  • ChangeSet Object

  • IsDelete Boolean

    Indicates deleted status.

  • TermPremium Double

    Indicates Term Premium.

  • AnnualPremium Double

    Indicates Annual Premium.

  • ITDPremium Double

    Indicates ITD Premium.

Response

  • Status Boolean

    Returns true if offerBlock is updated.

Request
 [
  {
    "Id": 0,
    "OfferId": 0,
    "ParentId": 0,
    "Lob": "string",
    "Children": [
      {}
    ],
    "EffectiveDate": "2021-09-17T06:47:27.658Z",
    "ExpiryDate": "2021-09-17T06:47:27.658Z",
    "LOBCode": "string",
    "PricingSummary": "string",
    "AdditionalInfo": "string",
    "PricingAmount": 0,
    "LOBContext": {
      "ProjectName": "string",
      "CategoryName": "string",
      "TransactionName": "string",
      "CancellationType": "FlatRate",
      "CancellationReason": "string",
      "DomainCombination": {
        "context": {
          "elementType": "string",
          "elementCode": "string",
          "startDate": "2021-09-17T06:47:27.658Z",
          "endDate": "2021-09-17T06:47:27.658Z"
        },
        "domains": [
          {
            "value": [
              "string"
            ],
            "name": "string"
          }
        ]
      }
    },
    "Status": "string",
    "Changes": {
      "<EntityType>k__BackingField": "string",
      "<EntityName>k__BackingField": "string",
      "<EntityID>k__BackingField": "string",
      "_changes": [
        {
          "PropertyType": "Simple",
          "PropertyName": "string",
          "Path": "string",
          "ChangeType": "Modified",
          "OldValue": {},
          "NewValue": {},
          "PropertySource": "string",
          "EntityType": "string",
          "EntityCode": "string",
          "DisplayName": "string"
        }
      ],
      "_changeSets": [
        {}
      ]
    },
    "ChangeSet": {
      "<EntityType>k__BackingField": "string",
      "<EntityName>k__BackingField": "string",
      "<EntityID>k__BackingField": "string",
      "_changes": [
        {
          "PropertyType": "Simple",
          "PropertyName": "string",
          "Path": "string",
          "ChangeType": "Modified",
          "OldValue": {},
          "NewValue": {},
          "PropertySource": "string",
          "EntityType": "string",
          "EntityCode": "string",
          "DisplayName": "string"
        }
      ],
      "_changeSets": [
        {}
      ]
    },
    "IsDelete": true,
    "TermPremium": 0,
    "AnnualPremium": 0,
    "AdjustedPremiumDetails": "string",
    "ITDPremium": 0,
    "PremiumChange": "string"
  }
]
Response
True