API URL

https://api.arboxapp.com/index.php/api/v2/schedule

Acceptable request type

Get

2.1 Parameters

Headers:

Parameter

Description

Appearance

Explanation

apiKey

string

required

A unique key for each club

Params:

Parameter

Description

Appearance

Explanation

from

'dd-mm-YYYY'

or

'mm-dd-YYYY'

Required

If Parameter “to” exists then optional

According to time format

to

'dd-mm-YYYY'

or

'mm-dd-YYYY'

Required

If Parameter “from” exists then optional

According to time format

location

Int, (location must be connected to box)

optional

System number - studio’s place

Response

2.2 Successful response sample:

{

statusCode:200,

data: Array({

"coach": “Michael Cohen”,

"secondCoach": “Lora Smith”,

"name": “Yoga for Beginners”,

"startTime": ״14:00:00,

"endTime": “15:00:00”,

"date": ”2020-07-26”,

"liveLink": Live Link to class, if exists,

"isCancelled": false,

"maxMembers": 15,

"location": Tel Aviv,

"isTransparent": false

})}

2.3 Error code list

Integer

Name

Description

415

DATE RANGE EXCEEDS

The date range is greater than 7 days, please limit your request to up to 7 days

500

INTERNAL SERVER ERROR

An unexpected server error occurs.

400

INVALID FORM REQUEST

One or more of your form values are not valid

400

INVALID API USER

The user connected with the API is invalid

401

NO API KEY

Please supply an access token

401

INVALID API KEY

Please provide a valid access token

401

NOT UNIQUE API KEY

Issued access token, please contact ARBOX

Did this answer your question?