SimpleCarSegment Data Type

Created by nick on 8/24/16.

Properties
name data type description
id number
number number
confirmationNumber string
startDate string
endDate string
vendor CarVendor
pickupLocation CarLocation
dropoffLocation CarLocation
status SegmentStatus
renterName string
voucher string
dropOffCharges string
rateInfo string
totalCost number
carType CarTypeCode
carClass CarClass
carTransmission CarTransmission
carFeature CarFeature

Example

{
  "id" : 12345,
  "number" : 12345,
  "confirmationNumber" : "...",
  "startDate" : "...",
  "endDate" : "...",
  "vendor" : {
    "longCode" : "...",
    "commissionRate" : 12345.0,
    "position" : 12345,
    "code" : "...",
    "name" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "pickupLocation" : {
    "address1" : "...",
    "address2" : "...",
    "state" : "...",
    "zipCode" : "...",
    "phone1" : "...",
    "phone2" : "...",
    "city" : {
      "code" : "...",
      "countryCode" : "...",
      "latitude" : 12345.0,
      "longitude" : 12345.0,
      "name" : "...",
      "stateOrCountry" : "...",
      "airportName" : "...",
      "region" : { },
      "timeZone" : { },
      "retentionOnly" : true,
      "position" : 12345,
      "unique" : true,
      "alias" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "locationId" : "...",
    "address3" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "dropoffLocation" : {
    "address1" : "...",
    "address2" : "...",
    "state" : "...",
    "zipCode" : "...",
    "phone1" : "...",
    "phone2" : "...",
    "city" : {
      "code" : "...",
      "countryCode" : "...",
      "latitude" : 12345.0,
      "longitude" : 12345.0,
      "name" : "...",
      "stateOrCountry" : "...",
      "airportName" : "...",
      "region" : { },
      "timeZone" : { },
      "retentionOnly" : true,
      "position" : 12345,
      "unique" : true,
      "alias" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "locationId" : "...",
    "address3" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "status" : {
    "code" : "...",
    "description" : "...",
    "accepted" : true,
    "confirmed" : true,
    "virtual" : true,
    "canceled" : true,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "renterName" : "...",
  "voucher" : "...",
  "dropOffCharges" : "...",
  "rateInfo" : "...",
  "totalCost" : 12345.0,
  "carType" : {
    "code" : "...",
    "description" : "...",
    "position" : 12345,
    "size" : 12345,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "carClass" : {
    "code" : "...",
    "description" : "...",
    "position" : 12345,
    "size" : 12345,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "carTransmission" : {
    "code" : "...",
    "description" : "...",
    "position" : 12345,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "carFeature" : {
    "code" : "...",
    "description" : "...",
    "position" : 12345,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  }
}