Ekar Web Servis Türkçe
by ekar

Ekar Web Servis Türkçe

Ekar Araç Kiralama

Base URI

http://api.ekartur.com
Döküman

Bu web servis, bir rezervasyon motorundan gelen rezervasyon bilgilerini ve araç bilgilerini almak için hizmet sağlar. Ayrıca sistem tarafından otomatik olarak teyit edilemeyen rezervasyonları onaylayabilir veya reddedebilir.

Belge İçeriği

Bu dokümanda kullanabileceğiniz farklı fonksiyonların açıklamalarını, taleplerini ve cevaplarını bulabilirsiniz. Elde edebileceğiniz farklı kodları ve hangi formatları kullanacağımızı da göreceğiz.

Bunlar, rezervasyon almak ve reddetmek veya onaylamak için kullanabileceğiniz işlevlerdir:

Tarih Formatı

Tarih içeren tüm alanlar, hem istek, hem de yanıt içeren işlemler aşağıdaki biçimde olacaktır.

DD.MM.YYYY

Saat Formatı

Saat içeren tüm alanlar, hem istek, hem de yanıt içeren işlemler aşağıdaki biçimde olacaktır.

HH:MM

Boolean format

Boolean içeren tüm alanlar, hem istek, hem de yanıt içeren işlemler aşağıdaki biçimde olacaktır.

true / false

API
GET /Currency/GetCurrency?username=ekar&password=123456&type=json&lang=tr
GET /Fuel/GetFuel?username=ekar&password=123456&type=json&lang=tr
GET /Branch/GetBranch?username=ekar&password=123456&type=json&lang=tr
GET /api/Group/GetGroup?username=ekar&password=123456&type=json&lang=tr
GET /Brand/GetBrand?username=ekar&password=123456&type=json&lang=tr
GET /Models/GetModel?username=ekar&password=123456&type=json&lang=tr
GET /api/Transmission/GetTransmission?username=ekar&password=123456&type=json&lang=tr
GET /Locations/GetLocation?username=ekar&password=123456&type=json&lang=tr&Search=ADANA
GET /ReservationType/GetReservationType?username=ekar&password=123456&type=json
GET /AvailableVehicle/GetAvailableVehicle?username=ekar&password=123456&PickupOffice=1&PickupDate=29.08.2018&PickupTime=10:00&ReturnOffice=1&ReturnDate=03.09.2018&ReturnTime=10:00&Curreny=TRY&type=json&la
POST /api/Reservation/PostReservation
GET /api/ReservationDetail/GetReservationDetail
GET /CancelReservation/GetCancelReservation
İstek ve Yanıt Formatları

Web servis iki biçimde yayınlanmaktadır: SOAP standardı altında (XML) (JSON)

Her iki format da, talep ve cevap sınıfları, karmaşık tipler, tarih ve zaman biçimleri vb. Gibi bu belgede açıklanan özellikleri kullanır. Her servis farklı olarak yayınlanmaktadır.

Para Birimi
GET /Currency/GetCurrency?username=ekar&password=123456&type=json&lang=tr

Para birimi kodları için, ISO 4217 tarafından tasarlanan üç karakter uluslararası standart kullanıyoruz.

Request parameters

Username
string optional

Username

Example:
ekar
Password
string optional

Password

Example:
123456
type
string optional

type

Example:
type=json veya 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
Yakıt Tipi
GET /Fuel/GetFuel?username=ekar&password=123456&type=json&lang=tr

Yakıt tipi seçeneği Dizel, Benzin olarak iki seçenek olarak listelenmektedir.

Request parameters

Username
string optional

Username

Example:
ekar
Password
string optional

Password

Example:
123456
type
string optional

type

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

Responses

200 OK
Body

[ { “Id”: 1, “Name”: “BENZİN”, “isActive”: true }, { “Id”: 2, “Name”: “DİZEL”, “isActive”: true } ]

Object
Id
integer
Example:
1
Name
string
Example:
BENZİN
isActive
boolean
Example:
true
Şubeler
GET /Branch/GetBranch?username=ekar&password=123456&type=json&lang=tr

