Ekar Web Services Double Price
by ekar

Ekar Web Services Double Price

Base URI

http://www.ekarrac.com
Document

This web service provides the service to receive information of reservation and vehicle information from a booking engine. It can also approve or reject reservations that cannot be confirmed automatically by the system.

Document Content

In this document, you can find descriptions, requests and answers of the different functions that you can use. We will also see the different codes you can obtain and what formats we will use.

These are the functions you can use to receive and refuse reservations:

Date Format

All fields with dates, both requests and responses will be in the following format.

DD.MM.YYYY

Time Format

All fields that contain hours, both requests and responses, will be in the following format.

HH:MM

Boolean format

All fields that contain boolean, both requests and responses, will be in the following format.

true / false

API
GET /api/Currency/GetCurrency
GET /api/Fuel/GetFuel
GET /api/Branch/GetBranch
GET /api/Group/GetGroup
GET /api/Brand/GetBrand
GET /api/Models/GetModel
GET /api/Transmission/GetTransmission
GET /api/Locations/GetLocation
GET /api/ReservationType/GetReservationType
GET /api/AvailableVehicle/GetAvailableVehicle
POST /api/Reservation/PostReservation
GET /api/ReservationDetail/GetReservationDetail
GET /api/CancelReservation/GetCancelReservation
Request and Response Formats

Web service is published in two formats: SOAP standard (XML) (JSON)

In both formats, demand and response classes, complex types, date and time formats, etc. It uses the features described in this document, such as. Each service is published differently.

Currency Unit
GET /api/Currency/GetCurrency

For currency codes, we use three characters international standard designed by ISO 4217.

Request parameters

Username
string optional

Username

Example:
ekar
Password
string optional

Password

Example:
123456
type
string optional

type

Example:
type=json or type=xml

Responses

200 OK
Body

{ “Id”: 1, “Name”: “TL”, “CurrencyCode”: “TRY”, “Rate”: 1, “DisplayLocale”: null, “CustomFormatting”: null, “LimitedToStores”: null, “DisplayOrder”: 1 }

Object
Id
integer
Example:
1
Name
string
Example:
TL
CurrencyCode
string
Example:
TRY
Rate
integer
Example:
1
DisplayOrder
integer
Example:
1
Fuel Type
GET /api/Fuel/GetFuel

The fuel type is listed in two options as Diesel or Gasoline.

Request parameters

Username
string optional

Username

Example:
ekar
Password
string optional

Password

Example:
123456
type
string optional

type

Example:
type=json or type=xml
lang
string optional
Example:
lang=tr or lang=en

Responses

200 OK
Body

[ { “Id”: 1, “Name”: “GASOLINE”, “isActive”: true }, { “Id”: 2, “Name”: “DIESEL”, “isActive”: true } ]

Object
Id
integer
Example:
1
Name
string
Example:
GASOLINE
isActive
boolean
Example:
true
Branches
GET /api/Branch/GetBranch

The service is used to access branch lists.

Request parameters

Username
string optional

User Name

Example:
ekar
Password
string optional

Password

Example:
12346
type
string optional

The data type that you want to be listed (json / xml)

Example:
json
lang
string optional

Represents the language structure. Turkish (tr) is called in English (en).

Example:
lang=tr or lang=en

Responses

200 OK
Body

{ “Id”: 1, “Name”: “İSTANBUL”, “Address”: “Yeni Bosna Merkez Mah. Değirmenbahçe Cad. İstwest Konutları A2A Blok K.1 D.2”, “Phone”: “02128011605”, “Phone2”: null, “CellPhone”: null, “Fax”: null, “Email”: "istanbul@ekartur.com", “CityId”: 34, “TownId”: null, “PersonnelId”: null, “WorkStartTime”: “08:00:00”, “WorkStopTime”: “22:00:00”, “Latitude”: null, “Longitude”: null }

Object
Id
integer
Example:
1
Name
string
Example:
İSTANBUL
Address
string
Example:
www.ekartur.com
Phone
string
Example:
08503043527
Email
string
Example:
istanbul@ekartur.com
WorkStartTime
string
Example:
08:00:00
WorkStopTime
string
Example:
22:00:00
Car Group
GET /api/Group/GetGroup

The Car Groups are listed in our service.

Request parameters

Username
string required

Web Service username which is defined for you has to been entered.

Example:
ekar
Password
string required

Web Service password which is defined for you has to been entered.

Example:
123456
type
string required

Listing Type

Example:
type=json or type=xml
lang
string required

Language

Example:
lang=tr or lang=en

Responses

200 OK
Body

