[#1084] Error in doctor m test environment while booking eye test

Migrated from Redmine #1084 | Author: Shatakshi Pandey
Status: Feedback | Priority: Immediate, there is BUG! | Created: 2023-07-31


We have configured the store “irqa plaza” in STG doctor-m, also, @Nishant Singh configured the simplyBookAPI info with respect to the store in STG backoffice as requested.

After configured in hybris backoffice we tried testing the functionality, when we have checked, we can see hybris is calling simplyBookApi and not getting the response back from the simplyBookApi. Please find below screenshot taken from KIBANA for the same.

Redmine Admin wrote:

please provide RAW http request and response you are getting. Please also provide your booking site url

Shatakshi Pandey wrote:

Please find below requested info:

http request getting called:- https://user-api.enterpriseappointments.com/admin

response we are getting:- (attached)

Booking site url :- https://stage.doctor-m.com/sa-en/booking/user-book-date/?inProcess=true

Dmytro Bondarev wrote:

Hi,

Please provide full HTTP request and response.

Booking site url :- https://stage.doctor-m.com/sa-en/booking/user-book-date/?inProcess=true
We do not have access to this page.

Shatakshi Pandey wrote:

We are not able to see time slots on the website despite adding time slots on simply book account. attached pictures

Dmytro Bondarev wrote:

Hi, to check issue we need more information from you.
Please provide company login and RAW HTTP request and response.

Shatakshi Pandey wrote:

shatakshi.pandey@magrabi.com
Simplybook@1234

response : (attached )

https://user-api.enterpriseappointments.com/admin

Dmytro Bondarev wrote:

Hi,
I do not see attachments.
Please just insert here request and response. (please replace all sensitive information).
No need to insert sensitive information it is public available page. Please change password as soon as possible.

Shatakshi Pandey wrote:

attached

(Short original content)

Dmytro Bondarev wrote:

Hi,
I do not see attachments.

Shatakshi Pandey wrote:

I dont know why its not uploading, it says not found after uploading but does not give any error

Shatakshi Pandey wrote:

can u check ticket history, i attached the response there previosuly

Dmytro Bondarev wrote:

Unfortunately i do not see any attachments. Please provide request and response in text.

Shatakshi Pandey wrote:

Jul 20, 2023 @ 12:57:39.911
logs.message: {“id”:“14”, “jsonrpc”:“2.0”, “error”:{“code”:“-32051”, “message”: “Selected event id is not available”, “data”: }, “result”:null} log: {“instant”:
{“epochSecond”:1689838059, “nano0fSecond”:911102000}, “thread”:“hybrisHTTP1”, “level”: “INFO”, “loggerName”: “com.itelligence.magrabi.service.impl.MagrabiSimplyB ookApiServiceImpl”,“message”:“{"id":"1","jsonrpc":"2.0","error ":{"code":"-32051","message":"Selected event id is not available", "data":},"result":null}”, “endOfBatch”: false, “loggerFqcn”:“org.apache.log4j.Category”, “contextMap”: { “RemoteAddr”:"[49.37.160.114]

Dmytro Bondarev wrote:

I don’t see request, but it is clear that you selected invalid service id.

Shatakshi Pandey wrote:

how do we correct it ?

Dmytro Bondarev wrote:

Just pass correct request to API.
Unfortunately i haven’t seen your request yet.

Shatakshi Pandey wrote:

{
“jsonrpc”: “2.0”,
“method”: “book”,
“params”: [
“1”,
“1”,
“2023-09-20”,
“14:10:00”,
{
“name”: “Jayashree M R”,
“email”: “jayashree@sirisoft-solutions.com”,
“phone”: “971556566556”
}
],
“id”: 14
}

Shatakshi Pandey wrote:

Can you tell us what is the correct service id

Dmytro Bondarev wrote:

Hi, it is id of service that you book. You can see it in your company admin side. (For example in URL) Or you can see it when you are getting list of services via API.