[#1121] Ip address of client

Migrated from Redmine #1121 | Author: Matteo Frigerio
Status: New | Priority: Normal | Created: 2023-10-23


Good morning, on this ticket

I see the response of a service ( which I assume being API documentation | SimplyBook.me Online Scheduling ) containing a “history” field, an array of objects which carry, among other things, an ip address. I need to know if that is the ip address from which the client performed his booking, since it’s an information that I could use, and for the same reason I’d like to know why the history field is empty when I call the same service, should I somehow enable it from simplybook backend?
Thanks.

Redmine Admin wrote:

hi, yes, it should be visitor IP.

Not sure where it is empty, please provide raw http request

Matteo Frigerio wrote:

headers: {‘Content-Type’: ‘application/json’, ‘X-Company-Login’:, ‘X-User-Token’: }
body: {‘jsonrpc’: ‘2.0’, ‘method’: ‘getBookingDetails’, ‘params’: [{‘id’: }], ‘id’: 2}

Matteo Frigerio wrote:

I provided the request; any insight about the reason why the history array is empty?