Şube listelerine erişmek için kullanılan servisimizdir.

Request parameters

Username
string optional

Kullanıcı Adı

Example:
ekar
Password
string optional

Şifre

type
string optional

Listelenmesini istediğiniz veri türü (json / xml)

Example:
json
lang
string optional

Dil yapısını temsil etmektedir. Türkçe (tr), İngilizce (en) olarak çağrılmaktadır.

Example:
lang=tr veya 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
Araç Grup
GET /api/Group/GetGroup?username=ekar&password=123456&type=json&lang=tr

Araç Grup’larının listelendiği servisimizdir.

Request parameters

Username
string required

Tarafınıza tanımlanmış olan Web Servis Kullanıcı Adı girilmelidir.

Example:
ekar
Password
string required

Tarafınıza tanımlı olan Web Servis Şifre girilmelidir.

Example:
123456
type
string required

Listeleme Türü

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

Dil

Example:
lang=tr veya 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

Grup Id

Example:
1
Name
string

Grup Adı

Example:
OTOMATIK
isActive
boolean

Aktif veya Pasif durumunu gösteren alandır.

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}]
Araç Marka
GET /Brand/GetBrand?username=ekar&password=123456&type=json&lang=tr

Araç markalarının listelendiği servisimizdir.

Request parameters

Username
string optional

Tarafınıza tanımlanmış olan Web Servis Kullanıcı Adı girilmelidir.

Example:
ekar
Password
string optional

Tarafınıza tanımlı olan Web Servis Şifre girilmelidir.

Example:
123456
type
string optional

Listeleme Türü

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

Dil

Example:
lang=tr veya lang=en

Responses

200 OK
Body

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

Object
Id
integer

Marka Id

Example:
2
Name
string

Marka Adı

Example:
AUDI
isActive
boolean

Marka’nın aktif veya pasif durumunu göstermektedir. Aktif olanlar geçerli sayılacaktır. Pasif olan markalar tedarik edilmeyecektir.

Example:
true
Araç Model
GET /Models/GetModel?username=ekar&password=123456&type=json&lang=tr

Araç Marka’larına ait Modellerin listelendiği web servisimizdir.

Request parameters

Username
string optional

Tarafınıza tanımlanmış olan Web Servis Kullanıcı Adı girilmelidir.

Example:
ekar
Password
string optional

Tarafınıza tanımlı olan Web Servis Şifre girilmelidir.

Example:
123456
type
string optional

type

Example:
type=json veya type=xml
lang
string optional
Example:
lang=tr veya 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

Marka Id

Example:
2
Name
string

Model Adı

Example:
A3
isActive
boolean

Modelin aktif veya pasif durumudur. Aktif olanlar geçerli sayılacaktır.

Example:
true
Şanzıman
GET /api/Transmission/GetTransmission?username=ekar&password=123456&type=json&lang=tr

Araç Şanzıman tiplerinin listelendiği servisimizdir.

Request parameters

Username
string required

Tarafınıza tanımlanmış olan Web Servis Kullanıcı Adı girilmelidir.

Example:
ekar
Password
string required

Tarafınıza tanımlı olan Web Servis Şifre girilmelidir.

Example:
123456
type
string required

Listeleme Türü

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

Dil

Example:
lang=tr veya lang=en

Responses

200 OK
Body

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

Object
Id
integer

Şanzıman Id

Example:
1
Name
string

Şanzıman Adı

Example:
OTOMATIK
isActive
boolean

Aktif veya Pasif durumunu gösteren alandır.

Example:
true
Lokasyon
GET /Locations/GetLocation?username=ekar&password=123456&type=json&lang=tr&Search=ADANA

Lokasyonlarımızın listelendiği servisimizdir. Araç alış lokasyonu ve Araç bırakış lokasyonu, enlem boylam bilgilerine göre otomatik olarak hesaplanmaktadır.

Request parameters

Username
string optional

