POST api/UserFleetAdministrators

Request Information

URI Parameters

None.

Body Parameters

UserFleetAdministratorDto
NameDescriptionTypeAdditional information
Id

integer

None.

FleetId

integer

None.

UserId

integer

None.

Fleet

FleetDto

None.

User

UserDto

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "fleetId": 2,
  "userId": 3,
  "fleet": {
    "id": 1,
    "created": "2018-11-15T12:53:19.927383+00:00",
    "updated": "2018-11-15T12:53:19.927383+00:00",
    "name": "sample string 1",
    "phone": "sample string 2",
    "logoUrl": "sample string 3",
    "reservationProcessor": "None",
    "iCabbiData": {
      "id": 1,
      "cretaed": "2018-11-15T12:53:19.927383+00:00",
      "updated": "2018-11-15T12:53:19.927383+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
  },
  "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.