@@ -25,7 +25,7 @@ curl "https://youraccount.test.makeplans.net/api/v1/services" \
2525<details markdown =" 1 " >
2626<summary >Response</summary >
2727
28- ``` text
28+ ``` http
2929HTTP/1.1 200 OK
3030Content-Type: application/json; charset=utf-8
3131```
@@ -48,6 +48,7 @@ Content-Type: application/json; charset=utf-8
4848 "active" : true ,
4949 "interval_rounding" : null ,
5050 "template" : null ,
51+ "booking_type" : " appointment" ,
5152 "booking_type_id" : 1 ,
5253 "description" : null ,
5354 "custom_data" : null ,
@@ -75,6 +76,7 @@ Content-Type: application/json; charset=utf-8
7576 "active" : true ,
7677 "interval_rounding" : null ,
7778 "template" : null ,
79+ "booking_type" : " appointment" ,
7880 "booking_type_id" : 1 ,
7981 "description" : null ,
8082 "custom_data" : null ,
@@ -110,7 +112,7 @@ curl "https://youraccount.test.makeplans.net/api/v1/services/15/slots" \
110112<details markdown =" 1 " >
111113<summary >Response</summary >
112114
113- ``` text
115+ ``` http
114116HTTP/1.1 200 OK
115117Content-Type: application/json; charset=utf-8
116118```
@@ -146,8 +148,7 @@ Content-Type: application/json; charset=utf-8
146148 ],
147149 "maximum_capacity" : 3
148150 }
149- },
150- # More items not shown
151+ }
151152]
152153```
153154</details >
@@ -183,7 +184,7 @@ curl -X "POST" "https://youraccount.test.makeplans.net/api/v1/bookings" \
183184<details markdown =" 1 " >
184185<summary >Response</summary >
185186
186- ``` text
187+ ``` http
187188HTTP/1.1 200 OK
188189Content-Type: application/json; charset=utf-8
189190```
@@ -219,7 +220,7 @@ Content-Type: application/json; charset=utf-8
219220 "person" : {
220221 "id" : 95 ,
221222 "email" : null ,
222- "phonenumber " : " +18338367888" ,
223+ "phone_number " : " +18338367888" ,
223224 "created_at" : " 2020-01-24T06:48:42+01:00" ,
224225 "updated_at" : " 2020-01-24T06:48:42+01:00" ,
225226 "name" : " Harald" ,
@@ -271,7 +272,7 @@ curl -X "PUT" "https://youraccount.test.makeplans.net/api/v1/bookings/208/verify
271272<details markdown =" 1 " >
272273<summary >Response</summary >
273274
274- ``` text
275+ ``` http
275276HTTP/1.1 200 OK
276277Content-Type: application/json; charset=utf-8
277278```
@@ -307,7 +308,7 @@ Content-Type: application/json; charset=utf-8
307308 "person" : {
308309 "id" : 95 ,
309310 "email" : null ,
310- "phonenumber " : " +18338367888" ,
311+ "phone_number " : " +18338367888" ,
311312 "created_at" : " 2020-01-24T06:48:42+01:00" ,
312313 "updated_at" : " 2020-01-24T06:48:42+01:00" ,
313314 "name" : " Harald" ,
@@ -342,7 +343,7 @@ If the customers enters an incorrect code we will return 403 status:
342343<details markdown =" 1 " >
343344<summary >Response</summary >
344345
345- ``` text
346+ ``` http
346347HTTP/1.1 403 Forbidden
347348Content-Type: application/json; charset=utf-8
348349```
@@ -361,7 +362,7 @@ Content-Type: application/json; charset=utf-8
361362<details markdown =" 1 " >
362363<summary >Request</summary >
363364
364- ``` text
365+ ``` shell
365366curl -X " POST" " https://youraccount.test.makeplans.net/api/v1/bookings" \
366367 -H ' User-Agent: YourAppName (http://example.org)' \
367368 -H ' Accept: application/json' \
@@ -382,7 +383,7 @@ curl -X "POST" "https://youraccount.test.makeplans.net/api/v1/bookings" \
382383<details markdown =" 1 " >
383384<summary >Response</summary >
384385
385- ``` text
386+ ``` http
386387HTTP/1.1 200 OK
387388Content-Type: application/json; charset=utf-8
388389```
@@ -420,14 +421,13 @@ Content-Type: application/json; charset=utf-8
420421 "person" : {
421422 "id" : 95 ,
422423 "email" : null ,
423- "phonenumber " : " +18338367888" ,
424+ "phone_number " : " +18338367888" ,
424425 "created_at" : " 2020-01-24T06:48:42+01:00" ,
425426 "updated_at" : " 2020-01-24T06:48:42+01:00" ,
426427 "name" : " Harald" ,
427428 "custom_data" : {
428429 "member_id" : " 83632"
429430 },
430- "custom_data" : null ,
431431 "date_of_birth" : null ,
432432 "external_id" : null ,
433433 "national_id_no" : null ,
@@ -456,7 +456,7 @@ Content-Type: application/json; charset=utf-8
456456<details markdown =" 1 " >
457457<summary >Request</summary >
458458
459- ``` text
459+ ``` shell
460460curl -X " POST" " https://youraccount.test.makeplans.net/api/v1/bookings/recurring" \
461461 -H ' User-Agent: YourAppName (http://example.org)' \
462462 -H ' Accept: application/json' \
@@ -477,7 +477,7 @@ curl -X "POST" "https://youraccount.test.makeplans.net/api/v1/bookings/recurring
477477<details markdown =" 1 " >
478478<summary >Response</summary >
479479
480- ``` text
480+ ``` http
481481HTTP/1.1 200 OK
482482Content-Type: application/json; charset=utf-8
483483```
@@ -493,7 +493,7 @@ Content-Type: application/json; charset=utf-8
493493
494494### Authenticate customer
495495
496- ## Full integration examples (Setup and syncronization )
496+ ## Full integration examples (Setup and synchronization )
497497
498498### Create new service
499499
0 commit comments