GET api/FleetOnlineRenewal/GetQuoteFromQuoteIdForCardPayment?quoteId={quoteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
quoteId

integer

Required

Body Parameters

None.

Response Information

Resource Description

QuoteForPayByCardDto
NameDescriptionTypeAdditional information
QuoteId

integer

None.

PriceIncTax

decimal number

None.

CustomerName

string

None.

Covers

Collection of CoverSummaryDto

None.

Response Formats

application/json, text/json

Sample:
{
  "QuoteId": 1,
  "PriceIncTax": 2.0,
  "CustomerName": "sample string 3",
  "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"
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<QuoteForPayByCardDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto">
  <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 3</CustomerName>
  <PriceIncTax>2</PriceIncTax>
  <QuoteId>1</QuoteId>
</QuoteForPayByCardDto>