[#596] Book an appointment with category

Migrated from Redmine #596 | Author: Unnur Sól Ingimarsdóttir
Status: Closed | Priority: High, I’m very impatient | Created: 2020-10-17


Hi, can I add category ID when I book through your API?
It it isn’t in the documentation :slight_smile:

authority: user-api.simplybook.me
:method: POST
:path: /
:scheme: https
accept: /
accept-encoding: gzip, deflate, br
accept-language: is-IS,is;q=0.9,en-US;q=0.8,en;q=0.7
content-length: 429
content-type: application/json
origin: http://localhost:8000
referer: http://localhost:8000/
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
x-company-login: bonstodinhofdatorg
x-token: XXXXXXXXXXXXXXXXXXXXXX

{“jsonrpc”:“2.0”,“method”:“book”,“params”:[“19”,“1”,“2020-10-20”,“11:30:00”,{“name”:“Unnur Sól Ingimarsdóttir”,“email”:"unnursol95@gmail.com",“phone”:“6161710”},{“products”:[{“id”:“12”,“qty”:1},{“id”:“1”,“qty”:1},{“id”:“3”,“qty”:1}],“4561427a918691b06302a9419e197b2f”:“OL081”,“9bc774570e6a7f5f8d9bc3c9b89e1cad”:“”,“5a446567067b410d32958f7d236bd92a”:“”,“3cf92f815ca62a249ee3ab547e4d9886”:“17:00”,“handle_invoice”:true}],“id”:16}

Redmine Admin wrote:

hi, there is no way to do this