POST v1/Policies/Details/{policyDetailID}/PersonalInlandMarine/AdditionalInterests

Update the Additional Interests Section on the Policy Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyDetailID

Id of the policy detail

string

Required

Body Parameters

New additional interested section

PolicyDetailsPersonalInlandMarineAdditionalInterestDTO
NameDescriptionTypeAdditional information
PropertyID

integer

None.

AddInterestID

integer

None.

PolicyDetailsID

integer

None.

ContactID

integer

None.

AddInterestTypeID

string

None.

OtherLabel

string

None.

Name

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

AddressCity

string

None.

AddressState

string

None.

AddressZip

string

None.

LoanNumber

string

None.

Rank

string

None.

ItemDescription

string

None.

ItemName

string

None.

AddInterestTypeString

string

None.

AddressStateString

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PropertyID": 1,
  "AddInterestID": 2,
  "PolicyDetailsID": 3,
  "ContactID": 1,
  "AddInterestTypeID": "sample string 4",
  "OtherLabel": "sample string 5",
  "Name": "sample string 6",
  "AddressLine1": "sample string 7",
  "AddressLine2": "sample string 8",
  "AddressCity": "sample string 9",
  "AddressState": "sample string 10",
  "AddressZip": "sample string 11",
  "LoanNumber": "sample string 12",
  "Rank": "sample string 13",
  "ItemDescription": "sample string 14",
  "ItemName": "sample string 15",
  "AddInterestTypeString": "sample string 16",
  "AddressStateString": "sample string 17"
}

application/xml, text/xml

Sample:
<PolicyDetailsPersonalInlandMarineAdditionalInterestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <AddInterestID>2</AddInterestID>
  <AddInterestTypeID>sample string 4</AddInterestTypeID>
  <AddInterestTypeString>sample string 16</AddInterestTypeString>
  <AddressCity>sample string 9</AddressCity>
  <AddressLine1>sample string 7</AddressLine1>
  <AddressLine2>sample string 8</AddressLine2>
  <AddressState>sample string 10</AddressState>
  <AddressStateString>sample string 17</AddressStateString>
  <AddressZip>sample string 11</AddressZip>
  <ContactID>1</ContactID>
  <ItemDescription>sample string 14</ItemDescription>
  <ItemName>sample string 15</ItemName>
  <LoanNumber>sample string 12</LoanNumber>
  <Name>sample string 6</Name>
  <OtherLabel>sample string 5</OtherLabel>
  <PolicyDetailsID>3</PolicyDetailsID>
  <PropertyID>1</PropertyID>
  <Rank>sample string 13</Rank>
</PolicyDetailsPersonalInlandMarineAdditionalInterestDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PolicyDetailsPersonalInlandMarineAdditionalInterestDTO'.

Response Information

Resource Description

Updated Policy Details

ActionResultDTOOfPolicyDetailsPersonalInlandMarineAdditionalInterestDTO
NameDescriptionTypeAdditional information
Result

PolicyDetailsPersonalInlandMarineAdditionalInterestDTO

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": {
    "PropertyID": 1,
    "AddInterestID": 2,
    "PolicyDetailsID": 3,
    "ContactID": 1,
    "AddInterestTypeID": "sample string 4",
    "OtherLabel": "sample string 5",
    "Name": "sample string 6",
    "AddressLine1": "sample string 7",
    "AddressLine2": "sample string 8",
    "AddressCity": "sample string 9",
    "AddressState": "sample string 10",
    "AddressZip": "sample string 11",
    "LoanNumber": "sample string 12",
    "Rank": "sample string 13",
    "ItemDescription": "sample string 14",
    "ItemName": "sample string 15",
    "AddInterestTypeString": "sample string 16",
    "AddressStateString": "sample string 17"
  },
  "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:
<ActionResultOfPolicyDetailsPersonalInlandMarineAdditionalInterestDTO 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:AddInterestID>2</d2p1:AddInterestID>
    <d2p1:AddInterestTypeID>sample string 4</d2p1:AddInterestTypeID>
    <d2p1:AddInterestTypeString>sample string 16</d2p1:AddInterestTypeString>
    <d2p1:AddressCity>sample string 9</d2p1:AddressCity>
    <d2p1:AddressLine1>sample string 7</d2p1:AddressLine1>
    <d2p1:AddressLine2>sample string 8</d2p1:AddressLine2>
    <d2p1:AddressState>sample string 10</d2p1:AddressState>
    <d2p1:AddressStateString>sample string 17</d2p1:AddressStateString>
    <d2p1:AddressZip>sample string 11</d2p1:AddressZip>
    <d2p1:ContactID>1</d2p1:ContactID>
    <d2p1:ItemDescription>sample string 14</d2p1:ItemDescription>
    <d2p1:ItemName>sample string 15</d2p1:ItemName>
    <d2p1:LoanNumber>sample string 12</d2p1:LoanNumber>
    <d2p1:Name>sample string 6</d2p1:Name>
    <d2p1:OtherLabel>sample string 5</d2p1:OtherLabel>
    <d2p1:PolicyDetailsID>3</d2p1:PolicyDetailsID>
    <d2p1:PropertyID>1</d2p1:PropertyID>
    <d2p1:Rank>sample string 13</d2p1:Rank>
  </Result>
  <RowSource>sample string 3</RowSource>
</ActionResultOfPolicyDetailsPersonalInlandMarineAdditionalInterestDTO>