[{“Id”:1,“Name”:“CDMR”,“isActive”:true},{“Id”:2,“Name”:“CDAR”,“isActive”:true},{“Id”:3,“Name”:“CDMD”,“isActive”:true},{“Id”:4,“Name”:“CDAD”,“isActive”:true},{“Id”:5,“Name”:“CVMR”,“isActive”:true},{“Id”:6,“Name”:“CVAR”,“isActive”:true},{“Id”:7,“Name”:“CVMD”,“isActive”:true},{“Id”:8,“Name”:“CVAD”,“isActive”:true},{“Id”:9,“Name”:“CWMR”,“isActive”:true},{“Id”:10,“Name”:“CWAR”,“isActive”:true},{“Id”:11,“Name”:“CWMD”,“isActive”:true},{“Id”:12,“Name”:“CWAD”,“isActive”:true},{“Id”:13,“Name”:“CFMR”,“isActive”:true},{“Id”:14,“Name”:“CFAR”,“isActive”:true},{“Id”:15,“Name”:“CFMD”,“isActive”:true},{“Id”:16,“Name”:“CFAD”,“isActive”:true},{“Id”:17,“Name”:“EDMR”,“isActive”:true},{“Id”:18,“Name”:“EDAR”,“isActive”:true},{“Id”:19,“Name”:“EDMD”,“isActive”:true},{“Id”:20,“Name”:“EDAD”,“isActive”:true},{“Id”:21,“Name”:“FDMR”,“isActive”:true},{“Id”:22,“Name”:“FDAR”,“isActive”:true},{“Id”:23,“Name”:“FDMD”,“isActive”:true},{“Id”:24,“Name”:“FDAD”,“isActive”:true},{“Id”:25,“Name”:“FFMR”,“isActive”:true},{“Id”:26,“Name”:“FFAR”,“isActive”:true},{“Id”:27,“Name”:“FFMD”,“isActive”:true},{“Id”:28,“Name”:“FFAD”,“isActive”:true},{“Id”:29,“Name”:“FVMR”,“isActive”:true},{“Id”:30,“Name”:“FVAR”,“isActive”:true},{“Id”:31,“Name”:“FVMD”,“isActive”:true},{“Id”:32,“Name”:“FVAD”,“isActive”:true},{“Id”:33,“Name”:“IDMR”,“isActive”:true},{“Id”:34,“Name”:“IDAR”,“isActive”:true},{“Id”:35,“Name”:“IDMD”,“isActive”:true},{“Id”:36,“Name”:“IDAD”,“isActive”:true},{“Id”:37,“Name”:“IFMR”,“isActive”:true},{“Id”:38,“Name”:“IFAR”,“isActive”:true},{“Id”:39,“Name”:“IFMD”,“isActive”:true},{“Id”:40,“Name”:“IFAD”,“isActive”:true},{“Id”:41,“Name”:“LDMR”,“isActive”:true},{“Id”:42,“Name”:“LDAR”,“isActive”:true},{“Id”:43,“Name”:“LDMD”,“isActive”:true},{“Id”:44,“Name”:“LDAD”,“isActive”:true},{“Id”:45,“Name”:“MDMR”,“isActive”:true},{“Id”:46,“Name”:“MDAR”,“isActive”:true},{“Id”:47,“Name”:“MDMD”,“isActive”:true},{“Id”:48,“Name”:“MDAD”,“isActive”:true},{“Id”:49,“Name”:“PDMR”,“isActive”:true},{“Id”:50,“Name”:“PDAR”,“isActive”:true},{“Id”:51,“Name”:“PDMD”,“isActive”:true},{“Id”:52,“Name”:“PDAD”,“isActive”:true},{“Id”:53,“Name”:“PVMR”,“isActive”:true},{“Id”:54,“Name”:“PVAR”,“isActive”:true},{“Id”:55,“Name”:“PVMD”,“isActive”:true},{“Id”:56,“Name”:“PVAD”,“isActive”:true},{“Id”:57,“Name”:“SDMR”,“isActive”:true},{“Id”:58,“Name”:“SDAR”,“isActive”:true},{“Id”:59,“Name”:“SDMD”,“isActive”:true},{“Id”:60,“Name”:“SDAD”,“isActive”:true},{“Id”:61,“Name”:“SVMR”,“isActive”:true},{“Id”:62,“Name”:“SVAR”,“isActive”:true},{“Id”:63,“Name”:“SVMD”,“isActive”:true},{“Id”:64,“Name”:“SVAD”,“isActive”:true}]

Object
Id
integer

Group Id

Example:
1
Name
string

Group Name

Example:
CDMD
isActive
boolean

This is the field indicating the Active or Passive state.

Example:
true

Examples

GET /api/Group/GetGroup?username=ekar&password=123456&type=json&lang=tr?Username=ekar&Password=123456&type=type=json veya type=xml&lang=lang=tr veya lang=en HTTP/1.1 

HTTP/1.1 200 OK 

Content-Type: application/json

