POST api/UserTenantAdministrators
Request Information
URI Parameters
None.
Body Parameters
UserTenantAdministratorDtoName | Description | Type | Additional 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": "2024-12-07T17:42:42.5664854+00:00", "updated": "2024-12-07T17:42:42.5664854+00:00", "name": "sample string 1", "phone": "sample string 2", "logoUrl": "sample string 3", "reservationProcessor": "None", "iCabbiData": { "id": 1, "cretaed": "2024-12-07T17:42:42.5664854+00:00", "updated": "2024-12-07T17:42:42.5664854+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-07T17:42:42.5664854+00:00", "updated": "2024-12-07T17:42:42.5664854+00:00", "name": "sample string 1", "phone": "sample string 2", "logoUrl": "sample string 3", "reservationProcessor": "None", "iCabbiData": { "id": 1, "cretaed": "2024-12-07T17:42:42.5664854+00:00", "updated": "2024-12-07T17:42:42.5664854+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 } ] }, "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
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.