Tarafınıza tanımlanmış olan Web Servis Kullanıcı Adı girilmelidir.

Example:
ekar
Password
string optional

Tarafınıza tanımlı olan Web Servis Şifre girilmelidir.

Example:
123456
type
string optional

Listeleme Türü

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

Dil

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

Lokasyon Arama

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

Lokasyon Id

Example:
1
Code
string

Lokasyon Kodu

Example:
ADA51
Name
string

Lokasyon Adı

Example:
Adana Havalimanı
Phone
string

Lokasyon Telefon

Example:
08503043527
Address
string

Lokasyon Adres

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

Şube Id

Example:
1
Latitude
string

Lokasyon Enlem bilgisi

Example:
36,999186
Longitude
string

Lokasyon Boylam bilgisi

Example:
35,3168502
Rezervasyon Türü
GET /ReservationType/GetReservationType?username=ekar&password=123456&type=json

Rezervasyon Kaynakları listelerine erişmek için kullanılan servisimizdir.

Request parameters

Username
string optional

Kullanıcı Adı

Example:
ekar
Password
string optional

Şifre

type
string optional

Listelenmesini istediğiniz veri türü (json / xml)

Example:
type=json veya type=xml

Responses

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

{ “Id”: 1, “Name”: “YURTİÇİ” }, { “Id”: 2, “Name”: “YURTDIŞI” }

Object
Id
integer
Example:
1
Name
string
Example:
YURTİÇİ
Müsait Araçlar
GET /AvailableVehicle/GetAvailableVehicle?username=ekar&password=123456&PickupOffice=1&PickupDate=29.08.2018&PickupTime=10:00&ReturnOffice=1&ReturnDate=03.09.2018&ReturnTime=10:00&Curreny=TRY&type=json&la

Müsait Araç listelerine erişmek için kullanılan servisimizdir. İsteğe bağlı olarak Marka, Model, Yakıt Tipi ve Şanzıman tiplerine göre filtre sağlanabilmektedir.

Request parameters

Username
string required

Kullanıcı Adı

Example:
ekar
Password
string required

Şifre

Example:
ekar1234
type
string required

Listelenmesini istediğiniz veri türü (json / xml)

Example:
json
PickupOffice
integer required

Alış Lokasyonu Id

Example:
1
PickupDate
string required

Alış Tarihi dd.MM.yyyy formatında olması zorundadır.

Example:
19.08.2018
PickupTime
string required

Alış saati hh:mm formatında olması zorunludur.

Example:
10:00
ReturnOffice
integer required

Dönüş Lokasyon Id

Example:
1
ReturnDate
string required

Dönüş tarihi dd.MM.yyyy formatında olması zorunludur.

ReturnTime
string required

Dönüş saati hh:mm formatında olması zorunludur.

Curreny
string required

Para Birimi

Example:
TRY, USD, EUR
lang
string required
Example:
lang=tr veya lang=en
BrandId
string optional

Marka Id

Example:
1
ModelId
string optional

Model Id

Example:
1
FuelId
string optional

Yakıt Tipi Id

Example:
1
TransmissionId
string optional

Şanzıman 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, “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:
ALFA ROMEO
Model
string
Example:
75
Fuel
string
Example:
BENZİN
Gearbox
string
Example:
OTOMATIK
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
DailyPrice
integer
Example:
180
USDDailyPrice
integer
EURDailyPrice
integer
TotalPrice
integer
Example:
750
PickupOffice
string
Example:
Adana
ReturnOffice
string
Example:
Adana
OneWayFee
integer
RentalDays
integer
Example:
5
Explanation
string
Example:
Kiralama Şartları <br />1. Findeks Sorgulaması yapılır. <br />2. KABIS
Extra
Array
Object
Id
integer
Example:
1
Name
string
Example:
Navigasyon
Price
integer
Example:
20
DailyRate
string
Example:
Per Day
Rezervasyon
POST /api/Reservation/PostReservation

Rezervasyon

Request parameters

Username
string required

Kullanıcı Adı

Example:
ekar
Password
string required

