PUT api/Fleet/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

FleetDto
NameDescriptionTypeAdditional information
Id

integer

None.

Created

date

None.

Updated

date

None.

Name

string

Required

Max length: 100

Min length: 1

Phone

string

Required

Max length: 50

Min length: 1

LogoUrl

string

Required

Data type: Url

Max length: 2083

Min length: 1

ReservationProcessor

ReservationProcessor

Required

ICabbiData

ICabbiDataDto

None.

Currency

string

Required

Max length: 3

TimeZone

string

Required

Max length: 50

UseCommonPhoneNumber

boolean

None.

CommonPhoneNumber

string

Max length: 50

SiteId

string

Max length: 50

UseAccountForCreditCardPayments

boolean

None.

CreditCardAccountId

string

Max length: 50

AllowFixedPriceForWebBookers

boolean

None.

GoogleMapsApiKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "created": "2024-04-24T20:21:13.2272349+00:00",
  "updated": "2024-04-24T20:21:13.2272349+00:00",
  "name": "sample string 1",
  "phone": "sample string 2",
  "logoUrl": "sample string 3",
  "reservationProcessor": "None",
  "iCabbiData": {
    "id": 1,
    "cretaed": "2024-04-24T20:21:13.2272349+00:00",
    "updated": "2024-04-24T20:21:13.2272349+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"
}

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.