POST v1/Policies/Details/Garage/Coverages

Upsert garage coverages with provided coverages

Request Information

URI Parameters

None.

Body Parameters

Coverages

PolicyDetailsGarageCoveragesDTO
NameDescriptionTypeAdditional information
ID

integer

None.

PolicyDetailsID

integer

None.

PolicyLineID

integer

None.

LiabilitySymbols

Collection of string

None.

LiabilityOption

string

None.

AutoOnlyEaAccLimit

string

None.

OtherThanAutoEaAccLimit

string

None.

AggregateLimit

string

None.

PipSymbol

string

None.

PipLimit

string

None.

PipDeductible

string

None.

ExtendedPipSymbol

string

None.

ExtendedPipLimit

string

None.

ExtendedPipDeductible

string

None.

MedicalPaymentsSymbol

string

None.

MedicalPaymentsLimit

string

None.

UninsuredMotoristSymbol

string

None.

UninsuredMotoristOption

string

None.

UmEaPersonLimit

string

None.

UmEaAccidentLimit

string

None.

UnderinsuredMotoristSymbol

string

None.

UimEaPersonLimit

string

None.

UimEaAccidentLimit

string

None.

CompSymbol

string

None.

SpecifiedCauseOfLossSymbol

string

None.

CollisionSymbol

string

None.

OnHookMaxPerUnitLimit

string

None.

OnHookAveragePerUnitLimit

string

None.

OnHookAggregateLimit

string

None.

DirectBasisOption

string

None.

LegalLiabilityOption

string

None.

GarageKeepersCompSymbol

string

None.

GarageKeepersSpecCauseOfLossSymbol

string

None.

GarageKeepersCollisionSymbol

string

None.

TemporaryLocationLimit

string

None.

TransitLimit

string

None.

LocationName

string

None.

LocationAddress

string

None.

LocationID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PolicyDetailsID": 2,
  "PolicyLineID": 3,
  "LiabilitySymbols": [
    "sample string 1",
    "sample string 2"
  ],
  "LiabilityOption": "sample string 4",
  "AutoOnlyEaAccLimit": "sample string 5",
  "OtherThanAutoEaAccLimit": "sample string 6",
  "AggregateLimit": "sample string 7",
  "PipSymbol": "sample string 8",
  "PipLimit": "sample string 9",
  "PipDeductible": "sample string 10",
  "ExtendedPipSymbol": "sample string 11",
  "ExtendedPipLimit": "sample string 12",
  "ExtendedPipDeductible": "sample string 13",
  "MedicalPaymentsSymbol": "sample string 14",
  "MedicalPaymentsLimit": "sample string 15",
  "UninsuredMotoristSymbol": "sample string 16",
  "UninsuredMotoristOption": "sample string 17",
  "UmEaPersonLimit": "sample string 18",
  "UmEaAccidentLimit": "sample string 19",
  "UnderinsuredMotoristSymbol": "sample string 20",
  "UimEaPersonLimit": "sample string 21",
  "UimEaAccidentLimit": "sample string 22",
  "CompSymbol": "sample string 23",
  "SpecifiedCauseOfLossSymbol": "sample string 24",
  "CollisionSymbol": "sample string 25",
  "OnHookMaxPerUnitLimit": "sample string 26",
  "OnHookAveragePerUnitLimit": "sample string 27",
  "OnHookAggregateLimit": "sample string 28",
  "DirectBasisOption": "sample string 29",
  "LegalLiabilityOption": "sample string 30",
  "GarageKeepersCompSymbol": "sample string 31",
  "GarageKeepersSpecCauseOfLossSymbol": "sample string 32",
  "GarageKeepersCollisionSymbol": "sample string 33",
  "TemporaryLocationLimit": "sample string 34",
  "TransitLimit": "sample string 35",
  "LocationName": "sample string 36",
  "LocationAddress": "sample string 37",
  "LocationID": 38
}

application/xml, text/xml

Sample:
<PolicyDetailsGarageCoveragesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.Garage">
  <LocationAddress xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 37</LocationAddress>
  <LocationID xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">38</LocationID>
  <LocationName xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 36</LocationName>
  <AggregateLimit>sample string 7</AggregateLimit>
  <AutoOnlyEaAccLimit>sample string 5</AutoOnlyEaAccLimit>
  <CollisionSymbol>sample string 25</CollisionSymbol>
  <CompSymbol>sample string 23</CompSymbol>
  <DirectBasisOption>sample string 29</DirectBasisOption>
  <ExtendedPipDeductible>sample string 13</ExtendedPipDeductible>
  <ExtendedPipLimit>sample string 12</ExtendedPipLimit>
  <ExtendedPipSymbol>sample string 11</ExtendedPipSymbol>
  <GarageKeepersCollisionSymbol>sample string 33</GarageKeepersCollisionSymbol>
  <GarageKeepersCompSymbol>sample string 31</GarageKeepersCompSymbol>
  <GarageKeepersSpecCauseOfLossSymbol>sample string 32</GarageKeepersSpecCauseOfLossSymbol>
  <ID>1</ID>
  <LegalLiabilityOption>sample string 30</LegalLiabilityOption>
  <LiabilityOption>sample string 4</LiabilityOption>
  <LiabilitySymbols xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </LiabilitySymbols>
  <MedicalPaymentsLimit>sample string 15</MedicalPaymentsLimit>
  <MedicalPaymentsSymbol>sample string 14</MedicalPaymentsSymbol>
  <OnHookAggregateLimit>sample string 28</OnHookAggregateLimit>
  <OnHookAveragePerUnitLimit>sample string 27</OnHookAveragePerUnitLimit>
  <OnHookMaxPerUnitLimit>sample string 26</OnHookMaxPerUnitLimit>
  <OtherThanAutoEaAccLimit>sample string 6</OtherThanAutoEaAccLimit>
  <PipDeductible>sample string 10</PipDeductible>
  <PipLimit>sample string 9</PipLimit>
  <PipSymbol>sample string 8</PipSymbol>
  <PolicyDetailsID>2</PolicyDetailsID>
  <PolicyLineID>3</PolicyLineID>
  <SpecifiedCauseOfLossSymbol>sample string 24</SpecifiedCauseOfLossSymbol>
  <TemporaryLocationLimit>sample string 34</TemporaryLocationLimit>
  <TransitLimit>sample string 35</TransitLimit>
  <UimEaAccidentLimit>sample string 22</UimEaAccidentLimit>
  <UimEaPersonLimit>sample string 21</UimEaPersonLimit>
  <UmEaAccidentLimit>sample string 19</UmEaAccidentLimit>
  <UmEaPersonLimit>sample string 18</UmEaPersonLimit>
  <UnderinsuredMotoristSymbol>sample string 20</UnderinsuredMotoristSymbol>
  <UninsuredMotoristOption>sample string 17</UninsuredMotoristOption>
  <UninsuredMotoristSymbol>sample string 16</UninsuredMotoristSymbol>
</PolicyDetailsGarageCoveragesDTO>

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 'PolicyDetailsGarageCoveragesDTO'.

Response Information

Resource Description

Upserting result

ActionResultDTO
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "InfoMessage": "sample string 4"
}

application/xml, text/xml

Sample:
<ActionResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <InfoMessage>sample string 4</InfoMessage>
  <IsSuccess>true</IsSuccess>
</ActionResultDTO>