[{"Id":1,"Name":"CDMR","isActive":true},{"Id":2,"Name":"CDAR","isActive":true},{"Id":3,"Name":"CDMD","isActive":true},{"Id":4,"Name":"CDAD","isActive":true},{"Id":5,"Name":"CVMR","isActive":true},{"Id":6,"Name":"CVAR","isActive":true},{"Id":7,"Name":"CVMD","isActive":true},{"Id":8,"Name":"CVAD","isActive":true},{"Id":9,"Name":"CWMR","isActive":true},{"Id":10,"Name":"CWAR","isActive":true},{"Id":11,"Name":"CWMD","isActive":true},{"Id":12,"Name":"CWAD","isActive":true},{"Id":13,"Name":"CFMR","isActive":true},{"Id":14,"Name":"CFAR","isActive":true},{"Id":15,"Name":"CFMD","isActive":true},{"Id":16,"Name":"CFAD","isActive":true},{"Id":17,"Name":"EDMR","isActive":true},{"Id":18,"Name":"EDAR","isActive":true},{"Id":19,"Name":"EDMD","isActive":true},{"Id":20,"Name":"EDAD","isActive":true},{"Id":21,"Name":"FDMR","isActive":true},{"Id":22,"Name":"FDAR","isActive":true},{"Id":23,"Name":"FDMD","isActive":true},{"Id":24,"Name":"FDAD","isActive":true},{"Id":25,"Name":"FFMR","isActive":true},{"Id":26,"Name":"FFAR","isActive":true},{"Id":27,"Name":"FFMD","isActive":true},{"Id":28,"Name":"FFAD","isActive":true},{"Id":29,"Name":"FVMR","isActive":true},{"Id":30,"Name":"FVAR","isActive":true},{"Id":31,"Name":"FVMD","isActive":true},{"Id":32,"Name":"FVAD","isActive":true},{"Id":33,"Name":"IDMR","isActive":true},{"Id":34,"Name":"IDAR","isActive":true},{"Id":35,"Name":"IDMD","isActive":true},{"Id":36,"Name":"IDAD","isActive":true},{"Id":37,"Name":"IFMR","isActive":true},{"Id":38,"Name":"IFAR","isActive":true},{"Id":39,"Name":"IFMD","isActive":true},{"Id":40,"Name":"IFAD","isActive":true},{"Id":41,"Name":"LDMR","isActive":true},{"Id":42,"Name":"LDAR","isActive":true},{"Id":43,"Name":"LDMD","isActive":true},{"Id":44,"Name":"LDAD","isActive":true},{"Id":45,"Name":"MDMR","isActive":true},{"Id":46,"Name":"MDAR","isActive":true},{"Id":47,"Name":"MDMD","isActive":true},{"Id":48,"Name":"MDAD","isActive":true},{"Id":49,"Name":"PDMR","isActive":true},{"Id":50,"Name":"PDAR","isActive":true},{"Id":51,"Name":"PDMD","isActive":true},{"Id":52,"Name":"PDAD","isActive":true},{"Id":53,"Name":"PVMR","isActive":true},{"Id":54,"Name":"PVAR","isActive":true},{"Id":55,"Name":"PVMD","isActive":true},{"Id":56,"Name":"PVAD","isActive":true},{"Id":57,"Name":"SDMR","isActive":true},{"Id":58,"Name":"SDAR","isActive":true},{"Id":59,"Name":"SDMD","isActive":true},{"Id":60,"Name":"SDAD","isActive":true},{"Id":61,"Name":"SVMR","isActive":true},{"Id":62,"Name":"SVAR","isActive":true},{"Id":63,"Name":"SVMD","isActive":true},{"Id":64,"Name":"SVAD","isActive":true}]
Vehicle Brand
GET /api/Brand/GetBrand

The service is listed in the list of vehicle brands.

Request parameters

Username
string optional

Enter the Web Service User Name defined by you.

Example:
ekar
Password
string optional

The Web Service Password defined by you must be entered.

Example:
123456
type
string optional

Listing Type

Example:
type=json or type=xml
lang
string optional

Language

Example:
lang=tr or lang=en

Responses

200 OK
Body

“Id”: 2, “Name”: “AUDI”, “isActive”: true

Object
Id
integer

Brand Id

Example:
2
Name
string

Brand Name

Example:
AUDI
isActive
boolean

It shows the active or passive position of Brand. The active ones will be considered valid. Passive brands will not be supplied.

Example:
true
Vehicle Model
GET /api/Models/GetModel

The Car Brands are listed in our web service list.

Request parameters

Username
string optional

Enter the Web Service User Name defined by you.

Example:
ekar
Password
string optional

The Web Service Password defined by you must be entered.

Example:
123456
type
string optional

Listing Type

Example:
type=json or type=xml
lang
string optional
Example:
lang=tr or lang=en

Responses

200 OK
Body

“Id”: 1, “BrandId”: 2, “Name”: “A3”, “saveUser”: 1, “saveDate”: “2018-09-14T12:21:00”, “editUser”: null, “editDate”: null, “isActive”: true

Object
Id
integer

Model Id

Example:
1
BrandId
integer

Brand Id

Example:
2
Name
string

Model Name

Example:
A3
isActive
boolean

It is the active or passive state of the model. The active ones will be considered valid.

Example:
true
Gearbox
GET /api/Transmission/GetTransmission

Vehicle is the service that lists the transmission types.

Request parameters

Username
string required

Enter the Web Service User Name defined by you.

Example:
ekar
Password
string required

The Web Service Password defined by you must be entered.

Example:
123456
type
string required

Listing Type

Example:
type=json or type=xml
lang
string required

Language

Example:
lang=tr or lang=en

Responses

200 OK
Body

{ “Id”: 1, “Name”: “AUTOMATIC”, “isActive”: true }, { “Id”: 2, “Name”: “MANUEL”, “isActive”: true }

Object
Id
integer

Gearbox Id

Example:
1
Name
string

Gearbox Name

Example:
AUTOMATIC
isActive
boolean

This is the field indicating the Active or Passive state.

Example:
true
Location
GET /api/Locations/GetLocation

Our services are listed in our locations. The location of the vehicle buying location and the drop-off location are calculated automatically according to the latitude longitude information.