Şifre

Example:
ekar1234
type
string required

Listelenmesini istediğiniz veri türü (json / xml)

Example:
json
lang
string required

Dil yapısı

Example:
tr veya en
CustomerName
string required

Müşteri adı (büyük harf - ingilizce karakter) (zorunlu)

Example:
MEHMET
CustomerSurname
string required

Müşteri soyadı (büyük harf - ingilizce karakter) (zorunlu)

Example:
BOSTANCI
TCIdentificationNumber
string required

T.C. Vatandaşlık Numarası (zorunlu)

Example:
12345678916
PassportNumber
string required

Yabancı müşteriler için Pasaport Numarası (Müşteri yabancı ise zorunlu)

Example:
RT123123
CustomerPhone
string required

Müşteri telefonu (zorunlu)

Example:
08503043527
CustomerAddress
string required

Müşteri adresi (zorunlu)

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

Teslim tipi Id (zorunlu)

Example:
Ofis Teslim = 1, Adres Teslim = 2
CurrencyId
string required

Para birimi Id (zorunlu)

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

Rezervasyon Tipi Id (1 = Net | 2 = Opsiyon) Eğer opsiyon seçilirse Options alanı en fazla 30 gün olarak seçilmelidir. (zorunlu)

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

Opsiyon süresi rezervasyon tipi alanında 2 numaralı seçenek (Opsiyon) seçili olduğu takdirde geçerlidir. Aksi halde 0 (sıfır) olarak tanımlanacaktır. (zorunlu)

Example:
1
ReferanceNumber
string required

Referans Numarası

Example:
RF123546
ExitLocationId
integer required

Araç Alış Lokasyon (zorunlu)

Example:
1
ExitDate
string required

Araç alış tarihi (zorunlu)

Example:
19.09.2018
ExitTime
string required

Araç alış saati (zorunlu)

Example:
10:00
ReturnLocationId
integer required

Araç Dönüş Lokasyon (zorunlu)

Example:
1
ReturnDate
string required

Araç dönüş tarihi (zorunlu)

Example:
28.09.2018
ReturnTime
string required

Araç dönüş saati (zorunlu)

Example:
10:00
RentalDay
string required

Kira gün sayısı (zorunlu)

Example:
13
Group
string required

Araç Grubu (zorunlu)

Example:
CDMD
Brand
string required

Araç Marka (zorunlu)

Example:
RENAULT
Model
string required

Araç Model (zorunlu)

Example:
CLIO
Gearbox
string required

Araç Şanzıman (zorunlu)

Example:
OTOMATIK
Fuel
string required

Araç Yakıt (zorunlu)

Example:
DIZEL
PaymentMethodId
string required

Ödeme tipi (zorunlu)

Example:
Nakit = 1, Kredi Kartı = 2, Faturalama = 3
TotalPrice
string required

Toplam kira bedeli (Decimal) (zorunlu)

Example:
1000.00
DropPrice
string required

Drop Bedeli (Decimal) (zorunlu)

Example:
1000.00
ServicesTotal
string required

Extra Hizmetler toplamı (Decimal) (zorunlu)

Example:
1000.00
Total
string required

Genel toplam (Decimal) (zorunlu)

Example:
1000.00
Explanation
string required

Rezervasyon açıklaması

Example:
Araç full depo verilip, full depo teslim alınacaktır.
CardType
string required

Kredi kartı tipi (PaymentMethod eğer kredi kartı ise zorunlu)

Example:
VISA, MASTER, AMEX
CardNumber
string required

Kredi kartı numarası (PaymentMethod eğer kredi kartı ise zorunlu)

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

CVV (PaymentMethod eğer kredi kartı ise zorunlu)

Example:
123
CardExpireDateMonth
string required

Son Kullanma tarihi (AY) (PaymentMethod eğer kredi kartı ise zorunlu)

Example:
01
CardExpireDateYear
string required

Son kullanma tarihi (YIL) - yıl bilgisinin son iki hanesi girilmelidir. (PaymentMethod eğer kredi kartı ise zorunlu)

