GET api/FleetOnlineRenewal/GetQuoteFromQuoteId?quoteId={quoteId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
quoteId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FleetOnlineRenewalDtoName | Description | Type | Additional information |
---|---|---|---|
QuoteId | integer |
None. |
|
CustomerName | string |
None. |
|
MembershipNumber | string |
None. |
|
RenewalDate | date |
None. |
|
PriceIncTax | decimal number |
None. |
|
CoverDetails | string |
None. |
|
TotalUnits | string |
None. |
|
PaymentMethod | string |
None. |
|
PrimaryEmail | string |
None. |
|
DiscountedPrice | decimal number |
None. |
|
OriginalPrice | decimal number |
None. |
|
CanApplyDiscount | boolean |
None. |
|
IsRecurringPayment | boolean |
None. |
|
DiscountPercentage | decimal number |
None. |
|
Covers | Collection of CoverSummaryDto |
None. |
|
IsFleetWide | boolean |
None. |
|
IsMiniBusRescue | boolean |
None. |
|
IsSpecialistVehicle | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "QuoteId": 1, "CustomerName": "sample string 2", "MembershipNumber": "sample string 3", "RenewalDate": "2025-01-09T15:52:45.7898397+00:00", "PriceIncTax": 5.0, "CoverDetails": "sample string 6", "TotalUnits": "sample string 7", "PaymentMethod": "sample string 8", "PrimaryEmail": "sample string 9", "DiscountedPrice": 10.0, "OriginalPrice": 11.0, "CanApplyDiscount": true, "IsRecurringPayment": true, "DiscountPercentage": 1.0, "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" ] } ], "IsFleetWide": true, "IsMiniBusRescue": true, "IsSpecialistVehicle": true }
application/xml, text/xml
Sample:
<FleetOnlineRenewalDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto"> <CanApplyDiscount>true</CanApplyDiscount> <CoverDetails>sample string 6</CoverDetails> <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 2</CustomerName> <DiscountPercentage>1</DiscountPercentage> <DiscountedPrice>10</DiscountedPrice> <IsFleetWide>true</IsFleetWide> <IsMiniBusRescue>true</IsMiniBusRescue> <IsRecurringPayment>true</IsRecurringPayment> <IsSpecialistVehicle>true</IsSpecialistVehicle> <MembershipNumber>sample string 3</MembershipNumber> <OriginalPrice>11</OriginalPrice> <PaymentMethod>sample string 8</PaymentMethod> <PriceIncTax>5</PriceIncTax> <PrimaryEmail>sample string 9</PrimaryEmail> <QuoteId>1</QuoteId> <RenewalDate>2025-01-09T15:52:45.7898397+00:00</RenewalDate> <TotalUnits>sample string 7</TotalUnits> </FleetOnlineRenewalDto>