Request parameters

Username
string optional

Enter the Web Service User Name defined by you.

Example:
ekar
Password
string optional

The Web Service Password defined by you must be entered.

Example:
123456
type
string optional

Listing Type

Example:
type=json or type=xml
lang
string optional

Language

Example:
lang=tr or lang=en
Search
string optional

Searching Location

Example:
ADANA

Responses

200 OK
Body

“Id”: 1, “Code”: “ADA51”, “Name”: “Adana Havalimanı”, “Phone”: “08503043527”, “Address”: “Seyhan Mah. Meydan Cad. Seyhan/ADANA” “BranchId”: 1, “Latitude”: “36,999186”, “Longitude”: “35,3168502”

Object
Id
integer

Location Id

Example:
1
Code
string

Location Code

Example:
ADA51
Name
string

Location Name

Example:
Adana Havalimanı
Phone
string

Location Phone

Example:
08503043527
Address
string

Location Address

Example:
Seyhan Mah. Meydan Cad. Seyhan/ADANA
BranchId
integer

Branch Id

Example:
1
Latitude
string

Location Latitude Info

Example:
36,999186
Longitude
string

Location Longtitude Info

Example:
35,3168502
Reservation Type
GET /api/ReservationType/GetReservationType

The service is used to access the Reservation Resources lists.

Request parameters

Username
string optional

User Name

Example:
ekar
Password
string optional

Password

Example:
12346
type
string optional

The data type you want to list (json / xml)

Example:
type=json or type=xml

Responses

200 OK
Body
application/json;charset=UTF-8

{ “Id”: 1, “Name”: “DOMESTIC” }, { “Id”: 2, “Name”: “INTERNATIONAL” }

Object
Id
integer
Example:
1
Name
string
Example:
DOMESTIC
Available Vehicles
GET /api/AvailableVehicle/GetAvailableVehicle

Available Our service is used to access vehicle lists. Optionally, filters can be provided according to Brand, Model, Fuel Type and Transmission types.

Request parameters

Username
string required

User Name

Example:
ekar
Password
string required

Password

Example:
ekar1234
type
string required

The data type you want to list (json / xml)

Example:
json
PickupOffice
integer required

Pick Up Location Id

Example:
1
PickupDate
string required

Pick Up Date must be formatted dd.MM.yyyy

Example:
19.08.2018
PickupTime
string required

Pick Up time must be formatted hh:mm

Example:
10:00
ReturnOffice
integer required

Return Location Id

Example:
1
ReturnDate
string required

Return Date must be formatted dd.MM.yyyy

ReturnTime
string required

Return time must be formatted hh:mm

Curreny
string required

Currency

Example:
TRY, USD, EUR
lang
string required

Languages

Example:
lang=tr or lang=en
BrandId
string optional

Brand Id

Example:
1
ModelId
string optional

Model Id

Example:
1
FuelId
string optional

Fuel Type Id

Example:
1
TransmissionId
string optional

Gearbox Id

Example:
1

Responses

200 OK
Body

[ { “Id”: 3, “Brand”: “ALFA ROMEO”, “Model”: “75”, “Fuel”: “BENZİN”, “Gearbox”: “OTOMATIK”, “Door”: 1, “Passenger”: 1, “Image”: null, “Body”: “1/1”, “AgeLimit”: 21, “DrivingLicenseLimit”: 2, “DailyExchangeRate”: “Infinity”, “Exchange”: 0, “SIPPCode”: “CDMR”, “DailyPrice”: 180, “USDDailyPrice”: 0, “EURDailyPrice”: 0, “TotalPrice”: 750, “SecondTotalPrice” 750, “PickupOffice”: "Adana ", “ReturnOffice”: "Adana ", “OneWayFee”: 0, “RentalDays”: 5, “Explation”: “Kiralama Şartları
1. Findeks Sorgulaması yapılır.
2. KABIS”, “Extra”: [ { “Id”: 1, “Name”: “Navigasyon”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 2, “Name”: “Özel Şoför”, “Price”: 150, “DailyRate”: “Per Day” }, { “Id”: 3, “Name”: “Bebek Koltuğu (0-2 Yaş)”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 4, “Name”: “Ek Sürücü”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 5, “Name”: “Genç Sürücü”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 7, “Name”: “200 Kilometre Ek Sürüş Paketi”, “Price”: 70, “DailyRate”: “Per Rental” }, { “Id”: 8, “Name”: “300 Kilometre Ek Sürüş Paketi”, “Price”: 90, “DailyRate”: “Per Rental” }, { “Id”: 9, “Name”: “Muafiyetli Sigorta (CDW)”, “Price”: 0, “DailyRate”: “Per Day” }, { “Id”: 10, “Name”: “İptal Ücreti”, “Price”: 0, “DailyRate”: “Per Day” }, { “Id”: 11, “Name”: “Ücretsiz Rezervasyon Değişikliği”, “Price”: 0, “DailyRate”: “Per Day” }, { “Id”: 13, “Name”: “Lastik - Cam - Far Sigortası”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 14, “Name”: “Mobil Wi-Fi”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 15, “Name”: “Çocuk Koltuğu (+2 yaş)”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 16, “Name”: “Ferdi Kaza Sigortası (PAI)”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 17, “Name”: “Mini Hasar Sigortası”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 18, “Name”: “Full Kasko (SCDW)”, “Price”: 30, “DailyRate”: “Per Day” }, { “Id”: 19, “Name”: “100 Kilometre Ek Sürüş Paketi”, “Price”: 50, “DailyRate”: “Per Rental” }, { “Id”: 20, “Name”: “500 Kilometre Ek Sürüş Paketi”, “Price”: 110, “DailyRate”: “Per Rental” }, { “Id”: 21, “Name”: “400 Kilometre Ek Sürüş Paketi”, “Price”: 100, “DailyRate”: “Per Rental” }, { “Id”: 22, “Name”: “İhtiyari Mali Mesuliyet Sigortası”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 23, “Name”: “Erken Dönüş Paketi”, “Price”: 20, “DailyRate”: “Per Day” }, { “Id”: 24, “Name”: “Yıkama Bedeli”, “Price”: 20, “DailyRate”: “Per Rental” } ] } ]

