PUT api/FleetVehicleTypeMappings/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

FleetVehicleTypeMappingDto
NameDescriptionTypeAdditional information
Id

integer

None.

Created

date

None.

Updated

date

None.

FleetId

integer

Required

VehicleTypeId

integer

Required

ExternalTypeKey

string

Required

Max length: 50

Min length: 1

ExternalTypeId

string

Required

Max length: 50

Min length: 1

Fleet

FleetDto

None.

VehicleType

VehicleTypeDto

None.

ImageUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "created": "2024-03-28T21:57:01.8317103+00:00",
  "updated": "2024-03-28T21:57:01.8317103+00:00",
  "fleetId": 1,
  "vehicleTypeId": 2,
  "externalTypeKey": "sample string 3",
  "externalTypeId": "sample string 4",
  "fleet": {
    "id": 1,
    "created": "2024-03-28T21:57:01.8317103+00:00",
    "updated": "2024-03-28T21:57:01.8317103+00:00",
    "name": "sample string 1",
    "phone": "sample string 2",
    "logoUrl": "sample string 3",
    "reservationProcessor": "None",
    "iCabbiData": {
      "id": 1,
      "cretaed": "2024-03-28T21:57:01.8317103+00:00",
      "updated": "2024-03-28T21:57:01.8317103+00:00",
      "secretKey": "sample string 1",
      "appKey": "sample string 2",
      "iCabbiApiUrl": "sample string 3"
    },
    "currency": "sample string 4",
    "timeZone": "sample string 5",
    "useCommonPhoneNumber": true,
    "commonPhoneNumber": "sample string 7",
    "siteId": "sample string 8",
    "useAccountForCreditCardPayments": true,
    "creditCardAccountId": "sample string 10",
    "allowFixedPriceForWebBookers": true,
    "googleMapsApiKey": "sample string 12"
  },
  "vehicleType": {
    "id": 1,
    "created": "2024-03-28T21:57:01.8317103+00:00",
    "updated": "2024-03-28T21:57:01.8317103+00:00",
    "name": "sample string 1",
    "description": "sample string 2",
    "code": "sample string 3",
    "type": "Taxi",
    "seats": 1,
    "wheelcare": true,
    "executive": true,
    "saloon": true,
    "luggage": 1,
    "imageUrl": "sample string 4"
  },
  "imageUrl": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.