GET api/FleetOnlineNewBusiness/GetConfirmationDetails?customerId={customerId}&quoteId={quoteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

quoteId

integer

Required

Body Parameters

None.

Response Information

Resource Description

FleetOnlineConfirmationDetailsDto
NameDescriptionTypeAdditional information
QuoteId

integer

None.

PaymentMethod

string

None.

Amount

decimal number

None.

CustomerName

string

None.

Covers

Collection of CoverSummaryDto

None.

Vehicles

Collection of FleetOnlinePolicyAndVehicleDetailsDto

None.

Response Formats

application/json, text/json

Sample:
{
  "QuoteId": 1,
  "PaymentMethod": "sample string 2",
  "Amount": 3.0,
  "CustomerName": "sample string 4",
  "Covers": [
    {
      "CoverName": "sample string 1",
      "Units": 2,
      "CoverDetails": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "CoverName": "sample string 1",
      "Units": 2,
      "CoverDetails": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "Vehicles": [
    {
      "PolicyName": "sample string 1",
      "Units": 2,
      "VregList": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "PolicyName": "sample string 1",
      "Units": 2,
      "VregList": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<FleetOnlineConfirmationDetailsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto">
  <Amount>3</Amount>
  <Covers>
    <CoverSummaryDto>
      <CoverDetails xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CoverDetails>
      <CoverName>sample string 1</CoverName>
      <Units>2</Units>
    </CoverSummaryDto>
    <CoverSummaryDto>
      <CoverDetails xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CoverDetails>
      <CoverName>sample string 1</CoverName>
      <Units>2</Units>
    </CoverSummaryDto>
  </Covers>
  <CustomerName>sample string 4</CustomerName>
  <PaymentMethod>sample string 2</PaymentMethod>
  <QuoteId>1</QuoteId>
  <Vehicles>
    <FleetOnlinePolicyAndVehicleDetailsDto>
      <PolicyName>sample string 1</PolicyName>
      <Units>2</Units>
      <VregList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </VregList>
    </FleetOnlinePolicyAndVehicleDetailsDto>
    <FleetOnlinePolicyAndVehicleDetailsDto>
      <PolicyName>sample string 1</PolicyName>
      <Units>2</Units>
      <VregList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </VregList>
    </FleetOnlinePolicyAndVehicleDetailsDto>
  </Vehicles>
</FleetOnlineConfirmationDetailsDto>