Object
Id
integer
Example:
3
Brand
string
Example:
RENAULT
Model
string
Example:
CLIO
Fuel
string
Example:
GASOLINE
Gearbox
string
Example:
AUTOMATIC
Door
integer
Example:
1
Passenger
integer
Example:
1
Image
unknown nullable
Body
string
Example:
1/1
AgeLimit
integer
Example:
21
DrivingLicenseLimit
integer
Example:
2
DailyExchangeRate
string
Example:
Infinity
Exchange
integer
SIPPCode
string
Example:
CDMR
BasicDailyPrice
number
Example:
1000
PremiumDailyPrice
number
Example:
1000
USDDailyPrice
integer
EURDailyPrice
integer
BasicTotalPrice
integer

Basic Total Price

Example:
750
PremiumTotalPrice
number

Premium Total Price

Example:
250
PickupOffice
string
Example:
Adana
ReturnOffice
string
Example:
Adana
OneWayFee
integer
ExcessAmount
string
BasicPriceIncludedServices
string
PremiumPriceIncludedServices
string
RentalDays
integer
Example:
5
Explanation
string
Example:
In order for all groups to complete your reservation and receive your vehicle, your financial analysis must comply with the Ekar Global rental criteria. In order to receive the vehicle, it is compulsory to present a document with a TC number. Your financial analysis is based on KKB Kredi Kayıt Bürosu A.Ş. (KKB shortly or Credit Record Office.) and your T.C. ID number and GSM number registered in T.C bank. After receiving this information in the inquiry, you must confirm the message sent to your GSM number in the T.C bank. You acknowledge and agree that you have read and understood this inquiry in accordance with your information and express consent and at the https://www.kkb.com.tr/gizlilik-politikasi address. In order to ensure the confidentiality of the information processed by KKB as a result of this questioning, Ekar Turizm San. Tic. Ltd. Has no responsibility.
Extra
Array
Object
Id
integer
Example:
1
Name
string
Example:
GPS
Price
integer
Example:
20
DailyRate
string
Example:
Per Day
Reservation
POST /api/Reservation/PostReservation

Reservation

Request parameters

Username
string required

User Name

Example:
ekar
Password
string required

Password

Example:
ekar1234
type
string required

The data type you want to list (json / xml)

Example:
json
lang
string required

Language

Example:
lang=tr or lang=en
CustomerName
string required

Customer name (Uppercase - English character) (required)

Example:
MEHMET
CustomerSurname
string required

Customer surname (Uppercase - English character) (required)

Example:
BOSTANCI
TCIdentificationNumber
string required

T. C. Citizenship Number (required)

Example:
12345678916
PassportNumber
string required

Passport Number or foreign customers (if the customer is foreigner)

Example:
RT123123
CustomerPhone
string required

Customer mobile (required)

Example:
08503043527
CustomerAddress
string required

Customer address (required)

Example:
Yenibosna Merkez Mahallesi Değirmenbahçe Caddesi No:17 İstwest Çarşı A1A Blok No:176 Bahçelievler İSTANBUL
DeliveryTypeId
string required

Delivery typeId (required)

Example:
Office Pickup = 1, Address Delivery = 2
CurrencyId
string required

Currency (required)

Example:
TRY = 1, USD = 2, EURO = 3, GBP = 4
ReservationTypeId
string required

Reservation Type Id (1 = Net | 2 = Option) If option is selected, the Options field should be selected as maximum 30 days. (required)

Example:
Net = 1, Options = 2
Options
integer required

The option duration is valid if option 2 (Option) is selected in the reservation type field. Otherwise it will be defined as 0 (zero). (required)

Example:
1
ReferanceNumber
string required

Referance Number

Example:
RF123546
ExitLocationId
integer required

The Car Pick Up Location (required)

Example:
1
ExitDate
string required

The Car Pick Up Date (required)

Example:
19.09.2018
ExitTime
string required

The Car Pick Up Time (required)

Example:
10:00
ReturnLocationId
integer required

The Car Return Location (required)

Example:
1
ReturnDate
string required

The Car Return Date (required)

Example:
28.09.2018
ReturnTime
string required

The Car Return Time (required)

Example:
10:00
RentalDay
string required

Length of Rental (required)

Example:
13
Group
string required

The Car Group (required)

