POST v1/Policies/{policyId}/Premium
Updates the base policy premium and base carrier fees on a policy
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
policyId | string |
Required |
Body Parameters
PolicyPremiumDTOName | Description | Type | Additional information |
---|---|---|---|
PolicyQuoteID | integer |
None. |
|
CustomerID | integer |
None. |
|
PremiumBase | decimal number |
None. |
|
EndorsementPremium | decimal number |
None. |
|
IssuedPolicy | boolean |
None. |
|
NominalTermAmount | decimal number |
None. |
|
WrittenAmount | decimal number |
None. |
|
PolicyCarrierFees | Collection of PolicyCarrierFeeDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "PolicyQuoteID": 1, "CustomerID": 2, "PremiumBase": 3.0, "EndorsementPremium": 4.0, "IssuedPolicy": true, "NominalTermAmount": 1.0, "WrittenAmount": 1.0, "PolicyCarrierFees": [ { "Id": 1, "PolicyQuoteId": 2, "CarrierFeeId": 3, "AmountIsPercent": true, "Amount": 5.0, "CalculatedAmount": 6.0, "CommBaseAmount": 7.0, "CommIsPercent": true, "CommBaseAmountManuallyChanged": true, "Commissionable": true, "CommAmount": 11.0, "Commission": 12.0, "EndorsementId": 13, "CarrierFeeName": "sample string 14", "UtilityCarrierFee": { "CarrierFeeID": 1, "CarrierFeeName": "sample string 2", "DefaultAmount": 3.0, "AmountIsPercent": true, "SystemDefined": true, "Visible": true, "LocationID": 1, "AppCreated": "sample string 6", "ThirdPartyAppCode": "sample string 7" } }, { "Id": 1, "PolicyQuoteId": 2, "CarrierFeeId": 3, "AmountIsPercent": true, "Amount": 5.0, "CalculatedAmount": 6.0, "CommBaseAmount": 7.0, "CommIsPercent": true, "CommBaseAmountManuallyChanged": true, "Commissionable": true, "CommAmount": 11.0, "Commission": 12.0, "EndorsementId": 13, "CarrierFeeName": "sample string 14", "UtilityCarrierFee": { "CarrierFeeID": 1, "CarrierFeeName": "sample string 2", "DefaultAmount": 3.0, "AmountIsPercent": true, "SystemDefined": true, "Visible": true, "LocationID": 1, "AppCreated": "sample string 6", "ThirdPartyAppCode": "sample string 7" } } ] }
application/xml, text/xml
Sample:
<PolicyPremiumDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies"> <CustomerID>2</CustomerID> <EndorsementPremium>4</EndorsementPremium> <IssuedPolicy>true</IssuedPolicy> <NominalTermAmount>1</NominalTermAmount> <PolicyCarrierFees> <PolicyCarrierFeeDTO> <Amount>5</Amount> <AmountIsPercent>true</AmountIsPercent> <CalculatedAmount>6</CalculatedAmount> <CarrierFeeId>3</CarrierFeeId> <CarrierFeeName>sample string 14</CarrierFeeName> <CommAmount>11</CommAmount> <CommBaseAmount>7</CommBaseAmount> <CommBaseAmountManuallyChanged>true</CommBaseAmountManuallyChanged> <CommIsPercent>true</CommIsPercent> <Commission>12</Commission> <Commissionable>true</Commissionable> <EndorsementId>13</EndorsementId> <Id>1</Id> <PolicyQuoteId>2</PolicyQuoteId> <UtilityCarrierFee> <AmountIsPercent>true</AmountIsPercent> <AppCreated>sample string 6</AppCreated> <CarrierFeeID>1</CarrierFeeID> <CarrierFeeName>sample string 2</CarrierFeeName> <DefaultAmount>3</DefaultAmount> <LocationID>1</LocationID> <SystemDefined>true</SystemDefined> <ThirdPartyAppCode>sample string 7</ThirdPartyAppCode> <Visible>true</Visible> </UtilityCarrierFee> </PolicyCarrierFeeDTO> <PolicyCarrierFeeDTO> <Amount>5</Amount> <AmountIsPercent>true</AmountIsPercent> <CalculatedAmount>6</CalculatedAmount> <CarrierFeeId>3</CarrierFeeId> <CarrierFeeName>sample string 14</CarrierFeeName> <CommAmount>11</CommAmount> <CommBaseAmount>7</CommBaseAmount> <CommBaseAmountManuallyChanged>true</CommBaseAmountManuallyChanged> <CommIsPercent>true</CommIsPercent> <Commission>12</Commission> <Commissionable>true</Commissionable> <EndorsementId>13</EndorsementId> <Id>1</Id> <PolicyQuoteId>2</PolicyQuoteId> <UtilityCarrierFee> <AmountIsPercent>true</AmountIsPercent> <AppCreated>sample string 6</AppCreated> <CarrierFeeID>1</CarrierFeeID> <CarrierFeeName>sample string 2</CarrierFeeName> <DefaultAmount>3</DefaultAmount> <LocationID>1</LocationID> <SystemDefined>true</SystemDefined> <ThirdPartyAppCode>sample string 7</ThirdPartyAppCode> <Visible>true</Visible> </UtilityCarrierFee> </PolicyCarrierFeeDTO> </PolicyCarrierFees> <PolicyQuoteID>1</PolicyQuoteID> <PremiumBase>3</PremiumBase> <WrittenAmount>1</WrittenAmount> </PolicyPremiumDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ActionResultDTOOfPolicyPremiumDTOName | Description | Type | Additional information |
---|---|---|---|
Result | PolicyPremiumDTO |
None. |
|
CreatedBy | string |
None. |
|
EntityID | integer |
None. |
|
RowSource | string |
None. |
|
PolicyID | integer |
None. |
|
IsSuccess | boolean |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
|
InfoMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "PolicyQuoteID": 1, "CustomerID": 2, "PremiumBase": 3.0, "EndorsementPremium": 4.0, "IssuedPolicy": true, "NominalTermAmount": 1.0, "WrittenAmount": 1.0, "PolicyCarrierFees": [ { "Id": 1, "PolicyQuoteId": 2, "CarrierFeeId": 3, "AmountIsPercent": true, "Amount": 5.0, "CalculatedAmount": 6.0, "CommBaseAmount": 7.0, "CommIsPercent": true, "CommBaseAmountManuallyChanged": true, "Commissionable": true, "CommAmount": 11.0, "Commission": 12.0, "EndorsementId": 13, "CarrierFeeName": "sample string 14", "UtilityCarrierFee": { "CarrierFeeID": 1, "CarrierFeeName": "sample string 2", "DefaultAmount": 3.0, "AmountIsPercent": true, "SystemDefined": true, "Visible": true, "LocationID": 1, "AppCreated": "sample string 6", "ThirdPartyAppCode": "sample string 7" } }, { "Id": 1, "PolicyQuoteId": 2, "CarrierFeeId": 3, "AmountIsPercent": true, "Amount": 5.0, "CalculatedAmount": 6.0, "CommBaseAmount": 7.0, "CommIsPercent": true, "CommBaseAmountManuallyChanged": true, "Commissionable": true, "CommAmount": 11.0, "Commission": 12.0, "EndorsementId": 13, "CarrierFeeName": "sample string 14", "UtilityCarrierFee": { "CarrierFeeID": 1, "CarrierFeeName": "sample string 2", "DefaultAmount": 3.0, "AmountIsPercent": true, "SystemDefined": true, "Visible": true, "LocationID": 1, "AppCreated": "sample string 6", "ThirdPartyAppCode": "sample string 7" } } ] }, "CreatedBy": "sample string 1", "EntityID": 2, "RowSource": "sample string 3", "PolicyID": 4, "IsSuccess": true, "ErrorCode": "sample string 6", "ErrorMessage": "sample string 7", "InfoMessage": "sample string 8" }
application/xml, text/xml
Sample:
<ActionResultOfPolicyPremiumDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects"> <ErrorCode>sample string 6</ErrorCode> <ErrorMessage>sample string 7</ErrorMessage> <InfoMessage>sample string 8</InfoMessage> <IsSuccess>true</IsSuccess> <CreatedBy>sample string 1</CreatedBy> <EntityID>2</EntityID> <PolicyID>4</PolicyID> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies"> <d2p1:CustomerID>2</d2p1:CustomerID> <d2p1:EndorsementPremium>4</d2p1:EndorsementPremium> <d2p1:IssuedPolicy>true</d2p1:IssuedPolicy> <d2p1:NominalTermAmount>1</d2p1:NominalTermAmount> <d2p1:PolicyCarrierFees> <d2p1:PolicyCarrierFeeDTO> <d2p1:Amount>5</d2p1:Amount> <d2p1:AmountIsPercent>true</d2p1:AmountIsPercent> <d2p1:CalculatedAmount>6</d2p1:CalculatedAmount> <d2p1:CarrierFeeId>3</d2p1:CarrierFeeId> <d2p1:CarrierFeeName>sample string 14</d2p1:CarrierFeeName> <d2p1:CommAmount>11</d2p1:CommAmount> <d2p1:CommBaseAmount>7</d2p1:CommBaseAmount> <d2p1:CommBaseAmountManuallyChanged>true</d2p1:CommBaseAmountManuallyChanged> <d2p1:CommIsPercent>true</d2p1:CommIsPercent> <d2p1:Commission>12</d2p1:Commission> <d2p1:Commissionable>true</d2p1:Commissionable> <d2p1:EndorsementId>13</d2p1:EndorsementId> <d2p1:Id>1</d2p1:Id> <d2p1:PolicyQuoteId>2</d2p1:PolicyQuoteId> <d2p1:UtilityCarrierFee> <d2p1:AmountIsPercent>true</d2p1:AmountIsPercent> <d2p1:AppCreated>sample string 6</d2p1:AppCreated> <d2p1:CarrierFeeID>1</d2p1:CarrierFeeID> <d2p1:CarrierFeeName>sample string 2</d2p1:CarrierFeeName> <d2p1:DefaultAmount>3</d2p1:DefaultAmount> <d2p1:LocationID>1</d2p1:LocationID> <d2p1:SystemDefined>true</d2p1:SystemDefined> <d2p1:ThirdPartyAppCode>sample string 7</d2p1:ThirdPartyAppCode> <d2p1:Visible>true</d2p1:Visible> </d2p1:UtilityCarrierFee> </d2p1:PolicyCarrierFeeDTO> <d2p1:PolicyCarrierFeeDTO> <d2p1:Amount>5</d2p1:Amount> <d2p1:AmountIsPercent>true</d2p1:AmountIsPercent> <d2p1:CalculatedAmount>6</d2p1:CalculatedAmount> <d2p1:CarrierFeeId>3</d2p1:CarrierFeeId> <d2p1:CarrierFeeName>sample string 14</d2p1:CarrierFeeName> <d2p1:CommAmount>11</d2p1:CommAmount> <d2p1:CommBaseAmount>7</d2p1:CommBaseAmount> <d2p1:CommBaseAmountManuallyChanged>true</d2p1:CommBaseAmountManuallyChanged> <d2p1:CommIsPercent>true</d2p1:CommIsPercent> <d2p1:Commission>12</d2p1:Commission> <d2p1:Commissionable>true</d2p1:Commissionable> <d2p1:EndorsementId>13</d2p1:EndorsementId> <d2p1:Id>1</d2p1:Id> <d2p1:PolicyQuoteId>2</d2p1:PolicyQuoteId> <d2p1:UtilityCarrierFee> <d2p1:AmountIsPercent>true</d2p1:AmountIsPercent> <d2p1:AppCreated>sample string 6</d2p1:AppCreated> <d2p1:CarrierFeeID>1</d2p1:CarrierFeeID> <d2p1:CarrierFeeName>sample string 2</d2p1:CarrierFeeName> <d2p1:DefaultAmount>3</d2p1:DefaultAmount> <d2p1:LocationID>1</d2p1:LocationID> <d2p1:SystemDefined>true</d2p1:SystemDefined> <d2p1:ThirdPartyAppCode>sample string 7</d2p1:ThirdPartyAppCode> <d2p1:Visible>true</d2p1:Visible> </d2p1:UtilityCarrierFee> </d2p1:PolicyCarrierFeeDTO> </d2p1:PolicyCarrierFees> <d2p1:PolicyQuoteID>1</d2p1:PolicyQuoteID> <d2p1:PremiumBase>3</d2p1:PremiumBase> <d2p1:WrittenAmount>1</d2p1:WrittenAmount> </Result> <RowSource>sample string 3</RowSource> </ActionResultOfPolicyPremiumDTO>