CreateofferBlocks
This API allows you to create 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.
Child Attributes
-
ProjectName String
Name of the project.
-
CategoryName String
Name of the category.
-
TransactionName String
Indicates Transaction Name.
-
CancellationType String
Type of cancellation.
-
CancellationReason String
Reason for cancellation.
-
DomainCombination String
Information related to DomainCombination.
Child Attributes
-
Context String
Context Info in DomainCombination.
Child Attributes
-
elementType String
Indicates element type.
-
elementCode String
Indicates element code.
-
startDate Datetime
Indicates start date.
-
endDate Datetime
Indicates end date.
-
-
domains String
Indicates domain related info.
Child Attributes
-
value String
Value of the domain.
-
name String
Name of the domain.
-
-
-
-
Status String
Indicates Offer Block status.
Child Attributes
-
<EntityType>k__BackingField String
Indicates entity type.
-
<EntityName>k__BackingField String
Indicates entity name.
-
<EntityID>k__BackingField String
Indicates entity Id.
-
_changes Object
Child Attributes
-
PropertyType String
Indicates property Type (XML or collection).
-
PropertyName String
Indicates the name of the property.
-
Path String
Indicates attribute path.
-
ChangeType String
Indicates change type (add, modify, delete).
-
OldValue Object
Indicates previous value.
-
NewValue Object
Indicates new Value.
-
PropertySource String
Indicates property source.
-
EntityType String
Indicates entity type.
-
EntityCode String
Indicates entity code.
-
DisplayName String
Indicates display name.
-
-
-
ChangeSet Object
Child Attributes
-
<EntityType>k__BackingField String
Indicates entity type.
-
<EntityName>k__BackingField String
Indicates entity name.
-
<EntityID>k__BackingField String
Indicates entity Id.
-
_changes Object
Child Attributes
-
PropertyType String
Indicates property Type (XML or collection).
-
PropertyName String
Indicates the name of the property.
-
Path String
Indicates path.
-
ChangeType String
Indicates change type (add, modify, delete).
-
OldValue Object
Indicates previous value.
-
NewValue Object
Indicates new Value.
-
PropertySource String
Indicates property source.
-
EntityType String
Indicates entity type.
-
EntityCode String
Indicates entity code.
-
DisplayName String
Indicates display name.
-
-
-
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 created.
[
{
"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"
}
]
True