[#591] Call getBookings but get blank result

Migrated from Redmine #591 | Author: kevin cho
Status: New | Priority: High, I’m very impatient | Created: 2020-10-15


Hi,

I use postman for test, trying to call getBookings, but get a blank result with http status 200, attached image is the header and Body, but i masked X-Company-Login in attached image, what’s going wrong, please help.

Thanks!

Kevin

kevin cho wrote:

Hi,

I use postman for test, trying to call getBookings, but get a blank result with http status 200, but i masked X-Company-Login in below information, please help.

X-Company-Login:XXXXX
X-User-Token:a7225b27db1f0b6621e0cc607a5f1cac7cee713f79a361

{“jsonrpc”:“2.0”,“method”:“getBookings”,“params”:[{“created_date_from”:“2020-09-10”,“created_date_to”: “2020-10-15”}]}

Thanks!

Kevin

Redmine Admin wrote:

What is your company login?

kevin cho wrote:

Redmine Admin wrote:

What is your company login?

optical88

kevin cho wrote:

you need my company login to trace the log? I used the company login to getToken successfully, so the company login I use is correct

kevin cho wrote:

I added “id” as below, then retrieved record successfully. Thanks for your help.

{“jsonrpc”:“2.0”,“method”:“getBookings”,“params”:[{“created_date_from”:“2020-09-10”,“created_date_to”: “2020-10-15”}],“id”:1}