Example:
CDMD
Brand
string required

The Car Brand (required)

Example:
RENAULT
Model
string required

The Car Model (required)

Example:
CLIO
Gearbox
string required

The Car Gearbox (required)

Example:
AUTOMATIC
Fuel
string required

The Car Fuel Type (required)

Example:
DIESEL
PaymentMethodId
string required

Payment Type (required)

Example:
Cash = 1, Credit Card = 2, Invoice = 3
Package
string required

BASIC or PREMIUM (Required)

Example:
BASIC or PREMIUM
TotalPrice
string required

Total Rental Amount (Decimal) (required)

Example:
1000.00
DropPrice
string required

Drop off Fee(Decimal) (required)

Example:
1000.00
ServicesTotal
string required

Additional Services Total Amount (Decimal) (required)

Example:
1000.00
Total
string required

Total Amount (required)

Example:
1000.00
Explanation
string required

Reservation description

CardType
string required

Credit card type (Payment Method if credit card is required)

Example:
VISA, MASTER, AMEX
CardNumber
string required

Credit card number (Payment Method if credit card is required)

Example:
1234-1234-1234-5678
CVV
string required

CVV (Payment Method if credit card is required)

Example:
123
CardExpireDateMonth
string required

Expiry Date (MONTH) (Payment Method if credit card is required)

Example:
01
CardExpireDateYear
string required

Expiry Date (YEAR) - The last two digits of the year information must be entered. (Payment Method if credit card is required)

Example:
21
DailyPrice
string required

Daily rent (Decimal) (required)

Example:
120.00
Navigation
string required

Navigation service (Decimal) (Required if sold to Customer)

Example:
400.00
PrivateDriver
string required

Private driver service (Decimal) (Required if sold to customer)

Example:
0.00
BabyChair
string required

BabySeat (Decimal) (required if sold to customer)

Example:
0.00
AdditionalDriver
string required

Additional driver (Decimal) (Required if sold to Customer)

Example:
0.00
YoungDriver
string required

Young driver (Decimal) (required if sold to Customer)

Example:
0.00
AdditionalDrivingPackage100KM
string required

100 KM additional driving package (Decimal) (Required if sold to customer)

Example:
0.00
AdditionalDrivingPackage200KM
string required

200 KM additional driving package (Decimal) (Required if sold to customer)

Example:
0.00
AdditionalDrivingPackage300KM
string required

300 KM additional driving package (Decimal) (Required if sold to customer)

Example:
0.00
AdditionalDrivingPackage400KM
string required

400 KM additional driving package (Decimal) (Required if sold to customer)

Example:
0.00
AdditionalDrivingPackage500KM
string required

500 KM additional driving package (Decimal) (Required if sold to customer)

Example:
0.00
ExemptInsurance
string required

CDW Collision Damage Waiver with excess(Decimal) (Required if sold to Customer)

Example:
0.00
CancellationFee
string required

Cancellation fee (Decimal) (Required if sold to Customer)

Example:
0.00
FreeBookingAmendment
string required

Free booking change (Decimal) (Required if sold to Customer)

Example:
0.00
TireGlassFarInsurance
string required

Free booking change (Decimal) (Required if sold to Customer)

Example:
0.00
MobileWifi
string required

Mobile Wifi (Decimal) (Required if sold to Customer)

Example:
0.00
ChildChair
string required

Child Seat(Decimal) (Required if sold to Customer)

Example:
0.00
PersonalAccidentInsurance
string required

Personal Accident Insurance (PAI) (Decimal) (Required if sold to Customer)

Example:
0.00
MiniDamageInsurance
string required

Mini Damage Insurance (Decimal) (Required if sold to Customer)

Example:
0.00
FullInsurance
string required

Super Collision Damage Waiver (SCDW) (Decimal) (Required if sold to Customer)

Example:
0.00
AdditionalLiabilityInsurance
string required

Supplementary Liability Insurance(SLI) (Decimal) (Required if sold to Customer)

Example:
0.00
EarlyReturnPackage
string required

Early Returning Package (Decimal) (Required if sold to Customer)

Example:
0.00
Tax
string required

Tax 18% (Decimal) (Required)

Example:
0.00
ServiceTotal
string required

Total Additional Services (Decimal) (Required)

Example:
0.00
Subtotal
string required

Subtotal (Decimal) (Required)

Example:
0.00
GrandTotal
string required

Total (Decimal) (Required)

Example:
0.00

Responses

200 OK
Body

{ “Status”: “True”, “Message”: “Your booking has been successfully registered.” },

{ “Status”: “False”, “Message”: “Error: Your reservation information is missing or incorrect. Please check.” }

Object
Status
string

Status

Example:
True
Message
string

Message

Example:
Your booking has been successfully registered.
ReservationNumber
string

Reservation Number

Example:
REZ-154896

Examples

Payment Method Id = 3 or 1

