POST v1/Policies/Details/Garage/Operations

Upsert policy details garage operations

Request Information

URI Parameters

None.

Body Parameters

Operations

PolicyDetailsGarageOperationsDTO
NameDescriptionTypeAdditional information
PolicyDetailsID

integer

None.

Types

Collection of string

None.

OtherType

string

None.

FranchiseType

string

None.

CarPercentage

string

None.

TruckTractorPercentage

string

None.

MotorcyclePercentage

string

None.

RecreationalVehiclePercentage

string

None.

SnowmobilePercentage

string

None.

OtherDealer

string

None.

OtherPercentage

string

None.

AnnualGrossSalesAmount

string

None.

GallonsPumpedPerYearAmount

string

None.

NumDealerRepairerPlatesAmount

string

None.

NumTrasportationPlatesAmount

string

None.

NumHoistsAmount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyDetailsID": 1,
  "Types": [
    "sample string 1",
    "sample string 2"
  ],
  "OtherType": "sample string 2",
  "FranchiseType": "sample string 3",
  "CarPercentage": "sample string 4",
  "TruckTractorPercentage": "sample string 5",
  "MotorcyclePercentage": "sample string 6",
  "RecreationalVehiclePercentage": "sample string 7",
  "SnowmobilePercentage": "sample string 8",
  "OtherDealer": "sample string 9",
  "OtherPercentage": "sample string 10",
  "AnnualGrossSalesAmount": "sample string 11",
  "GallonsPumpedPerYearAmount": "sample string 12",
  "NumDealerRepairerPlatesAmount": "sample string 13",
  "NumTrasportationPlatesAmount": "sample string 14",
  "NumHoistsAmount": "sample string 15"
}

application/xml, text/xml

Sample:
<PolicyDetailsGarageOperationsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.Garage">
  <AnnualGrossSalesAmount>sample string 11</AnnualGrossSalesAmount>
  <CarPercentage>sample string 4</CarPercentage>
  <FranchiseType>sample string 3</FranchiseType>
  <GallonsPumpedPerYearAmount>sample string 12</GallonsPumpedPerYearAmount>
  <MotorcyclePercentage>sample string 6</MotorcyclePercentage>
  <NumDealerRepairerPlatesAmount>sample string 13</NumDealerRepairerPlatesAmount>
  <NumHoistsAmount>sample string 15</NumHoistsAmount>
  <NumTrasportationPlatesAmount>sample string 14</NumTrasportationPlatesAmount>
  <OtherDealer>sample string 9</OtherDealer>
  <OtherPercentage>sample string 10</OtherPercentage>
  <OtherType>sample string 2</OtherType>
  <PolicyDetailsID>1</PolicyDetailsID>
  <RecreationalVehiclePercentage>sample string 7</RecreationalVehiclePercentage>
  <SnowmobilePercentage>sample string 8</SnowmobilePercentage>
  <TruckTractorPercentage>sample string 5</TruckTractorPercentage>
  <Types xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Types>
</PolicyDetailsGarageOperationsDTO>

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

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>