Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-09-17 09:46:14

samapraku
Member
Registered: 2014-09-17
Posts: 65

I cannot access API url - 404 error

Hello,

I am trying to create an android app using your API's. However, when I try to access the api using my installation url, I get a 404 not found error.

Do I have to enable the lhxml module first? and where should I do it?

Offline

#2 2014-09-17 09:47:42

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: I cannot access API url - 404 error

No you do not have to enable anything. If it returns 404 it's something with your server. To make sure it works you can try to enter something like that
http://demo.livehelperchat.com/index.php/xml/checklogin

Offline

#3 2014-09-17 10:04:54

samapraku
Member
Registered: 2014-09-17
Posts: 65

Re: I cannot access API url - 404 error

Great!!

I am now able to access after including the index.php to the url -  index.php/xml/checklogin

The links on your API documentation page do not include the /index.php/


Thank you very much

Offline

#4 2014-10-02 10:57:04

samapraku
Member
Registered: 2014-09-17
Posts: 65

Re: I cannot access API url - 404 error

Hello,

Please which API do you use to accept a new chat in the pending chats list?

I have used this api: <pre>http://demo.livehelperchat.com/xml/accepttransferbychat/<chat_id>[/pre]  and this one <pre>http://demo.livehelperchat.com/xml/addmsgadmin/<chat_id></pre>
but after I open the chat, the chat still show in the pending list and it doesn't show that user has joined the chat.

Thanks

Last edited by samapraku (2014-10-02 10:58:51)

Offline

#5 2014-10-02 13:42:32

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: I cannot access API url - 404 error

Hi,

It's this xml/chatdata this call. It returns main chat data and changes status data to accepted.

Offline

#6 2014-10-02 16:50:36

samapraku
Member
Registered: 2014-09-17
Posts: 65

Re: I cannot access API url - 404 error

Thank you very much. Got it working.

Offline

#7 2015-04-14 14:19:23

samapraku
Member
Registered: 2014-09-17
Posts: 65

Re: I cannot access API url - 404 error

Hi,

I have been able to make some headway with the android app. Currently I am able to access active chat and pending chat lists and I am also able to chat with my android app.

What I want to know is which api call fetches the unread messages?  I am guessing that is what you use to check for new messages.  The json that is returned when i use the /xml/lists api doesn't include the Unread messages json.

Thank you very much for your support and efforts.

Offline

Board footer