GET api/FleetOnlineRenewal/GetVehiclesDetails?quoteId={quoteId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
quoteId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MoveVehiclesDtoName | Description | Type | Additional information |
---|---|---|---|
ExistingVehicleList | Collection of string |
None. |
|
NewPolicies | Collection of PolicyDetailsDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "ExistingVehicleList": [ "sample string 1", "sample string 2" ], "NewPolicies": [ { "PolicyId": 1, "Name": "sample string 2", "CoversIncluded": [ "sample string 1", "sample string 2" ], "VregList": [ "sample string 1", "sample string 2" ], "Total": 3, "OverFlowVregList": [ "sample string 1", "sample string 2" ] }, { "PolicyId": 1, "Name": "sample string 2", "CoversIncluded": [ "sample string 1", "sample string 2" ], "VregList": [ "sample string 1", "sample string 2" ], "Total": 3, "OverFlowVregList": [ "sample string 1", "sample string 2" ] } ] }
application/xml, text/xml
Sample:
<MoveVehiclesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheAA.Bcas.Dto"> <ExistingVehicleList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ExistingVehicleList> <NewPolicies> <PolicyDetailsDto> <CoversIncluded xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </CoversIncluded> <Name>sample string 2</Name> <OverFlowVregList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </OverFlowVregList> <PolicyId>1</PolicyId> <Total>3</Total> <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> </PolicyDetailsDto> <PolicyDetailsDto> <CoversIncluded xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </CoversIncluded> <Name>sample string 2</Name> <OverFlowVregList xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </OverFlowVregList> <PolicyId>1</PolicyId> <Total>3</Total> <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> </PolicyDetailsDto> </NewPolicies> </MoveVehiclesDto>