Example:
21
DailyPrice
string required

Günlük kira bedeli (Decimal) (zorunlu)

Example:
120.00
Navigation
string required

Navigasyon hizmeti (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
400.00
PrivateDriver
string required

Özel şoför hizmeti (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
BabyChair
string required

Bebek koltuğu (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
AdditionalDriver
string required

Ek sürücü (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
YoungDriver
string required

Genç sürücü (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
AdditionalDrivingPackage100KM
string required

100 KM ek sürüş paketi (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
AdditionalDrivingPackage200KM
string required

200 KM ek sürüş paketi (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
AdditionalDrivingPackage300KM
string required

300 KM ek sürüş paketi (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
AdditionalDrivingPackage400KM
string required

400 KM ek sürüş paketi (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
AdditionalDrivingPackage500KM
string required

500 KM ek sürüş paketi (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
ExemptInsurance
string required

Muafiyetli sigorta (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
CancellationFee
string required

İptal ücreti (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
FreeBookingAmendment
string required

Ücretsiz rezervasyon değişikliği (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
TireGlassFarInsurance
string required

Lastik - Cam - Far Sigortası (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
MobileWifi
string required

Mobil Wifi (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
ChildChair
string required

Çocuk koltuğu (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
PersonalAccidentInsurance
string required

Ferdi kaza sigortası (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
MiniDamageInsurance
string required

Mini hasar sigortası (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
FullInsurance
string required

Full Kasko (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
AdditionalLiabilityInsurance
string required

İhtiyar-i mali mesuliyet sigortası (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
EarlyReturnPackage
string required

Erken dönüş paketi (Decimal) (Müşteriye satılması durumunda zorunlu)

Example:
0.00
Tax
string required

Vergi %18 (Decimal) (zorunlu)

Example:
0.00
ServiceTotal
string required

Hizmetler toplamı (Decimal) (zorunlu)

Example:
0.00
Subtotal
string required

Ara toplam (Decimal) (zorunlu)

Example:
0.00
GrandTotal
string required

Genel toplam (Decimal) (zorunlu)

Example:
0.00

Responses

200 OK
Body

{ “Status”: “True”, “Message”: “Rezervasyonunuz başarılı bir şekilde kayıt edilmiştir.” },

{ “Status”: “False”, “Message”: “Hata: Rezervasyon bilgileriniz eksik veya hatalı girilmiştir. Lütfen kontrol ediniz.” }

Object
Status
string

Durum

Example:
True
Message
string

Mesaj

Example:
Rezervasyonunuz başarılı bir şekilde kayıt edilmiştir.
ReservationNumber
string

Rezervasyon Numarası

Example:
REZ-154896

Examples

PaymentMethodId = 3 veya 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": "Rezervasyonunuz başarılı bir şekilde kayıt edilmiştir.",
    "ReservationNumber": "REZ-154896"
}

PaymentMethodId = 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": "Rezervasyonunuz başarılı bir şekilde kayıt edilmiştir.",
    "ReservationNumber": "REZ-154896"
}
Rezervasyon Detay
GET /api/ReservationDetail/GetReservationDetail

Rezervasyon Detay

Request parameters

Username
string optional

Kullanıcı Adı

Example:
ekar
Password
string optional

Şifre

Example:
ekar1234
type
string optional

Listelenmesini istediğiniz veri türü (json / xml)

Example:
json
lang
string optional

Dil Yapısı

Example:
tr veya en
ReservationNumber
string optional

Rezervasyon Numarası

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 
Rezervasyon iptal
GET /CancelReservation/GetCancelReservation

Rezervasyon İptali için kullanılan servisimizdir.

Request parameters

Username
string required

Kullanıcı Adı

Example:
ekar
Password
string required

Şifre

Example:
ekar1234
type
string required

Listelenmesini istediğiniz veri türü (json / xml)

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

Rezervasyon Numarası

Example:
RE123456
Status
integer required

3 = Rezervasyon İptal

Responses

200 OK
Body

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

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