Online Booking API

Hi everyone,

I've started looking at the Online Booking API.

It went well until I'm trying to query free/busy times:

As in the example at https://openvpms.org/developers-handbook/online-booking-api

<deleted image>

...and then I tried it without single quotes:

<deleted image>

 

So I'm not sure if it is a syntax issue or a curl library problem.

Any suggestions would be great!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Online Booking API

(Images scrubbed for security)

On windows, try using double quotes instead of single quotes.

You can also use the url within your browser address bar. E.g.:

http://localhost:8080/openvpms/ws/booking/v1/schedules/5/free?from=2017-05-15T00:00:00%2B10:00&to=2017-05-16T00:00:00%2B10:00

Replace the host and port and schedule id with relevant values.

Also see the section on Security at https://openvpms.org/documentation/csh/2.0/how/onlinebooking

 

Re: Online Booking API

Thanks a million.

Both suggestions worked great!

Syndicate content