POST api/TenantFleets

Request Information

URI Parameters

None.

Body Parameters

TenantFleetDto
NameDescriptionTypeAdditional information
Id

integer

None.

TenantId

integer

None.

FleetId

integer

None.

Tenant

TenantDto

None.

Fleet

FleetDto

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "tenantId": 2,
  "fleetId": 3,
  "tenant": {
    "id": 1,
    "applicationKey": "sample string 1",
    "fleets": [
      {
        "id": 1,
        "created": "2024-12-07T18:06:14.3263736+00:00",
        "updated": "2024-12-07T18:06:14.3263736+00:00",
        "name": "sample string 1",
        "phone": "sample string 2",
        "logoUrl": "sample string 3",
        "reservationProcessor": "None",
        "iCabbiData": {
          "id": 1,
          "cretaed": "2024-12-07T18:06:14.3263736+00:00",
          "updated": "2024-12-07T18:06:14.3263736+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"
      },
      {
        "id": 1,
        "created": "2024-12-07T18:06:14.3263736+00:00",
        "updated": "2024-12-07T18:06:14.3263736+00:00",
        "name": "sample string 1",
        "phone": "sample string 2",
        "logoUrl": "sample string 3",
        "reservationProcessor": "None",
        "iCabbiData": {
          "id": 1,
          "cretaed": "2024-12-07T18:06:14.3263736+00:00",
          "updated": "2024-12-07T18:06:14.3263736+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"
      }
    ],
    "exclusivityArea": "sample string 2",
    "allowCashPayment": true,
    "allowCreditCardPayment": true,
    "name": "sample string 5",
    "paymentKey": "sample string 6",
    "creditCardDiscountPercentage": 1.0,
    "facebookAppId": "sample string 7",
    "googleWebClientId": "sample string 8",
    "googleAndroidClientId": "sample string 9",
    "googleiOsClientId": "sample string 10",
    "googleMapsApiKey": "sample string 11",
    "twilioSID": "sample string 12",
    "twilioToken": "sample string 13",
    "twilioFromNumber": "sample string 14",
    "etaScale": 1,
    "sendSmsOnDrivarAssign": true,
    "webSmsUrl": "sample string 16",
    "androidSmsUrl": "sample string 17",
    "iosSmsUrl": "sample string 18",
    "creditCardPrepayment": true,
    "taxToChargePercent": 1.0,
    "chargeForPassangerAfter": 1,
    "perAdditionalPassangerPrice": 1.0,
    "cityTaxes": [
      {
        "tenantId": 1,
        "cityName": "sample string 2",
        "taxPercent": 3.0,
        "id": 4
      },
      {
        "tenantId": 1,
        "cityName": "sample string 2",
        "taxPercent": 3.0,
        "id": 4
      }
    ],
    "disableClosestAvailabeleCar": true,
    "dropoffMustBeDefined": true,
    "showCanceledJobsOnBookingHistory": true,
    "trackBookingVehicleIcon": "sample string 23",
    "cancelationPolicyLimit": 1,
    "cancelationPolicyBefore": "None",
    "cancelationPolicyAfter": "None",
    "enablePromoCodes": true,
    "enableAdditinalGooglePacesFee": true,
    "tenantGooglePlaceFees": [
      {
        "id": 1,
        "tenantId": 2,
        "googlePlaceId": "sample string 3",
        "price": 4.0
      },
      {
        "id": 1,
        "tenantId": 2,
        "googlePlaceId": "sample string 3",
        "price": 4.0
      }
    ]
  },
  "fleet": {
    "id": 1,
    "created": "2024-12-07T18:06:14.3263736+00:00",
    "updated": "2024-12-07T18:06:14.3263736+00:00",
    "name": "sample string 1",
    "phone": "sample string 2",
    "logoUrl": "sample string 3",
    "reservationProcessor": "None",
    "iCabbiData": {
      "id": 1,
      "cretaed": "2024-12-07T18:06:14.3263736+00:00",
      "updated": "2024-12-07T18:06:14.3263736+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.