POST /api/Reservation/PostReservation?Username=ekar&Password=ekar1234&type=json&lang=tr veya en&CustomerName=MEHMET&CustomerSurname=BOSTANCI&TCIdentificationNumber=12345678916&PassportNumber=RT123123&CustomerPhone=08503043527&CustomerAddress=Yenibosna Merkez Mahallesi Değirmenbahçe Caddesi No:17 İstwest Çarşı A1A Blok No:176 Bahçelievler İSTANBUL&DeliveryTypeId=Ofis Teslim = 1, Adres Teslim = 2&CurrencyId=TRY = 1, USD = 2, EURO = 3, GBP = 4&ReservationTypeId=Net = 1, Opsiyon = 2&Options=1&ReferanceNumber=RF123546&ExitLocationId=1&ExitDate=19.09.2018&ExitTime=10:00&ReturnLocationId=1&ReturnDate=28.09.2018&ReturnTime=10:00&RentalDay=13&Group=CDMD&Brand=RENAULT&Model=CLIO&Gearbox=OTOMATIK&Fuel=DIZEL&PaymentMethodId=Nakit = 1, Kredi Kartı = 2, Faturalama = 3&TotalPrice=1000.00&DropPrice=1000.00&ServicesTotal=1000.00&Total=1000.00&Explanation=Araç full depo verilip, full depo teslim alınacaktır.&DailyPrice=120.00&Navigation=400.00&PrivateDriver=0.00&BabyChair=0.00&AdditionalDriver=0.00&YoungDriver=0.00&AdditionalDrivingPackage100KM=0.00&AdditionalDrivingPackage200KM=0.00&AdditionalDrivingPackage300KM=0.00&AdditionalDrivingPackage400KM=0.00&AdditionalDrivingPackage500KM=0.00&ExemptInsurance=0.00&CancellationFee=0.00&FreeBookingAmendment=0.00&TireGlassFarInsurance=0.00&MobileWifi=0.00&ChildChair=0.00&PersonalAccidentInsurance=0.00&MiniDamageInsurance=0.00&FullInsurance=0.00&AdditionalLiabilityInsurance=0.00&EarlyReturnPackage=0.00&Tax=0.00&ServiceTotal=0.00&Subtotal=0.00&GrandTotal=0.00 HTTP/1.1 

HTTP/1.1 200 OK 

Content-Type: application/json

{
    "Status": "True",
    "Message": "Your booking has been successfully registered.",
    "ReservationNumber": "REZ-154896"
}

Payment Method Id = 2

POST /api/Reservation/PostReservation?Username=ekar&Password=ekar1234&type=json&lang=tr veya en&CustomerName=MEHMET&CustomerSurname=BOSTANCI&TCIdentificationNumber=12345678916&PassportNumber=RT123123&CustomerPhone=08503043527&CustomerAddress=Yenibosna Merkez Mahallesi Değirmenbahçe Caddesi No:17 İstwest Çarşı A1A Blok No:176 Bahçelievler İSTANBUL&DeliveryTypeId=Ofis Teslim = 1, Adres Teslim = 2&CurrencyId=TRY = 1, USD = 2, EURO = 3, GBP = 4&ReservationTypeId=Net = 1, Opsiyon = 2&Options=1&ReferanceNumber=RF123546&ExitLocationId=1&ExitDate=19.09.2018&ExitTime=10:00&ReturnLocationId=1&ReturnDate=28.09.2018&ReturnTime=10:00&RentalDay=13&Group=CDMD&Brand=RENAULT&Model=CLIO&Gearbox=OTOMATIK&Fuel=DIZEL&PaymentMethodId=Nakit = 1, Kredi Kartı = 2, Faturalama = 3&TotalPrice=1000.00&DropPrice=1000.00&ServicesTotal=1000.00&Total=1000.00&Explanation=Araç full depo verilip, full depo teslim alınacaktır.&CardType=VISA, MASTER, AMEX&CardNumber=1234-1234-1234-5678&CVV=123&CardExpireDateMonth=01&CardExpireDateYear=21&DailyPrice=120.00&Navigation=400.00&PrivateDriver=0.00&BabyChair=0.00&AdditionalDriver=0.00&YoungDriver=0.00&AdditionalDrivingPackage100KM=0.00&AdditionalDrivingPackage200KM=0.00&AdditionalDrivingPackage300KM=0.00&AdditionalDrivingPackage400KM=0.00&AdditionalDrivingPackage500KM=0.00&ExemptInsurance=0.00&CancellationFee=0.00&FreeBookingAmendment=0.00&TireGlassFarInsurance=0.00&MobileWifi=0.00&ChildChair=0.00&PersonalAccidentInsurance=0.00&MiniDamageInsurance=0.00&FullInsurance=0.00&AdditionalLiabilityInsurance=0.00&EarlyReturnPackage=0.00&Tax=0.00&ServiceTotal=0.00&Subtotal=0.00&GrandTotal=0.00 HTTP/1.1 

HTTP/1.1 200 OK 

Content-Type: application/json

{
    "Status": "True",
    "Message": "Your booking has been successfully registered.",
    "ReservationNumber": "REZ-154896"
}
Reservation Details
GET /api/ReservationDetail/GetReservationDetail

Reservation Details

Request parameters

Username
string optional

Username

Example:
ekar
Password
string optional

Password

Example:
ekar1234
type
string optional

The data type you want to list (json / xml)

Example:
json
lang
string optional

Language

Example:
lang=tr or lang=en
ReservationNumber
string optional

Reservation Number

Example:
REZ-012545

Responses

200 OK
Body

