Dokumentasi API SunnyDay
  1. Locations
Dokumentasi API SunnyDay
  • Introduction
  • Locations
    • Update Locations
      PUT
    • Get Location Data
      GET
  • Calendars
    • Calendars
      • Get Free Slots
      • Update Calendar
      • Get Calendar
      • Delete Calendar
      • Get Calendars
      • Create Calendar
    • Calendar Groups
      • Get Groups
      • Create Calendar Group
      • Validate group slug
      • Delete Group
      • Update Group
      • Disable Group
    • Calendar Events
      • Create Appointment
      • Update Appointment
      • Get Appointment
      • Get Calendar Events
      • Get Blocked Slots
      • Create Block Slot
      • Update Block Slot
      • Delete Event
    • Appointment Notes
      • Get Notes
      • Create Note
      • Update Note
      • Delete Note
    • Calendar Resources: Rooms & Equipments
      • Get Calendar Resource
      • Update Calendar Resource
      • Delete Calendar Resource
      • List Calendar Resources
      • Create Calendar Resource
    • Calendar Notifications
      • Get notifications
  1. Locations

Get Location Data

GET
https://services.sunnyday.co.id/api/locations/{locationId}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Responses

🟠400400 Bad Request
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://services.sunnyday.co.id/api/locations/5DP4iH6HLkQsiKESj6rh' \
--header 'Version: 2021-07-28' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "statusCode": 400,
    "message": "BusinessId is not a valid ObjectId: 5DP4iH6HLkQsiKESj6rh"
}
Previous
Update Locations
Next
Calendars
Built with