POST api/UserTenantAdministrators

Request Information

URI Parameters

None.

Body Parameters

UserTenantAdministratorDto
NameDescriptionTypeAdditional information
Id

integer

None.

TenantId

integer

None.

UserId

integer

None.

Tenant

TenantDto

None.

User

UserDto

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "tenantId": 2,
  "userId": 3,
  "tenant": {
    "id": 1,
    "applicationKey": "sample string 1",
    "fleets": [
      {
        "id": 1,
        "created": "2018-07-21T13:41:05.4511037+00:00",
        "updated": "2018-07-21T13:41:05.4511037+00:00",
        "name": "sample string 1",
        "phone": "sample string 2",
        "logoUrl": "sample string 3",
        "reservationProcessor": "None",
        "iCabbiData": {
          "id": 1,
          "cretaed": "2018-07-21T13:41:05.4511037+00:00",
          "updated": "2018-07-21T13:41:05.4511037+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"
      },
      {
        "id": 1,
        "created": "2018-07-21T13:41:05.4511037+00:00",
        "updated": "2018-07-21T13:41:05.4511037+00:00",
        "name": "sample string 1",
        "phone": "sample string 2",
        "logoUrl": "sample string 3",
        "reservationProcessor": "None",
        "iCabbiData": {
          "id": 1,
          "cretaed": "2018-07-21T13:41:05.4511037+00:00",
          "updated": "2018-07-21T13:41:05.4511037+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"
      }
    ],
    "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
  },
  "user": {
    "id": 1,
    "email": "sample string 1",
    "firstName": "sample string 2",
    "lastName": "sample string 3",
    "phone": "sample string 4"
  }
}

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.