GET api/LatestOffers/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RateVehicleData
NameDescriptionTypeAdditional information
VehicleId

integer

None.

CAPVehicleId

integer

None.

RangeId

integer

None.

ManufacturerId

integer

None.

CAPCode

string

None.

ModelYear

string

None.

Derivative

string

None.

Model

string

None.

Range

string

None.

Manufacturer

string

None.

BodyStyle

string

None.

Sector

string

None.

DriverTrain

string

None.

FuelType

string

None.

FuelDelivery

string

None.

Transmission

string

None.

Payload

decimal number

None.

LoadLength

decimal number

None.

Price

decimal number

None.

Label

VehicleLabel

None.

InStock

boolean

None.

Rates

Collection of RateData

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VehicleId": 1,
    "CAPVehicleId": 2,
    "RangeId": 3,
    "ManufacturerId": 4,
    "CAPCode": "sample string 5",
    "ModelYear": "sample string 6",
    "Derivative": "sample string 7",
    "Model": "sample string 8",
    "Range": "sample string 9",
    "Manufacturer": "sample string 10",
    "BodyStyle": "sample string 11",
    "Sector": "sample string 12",
    "DriverTrain": "sample string 13",
    "FuelType": "sample string 14",
    "FuelDelivery": "sample string 15",
    "Transmission": "sample string 16",
    "Payload": 1.1,
    "LoadLength": 1.1,
    "Price": 17.0,
    "Label": 0,
    "InStock": true,
    "Rates": [
      {
        "RateId": 1,
        "Price": 2.0,
        "ContractType": "sample string 3",
        "Milage": 4,
        "Introducer": 5.0,
        "Months": 6,
        "InitialRentalPeriod": 7,
        "InitialRental": 8.0,
        "Funder": "sample string 9",
        "Maintenance": true,
        "Metallic": true,
        "Business": true,
        "Reference": "sample string 13",
        "DataLine": "sample string 14",
        "ModelYear": "sample string 15",
        "RateStatus": "sample string 16",
        "DocumentFee": 17.0,
        "RateType": "sample string 18",
        "BalloonPayment": 19.0,
        "isActive": true,
        "FeedItems": [
          "18fb975c-472f-448b-847e-e6500975769c",
          "a4be6287-a382-4b9c-ab64-d81ee178900c"
        ]
      },
      {
        "RateId": 1,
        "Price": 2.0,
        "ContractType": "sample string 3",
        "Milage": 4,
        "Introducer": 5.0,
        "Months": 6,
        "InitialRentalPeriod": 7,
        "InitialRental": 8.0,
        "Funder": "sample string 9",
        "Maintenance": true,
        "Metallic": true,
        "Business": true,
        "Reference": "sample string 13",
        "DataLine": "sample string 14",
        "ModelYear": "sample string 15",
        "RateStatus": "sample string 16",
        "DocumentFee": 17.0,
        "RateType": "sample string 18",
        "BalloonPayment": 19.0,
        "isActive": true,
        "FeedItems": [
          "18fb975c-472f-448b-847e-e6500975769c",
          "a4be6287-a382-4b9c-ab64-d81ee178900c"
        ]
      }
    ]
  },
  {
    "VehicleId": 1,
    "CAPVehicleId": 2,
    "RangeId": 3,
    "ManufacturerId": 4,
    "CAPCode": "sample string 5",
    "ModelYear": "sample string 6",
    "Derivative": "sample string 7",
    "Model": "sample string 8",
    "Range": "sample string 9",
    "Manufacturer": "sample string 10",
    "BodyStyle": "sample string 11",
    "Sector": "sample string 12",
    "DriverTrain": "sample string 13",
    "FuelType": "sample string 14",
    "FuelDelivery": "sample string 15",
    "Transmission": "sample string 16",
    "Payload": 1.1,
    "LoadLength": 1.1,
    "Price": 17.0,
    "Label": 0,
    "InStock": true,
    "Rates": [
      {
        "RateId": 1,
        "Price": 2.0,
        "ContractType": "sample string 3",
        "Milage": 4,
        "Introducer": 5.0,
        "Months": 6,
        "InitialRentalPeriod": 7,
        "InitialRental": 8.0,
        "Funder": "sample string 9",
        "Maintenance": true,
        "Metallic": true,
        "Business": true,
        "Reference": "sample string 13",
        "DataLine": "sample string 14",
        "ModelYear": "sample string 15",
        "RateStatus": "sample string 16",
        "DocumentFee": 17.0,
        "RateType": "sample string 18",
        "BalloonPayment": 19.0,
        "isActive": true,
        "FeedItems": [
          "18fb975c-472f-448b-847e-e6500975769c",
          "a4be6287-a382-4b9c-ab64-d81ee178900c"
        ]
      },
      {
        "RateId": 1,
        "Price": 2.0,
        "ContractType": "sample string 3",
        "Milage": 4,
        "Introducer": 5.0,
        "Months": 6,
        "InitialRentalPeriod": 7,
        "InitialRental": 8.0,
        "Funder": "sample string 9",
        "Maintenance": true,
        "Metallic": true,
        "Business": true,
        "Reference": "sample string 13",
        "DataLine": "sample string 14",
        "ModelYear": "sample string 15",
        "RateStatus": "sample string 16",
        "DocumentFee": 17.0,
        "RateType": "sample string 18",
        "BalloonPayment": 19.0,
        "isActive": true,
        "FeedItems": [
          "18fb975c-472f-448b-847e-e6500975769c",
          "a4be6287-a382-4b9c-ab64-d81ee178900c"
        ]
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfRateVehicleData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetRateManager.Infrastructure.ViewModels">
  <RateVehicleData>
    <BodyStyle>sample string 11</BodyStyle>
    <CAPCode>sample string 5</CAPCode>
    <CAPVehicleId>2</CAPVehicleId>
    <Derivative>sample string 7</Derivative>
    <DriverTrain>sample string 13</DriverTrain>
    <FuelDelivery>sample string 15</FuelDelivery>
    <FuelType>sample string 14</FuelType>
    <InStock>true</InStock>
    <Label>None</Label>
    <LoadLength>1.1</LoadLength>
    <Manufacturer>sample string 10</Manufacturer>
    <ManufacturerId>4</ManufacturerId>
    <Model>sample string 8</Model>
    <ModelYear>sample string 6</ModelYear>
    <Payload>1.1</Payload>
    <Price>17</Price>
    <Range>sample string 9</Range>
    <RangeId>3</RangeId>
    <Rates>
      <RateData>
        <BalloonPayment>19</BalloonPayment>
        <Business>true</Business>
        <ContractType>sample string 3</ContractType>
        <DataLine>sample string 14</DataLine>
        <DocumentFee>17</DocumentFee>
        <FeedItems xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>18fb975c-472f-448b-847e-e6500975769c</d5p1:guid>
          <d5p1:guid>a4be6287-a382-4b9c-ab64-d81ee178900c</d5p1:guid>
        </FeedItems>
        <Funder>sample string 9</Funder>
        <InitialRental>8</InitialRental>
        <InitialRentalPeriod>7</InitialRentalPeriod>
        <Introducer>5</Introducer>
        <Maintenance>true</Maintenance>
        <Metallic>true</Metallic>
        <Milage>4</Milage>
        <ModelYear>sample string 15</ModelYear>
        <Months>6</Months>
        <Price>2</Price>
        <RateId>1</RateId>
        <RateStatus>sample string 16</RateStatus>
        <RateType>sample string 18</RateType>
        <Reference>sample string 13</Reference>
        <isActive>true</isActive>
      </RateData>
      <RateData>
        <BalloonPayment>19</BalloonPayment>
        <Business>true</Business>
        <ContractType>sample string 3</ContractType>
        <DataLine>sample string 14</DataLine>
        <DocumentFee>17</DocumentFee>
        <FeedItems xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>18fb975c-472f-448b-847e-e6500975769c</d5p1:guid>
          <d5p1:guid>a4be6287-a382-4b9c-ab64-d81ee178900c</d5p1:guid>
        </FeedItems>
        <Funder>sample string 9</Funder>
        <InitialRental>8</InitialRental>
        <InitialRentalPeriod>7</InitialRentalPeriod>
        <Introducer>5</Introducer>
        <Maintenance>true</Maintenance>
        <Metallic>true</Metallic>
        <Milage>4</Milage>
        <ModelYear>sample string 15</ModelYear>
        <Months>6</Months>
        <Price>2</Price>
        <RateId>1</RateId>
        <RateStatus>sample string 16</RateStatus>
        <RateType>sample string 18</RateType>
        <Reference>sample string 13</Reference>
        <isActive>true</isActive>
      </RateData>
    </Rates>
    <Sector>sample string 12</Sector>
    <Transmission>sample string 16</Transmission>
    <VehicleId>1</VehicleId>
  </RateVehicleData>
  <RateVehicleData>
    <BodyStyle>sample string 11</BodyStyle>
    <CAPCode>sample string 5</CAPCode>
    <CAPVehicleId>2</CAPVehicleId>
    <Derivative>sample string 7</Derivative>
    <DriverTrain>sample string 13</DriverTrain>
    <FuelDelivery>sample string 15</FuelDelivery>
    <FuelType>sample string 14</FuelType>
    <InStock>true</InStock>
    <Label>None</Label>
    <LoadLength>1.1</LoadLength>
    <Manufacturer>sample string 10</Manufacturer>
    <ManufacturerId>4</ManufacturerId>
    <Model>sample string 8</Model>
    <ModelYear>sample string 6</ModelYear>
    <Payload>1.1</Payload>
    <Price>17</Price>
    <Range>sample string 9</Range>
    <RangeId>3</RangeId>
    <Rates>
      <RateData>
        <BalloonPayment>19</BalloonPayment>
        <Business>true</Business>
        <ContractType>sample string 3</ContractType>
        <DataLine>sample string 14</DataLine>
        <DocumentFee>17</DocumentFee>
        <FeedItems xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>18fb975c-472f-448b-847e-e6500975769c</d5p1:guid>
          <d5p1:guid>a4be6287-a382-4b9c-ab64-d81ee178900c</d5p1:guid>
        </FeedItems>
        <Funder>sample string 9</Funder>
        <InitialRental>8</InitialRental>
        <InitialRentalPeriod>7</InitialRentalPeriod>
        <Introducer>5</Introducer>
        <Maintenance>true</Maintenance>
        <Metallic>true</Metallic>
        <Milage>4</Milage>
        <ModelYear>sample string 15</ModelYear>
        <Months>6</Months>
        <Price>2</Price>
        <RateId>1</RateId>
        <RateStatus>sample string 16</RateStatus>
        <RateType>sample string 18</RateType>
        <Reference>sample string 13</Reference>
        <isActive>true</isActive>
      </RateData>
      <RateData>
        <BalloonPayment>19</BalloonPayment>
        <Business>true</Business>
        <ContractType>sample string 3</ContractType>
        <DataLine>sample string 14</DataLine>
        <DocumentFee>17</DocumentFee>
        <FeedItems xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>18fb975c-472f-448b-847e-e6500975769c</d5p1:guid>
          <d5p1:guid>a4be6287-a382-4b9c-ab64-d81ee178900c</d5p1:guid>
        </FeedItems>
        <Funder>sample string 9</Funder>
        <InitialRental>8</InitialRental>
        <InitialRentalPeriod>7</InitialRentalPeriod>
        <Introducer>5</Introducer>
        <Maintenance>true</Maintenance>
        <Metallic>true</Metallic>
        <Milage>4</Milage>
        <ModelYear>sample string 15</ModelYear>
        <Months>6</Months>
        <Price>2</Price>
        <RateId>1</RateId>
        <RateStatus>sample string 16</RateStatus>
        <RateType>sample string 18</RateType>
        <Reference>sample string 13</Reference>
        <isActive>true</isActive>
      </RateData>
    </Rates>
    <Sector>sample string 12</Sector>
    <Transmission>sample string 16</Transmission>
    <VehicleId>1</VehicleId>
  </RateVehicleData>
</ArrayOfRateVehicleData>