POST api/Fleet

Request Information

URI Parameters

None.

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

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "created": "2018-02-19T04:27:22.4679341+00:00",
  "updated": "2018-02-19T04:27:22.4679341+00:00",
  "name": "sample string 1",
  "phone": "sample string 2",
  "logoUrl": "sample string 3",
  "reservationProcessor": "None",
  "iCabbiData": {
    "id": 1,
    "cretaed": "2018-02-19T04:27:22.4679341+00:00",
    "updated": "2018-02-19T04:27:22.4679341+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"
}

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.