[{“DeliveryType”:“Ofis Teslim”,“Currency”:“TRY”,“ReservationType”:“Net”,“Options”:0,“ReservationNumber”:“REZ-001129”,“CustomerName”:“KADRI”,“CustomerSurname”:“CIGA”,“TCIdentificationNumber”:null,“PassportNumber”:null,“CustomerPhone”:“905555555555”,“CustomerAddress”:“Istanbul”,“ExitLocation”:“ADANA HAVALIMANI”,“ExitDate”:“20.12.2018”,“ExitTime”:“10:00”,“ReturnLocation”:“ADANA HAVALIMANI”,“ReturnDate”:“22.12.2018”,“ReturnTime”:“11:00”,“RentalDay”:2,“Group”:“IDMD”,“Brand”:“TOYOTA”,“Model”:“COROLLA”,“Gearbox”:“MANUEL”,“Fuel”:“BENZIN”,“PaymentMethod”:“NAKİT”,“Price”:406.15,“DropPrice”:0.0,“ServicesTotal”:0.0,“Vat”:0.0,“Total”:406.065,“Status”:“Beklemede”,“DailyPrice”:123.05,“Day”:2,“KM”:0.00,“Discount”:0.00,“OneWayFee”:0.00,“Navigation”:0.00,“PrivateDriver”:0.00,“BabyChair”:0.00,“AdditionalDriver”:0.00,“YoungDriver”:0.00,“AdditionalDrivingPackage100KM”:0.00,“AdditionalDrivingPackage200KM”:0.00,“AdditionalDrivingPackage300KM”:0.00,“AdditionalDrivingPackage400KM”:0.00,“AdditionalDrivingPackage500KM”:0.00,“ExemptInsurance”:0.00,“CancellationFee”:0.00,“FreeBookingAmendment”:0.00,“LiabilityInsurance”:0.00,“TireGlassFarInsurance”:0.00,“MobileWifi”:0.00,“ChildChair”:0.00,“PersonalAccidentInsurance”:0.00,“MiniDamageInsurance”:0.00,“FullInsurance”:0.00,“AdditionalLiabilityInsurance”:0.00,“EarlyReturnPackage”:0.00,“WashPrice”:0.00,“Tax”:0.00,“ServiceTotal”:0.00,“Subtotal”:0.00,“GrandTotal”:0.00}]

Examples

GET /api/ReservationDetail/GetReservationDetail?Username=ekar&Password=ekar1234&type=json&lang=tr veya en&ReservationNumber=REZ-012545 HTTP/1.1 

Content-Type: application/json

[{"DeliveryType":"Ofis Teslim","Currency":"TRY","ReservationType":"Net","Options":0,"ReservationNumber":"REZ-001129","CustomerName":"KADRI","CustomerSurname":"CIGA","TCIdentificationNumber":null,"PassportNumber":null,"CustomerPhone":"905555555555","CustomerAddress":"Istanbul","ExitLocation":"ADANA HAVALIMANI","ExitDate":"20.12.2018","ExitTime":"10:00","ReturnLocation":"ADANA HAVALIMANI","ReturnDate":"22.12.2018","ReturnTime":"11:00","RentalDay":2,"Group":"IDMD","Brand":"TOYOTA","Model":"COROLLA","Gearbox":"MANUEL","Fuel":"BENZIN","PaymentMethod":"NAKİT","Price":406.15,"DropPrice":0.0,"ServicesTotal":0.0,"Vat":0.0,"Total":406.065,"Status":"Beklemede","DailyPrice":123.05,"Day":2,"KM":0.00,"Discount":0.00,"OneWayFee":0.00,"Navigation":0.00,"PrivateDriver":0.00,"BabyChair":0.00,"AdditionalDriver":0.00,"YoungDriver":0.00,"AdditionalDrivingPackage100KM":0.00,"AdditionalDrivingPackage200KM":0.00,"AdditionalDrivingPackage300KM":0.00,"AdditionalDrivingPackage400KM":0.00,"AdditionalDrivingPackage500KM":0.00,"ExemptInsurance":0.00,"CancellationFee":0.00,"FreeBookingAmendment":0.00,"LiabilityInsurance":0.00,"TireGlassFarInsurance":0.00,"MobileWifi":0.00,"ChildChair":0.00,"PersonalAccidentInsurance":0.00,"MiniDamageInsurance":0.00,"FullInsurance":0.00,"AdditionalLiabilityInsurance":0.00,"EarlyReturnPackage":0.00,"WashPrice":0.00,"Tax":0.00,"ServiceTotal":0.00,"Subtotal":0.00,"GrandTotal":0.00}]

HTTP/1.1 200 OK 
Cancel Reservation
GET /api/CancelReservation/GetCancelReservation

The service used to cancel the reservation.

Request parameters

Username
string required

Username

Example:
ekar
Password
string required

Password

Example:
ekar1234
type
string required

The data type you want to list (json / xml)

Example:
type=json or type=xml
lang
string required
Example:
lang=tr or lang=en
ReservationNumber
string required

Reservation Number

Example:
RE123456
Status
integer required

3 = Reservation Cancel

Responses

200 OK
Body

{ “Status”: “True”, “Message”: “Cancellation Process Completed!” }

Object
Status
string
Example:
True
Message
string
Example:
Cancellation Process Completed!