Kirmizi olan yerlerin degismesi gerekiyor.
Test platformu icin lutfen tum https://api.booktasker.com/ alan adlarini https://testapi.booktasker.com/ olarak degistirin
Register
- Method: POST
- URL: https://api.booktasker.com/api/register
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- first_name: first name (required)
- last_name: last name (required)
- email: email address (required)
- phone: phone (required)
- password: password (required)
- password_confirmation: password (required)
- date_of_birth: date of birth (optional) (format: d/m/Y)
- title: title (optional) (values: miss, mr, mrs, ms, dr)
Create Bearer Token for user
- Method: POST
- URL: https://api.booktasker.com/api/create-token
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- email: email address
- password: password
- device_name: device name
Get User Details
- Method: GET
- URL: https://api.booktasker.com/api/get-user-details
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
Update User Details
- Method: POST
- URL: https://api.booktasker.com/api/update-user-details
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
- first_name: (required)
- last_name: (required)
- email: (required)
- phone: (required)
- date_of_birth: (optional) (format: Y-m-d)
- company: (optional)
- billing_address[address_line_1]: (optional)
- billing_address[address_line_2]: (optional)
- billing_address[city]: (optional)
- billing_address[postcode]: (optional)
- property_address[address_line_1]: (optional)
- property_address[address_line_2]: (optional)
- property_address[city]: (optional)
- property_address[postcode]: (optional)
Forgot Password
- Method: POST
- URL: https://api.booktasker.com/api/forgot-password
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
Change Password
- Method: POST
- URL: https://api.booktasker.com/api/change-password
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
- current_password: current password (required)
- password: new password (required)
- password_confirmation: new pasword re-type (required)
Get Cleaning Products Selection Values (I Will Provide, Bring Cleaning Products...)
- Method: GET
- URL: https://api.booktasker.com/api/cleaning-products-selection-values
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Cleaner Access Values (Someone at home, Concierge...)
- Method: GET
- URL: https://api.booktasker.com/api/cleaner-access-values
- Headers
- Accept: application/json
- X-API-KEY: api-key
Carpet Cleaning Selection Values with options (Machine-cleaned-off, I don't have carpets...)
- Method: GET
- URL: https://api.booktasker.com/api/carpet-cleaning-values
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Often Selection Values (one-off, weekly...)
- Method: GET
- URL: https://api.booktasker.com/api/often-selection-values
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Upholstery Cleaning Values (2 Seater Sofa, 3 Seater Sofa...)
- Method: GET
- URL: https://api.booktasker.com/api/upholstery-cleaning-values
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Extra Cleaning Values (Garage Cleaning, Balcony...)
- Method: GET
- URL: https://api.booktasker.com/api/extra-cleaning-values
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Cleaning Types (Domestic, End of Tenancy...)
- Method: GET
- URL: https://api.booktasker.com/api/cleaning-types
- Headers
- Accept: application/json
- X-API-KEY: api-key
Window Cleaning (Odeme olmayacak, sadece istek gonderiliyor)
- Method: POST
- URL: https://api.booktasker.com/api/window-cleaning
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- customer[phone]: (required)
- customer[email]: (required)
- address[address]: (required)
- address[city]: (required)
- address[postcode]: (required)
- booking_date: null yada format:d/m/Y
- i_am_flexible_for_date: null yada 1
- start_time: null yada format:H:i:s
- i_am_flexible_for_time: null yada 1
- often_selection: (required) 1 - (FORTNIGHTLY), 2 - (MONTHLY), 3 - (WEEKLY), 4 - (ONE-OFF)
- property_type: (required) ('Flat', 'Terraced House', 'Detached House', 'Semi Detached')
- property_floor: reqired if property_type is 'Flat'
- highest_window_floor_terraced_house: (nullable) ('Ground', 'First', 'Second', 'Third', 'Fourth', 'More than four')
- how_many_bedrooms_terraced_house: (nullable)
- highest_window_floor_detached_house: (nullable) ('Ground', 'First', 'Second', 'Third', 'Fourth', 'More than four')
- how_many_bedrooms_detached_house: (nullable)
- highest_window_floor_semi_detached: (nullable) ('Ground', 'First', 'Second', 'Third', 'Fourth', 'More than four')
- how_many_bedrooms_semi_detached: (nullable)
- window_side: (required) ('Inside + Outside', 'Inside', 'Outside')
- conservatory: (nullable) (numeric) (min: 0)
- glass_roofs: (nullable) (numeric) (min: 0)
- skylights: (nullable) (numeric) (min: 0)
- special_requirements: (nullable)
Carpet Cleaning (Odeme olmayacak, sadece istek gonderiliyor)
- Method: POST
- URL: https://api.booktasker.com/api/carpet-cleaning
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- customer[phone]: (required)
- customer[email]: (required)
- address[address]: (required)
- address[city]: (required)
- address[postcode]: (required)
- booking_date: null yada format:d/m/Y
- i_am_flexible_for_date: null yada 1
- start_time: null yada format:H:i:s
- i_am_flexible_for_time: null yada 1
- upholstery_type_carpet: null yada 1
- single_bedroom: (int)
- double_bedroom: (int)
- living_room: (int)
- hallway: (int)
- staircase: (int)
- upholstery_type_sofa: null yada 1
- 2_seater: (int)
- 3_seater: (int)
- 4_seater: (int)
- armchair: (int)
- blinds: (nullable) int
- rug: (nullable) int
- mattress: (nullable) int
- curtain_steam: (nullable) int
- file: (required) image
- special_requirements: (nullable)
Office Cleaning Request (Odeme olmayacak, sadece istek gonderiliyor)
- Method: POST
- URL: https://api.booktasker.com/api/office-cleaning-request
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- full_name: (required)
- email: (required)
- company: (required)
- phone: (required)
- message: (required)
- postcode: (required)
Disinfection Cleaning Request (Odeme olmayacak, sadece istek gonderiliyor)
- Method: POST
- URL: https://api.booktasker.com/api/disinfection-cleaning-request
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- full_name: (required)
- email: (required)
- phone: (required)
- postcode: (required)
Communal Cleaning Request (Odeme olmayacak, sadece istek gonderiliyor)
- Method: POST
- URL: https://api.booktasker.com/api/communal-cleaning-request
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- full_name: (required)
- email: (required)
- phone: (required)
- postcode: (required)
Create/Update Order (Domestic, End of Tenancy ve Deep cleaning)
URL'deki order_id'yi bos birakirsaniz database'de o musteriye yeni bir order olusturacak ve o order'in bilgileri size geri donecek. Daha sonraki islemlerinizde basketi falan yenilemek icin URL'e o order_id yi ekleyerek post gonderdinizde o order uzerinde update yapmis olacaksiniz. Stripe'a odeme gonderirken description kismina bu order id'yi basina "G" koyarak yazin lutfen. Ornek PHP kodunu buraya koyuyorum. Uygulama uzerinden odeme islemi yapildiktan sonra Stripe'tan Webhook ile websiteye odeme alindi bilgisi gelecek ve o description'dan order id bulunup onun uzerinden musteriye email vs websiteden gidecek.
- Method: POST
- URL: https://api.booktasker.com/api/create-order/{order_id}
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
- cleaning_type_id (required) (format: integer) gecerli cleaning types: 1, 2, 3
- booking_date (nullable) (format: d/m/Y)
- i_am_flexible_for_date (nullable) (1 veya null)
- start_time (nullable) (format: H:i:s)
- i_am_flexible_for_time (nullable) (1 veya null)
- cleaning_duration (nullable) (format: 2.0, 2.5, 3.0 ...)
- often_selection_id (nullable) (format: integer) (often selection id)
- cleaning_products_selection_id (nullable) (format: integer)
- pets_selection (nullable) (1 veya 0)
- pets_description (nullable) (format: string)
- cleaner_access_the_property_id (nullable) (format: integer)
- cleaner_access_the_property_notes (nullable) (format: string)
- cleaner_language_i_dont_mind (nullable) (1 veya null)
- cleaner_language_notes (nullable) (format: string)
- rooms (nullable) (format: json) ornek: {"1": 3, "2": 1} ({"room_id": count})
- additional_service (nullable) (format: json) ornek: {"1": 3, "2": 1} ({"additional_service_id": count})
- special_requirements (nullable) (format: string)
- how_did_you_hear_getfixly (nullable) (format: string)
- how_did_you_hear_getfixly_notes (nullable) (format: string)
- carpet_cleaning_id (nullable) (format: integer) (Machine-cleaned, I don't have carpets...)
- carpet_cleaning_option (nullable) (format: integer) (Single Bedroom, Double Bedroom...) ornek: {"1": 3, "2": 1} ({"carpet_cleaning_option_id": count})
- extra_cleaning (nullable) (format: json) ornek: {"1": 3, "2": 1} ({"extra_cleaning_id": count})
- upholstery_cleaning (nullable) (format: json) ornek: {"1": 3, "2": 1} ({"upholstery_cleaning_id": count})
- parking_space (nullable) (format: string) (Yes, No)
- bad_condition (nullable) (format: string) (Yes, No)
- want_carpet_cleaning (nullable) (format: integer) (1, -1)
- want_upholstery_cleaning (nullable) (format: integer) (1, -1)
- property_address[address_line_1]: (optional)
- property_address[address_line_2]: (optional)
- property_address[city]: (optional)
- property_address[postcode]: (optional)
- billing_address[address_line_1]: (optional)
- billing_address[address_line_2]: (optional)
- billing_address[city]: (optional)
- billing_address[postcode]: (optional)
Send Feedback
- Method: POST
- URL: https://api.booktasker.com/api/send-feedback/{orderId}
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
- satisfied: (required) (format: integer)
- communication: (required) (format: integer)
- feedback: (required) (format: string)
Order Image upload/delete
URL'de "orderId" her zaman zorunlu. Eger resim silmek isterseniz bu fonksiyona "imageId" de gonderin. Eger URL'de "imageId" varsa bu resmi sil anlamina geliyor.
- Method: POST
- URL: https://api.booktasker.com/api/order-image/{orderId}/{imageId}
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
- file: image (required if there is no "imageId" in the URL)
Get Order
- Method: GET
- URL: https://api.booktasker.com/api/get-order/{order_id}
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
Get Orders
- Method: POST
- URL: https://api.booktasker.com/api/get-orders
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
- status: (required) (active, completed, cancelled)
Cancel Order
- Method: POST
- URL: https://api.booktasker.com/api/cancel-order
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
Get Contact Details
- Method: GET
- URL: https://api.booktasker.com/api/get-contact-details
- Headers
- Accept: application/json
- X-API-KEY: api-key
Customer Support Form
- Method: POST
- URL: https://api.booktasker.com/api/customer-support-form
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- name: (required)
- surname: (required)
- email: (required)
- phone: (required)
- message: (required)
Get Homepage Contents
- Method: GET
- URL: https://api.booktasker.com/api/get-homepage-contents
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get About Page Contents
- Method: GET
- URL: https://api.booktasker.com/api/get-about-page-contents
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get FAQs
- Method: GET
- URL: https://api.booktasker.com/api/get-faqs
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Terms & Conditions
- Method: GET
- URL: https://api.booktasker.com/api/get-terms-and-conditions
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Privacy Policy
- Method: GET
- URL: https://api.booktasker.com/api/get-privacy-policy
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Cancellation Policy
- Method: GET
- URL: https://api.booktasker.com/api/get-cancellation-policy
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Services Types
- Method: GET
- URL: https://api.booktasker.com/api/get-service-types
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Unavailable Dates
- Method: GET
- URL: https://api.booktasker.com/api/get-unavailable-dates
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Örnek sonuç:
[
{
"service_type_name": "Deep Cleaning",
"service_type_id": 3,
"unavailable_date": "2022-09-28"
},
{
"service_type_name": "All",
"service_type_id": -1,
"unavailable_date": "2022-09-30"
}
]
Get Rooms
- Method: GET
- URL: https://api.booktasker.com/api/get-rooms
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Extras (Ironing, Inside oven...)
- Method: GET
- URL: https://api.booktasker.com/api/get-additional-services
- Headers
- Accept: application/json
- X-API-KEY: api-key
Add Notes
- Method: POST
- URL: https://api.booktasker.com/api/add-notes/{orderId}
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
Set Push Notification Token
- Method: GET
- URL: https://api.booktasker.com/api/set-push-notification-token
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
- Body
- push_notification_token: (required)
Get Refer Friend Price
- Method: GET
- URL: https://api.booktasker.com/api/get-refer-friend-price
- Headers
- Accept: application/json
- X-API-KEY: api-key
Get Refer Friend Earnings
- Method: GET
- URL: https://api.booktasker.com/api/get-refer-friend-earnings
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
Get Promotions
- Method: GET
- URL: https://api.booktasker.com/api/get-promotions
- Headers
- Accept: application/json
- X-API-KEY: api-key
Stripe Endpoint
- Method: GET
- URL: https://api.booktasker.com/api/stripe-endpoint/{orderId}
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Authorization: Bearer bearer token
Get Coordinates of Address (latitude, longitude)
- Method: POST
- URL: https://api.booktasker.com/api/coordinates-of-address
- Headers
- Accept: application/json
- X-API-KEY: api-key
- Body
- address: (required) (postcode is enough)