Get Language labels

API will return active language labels.

Resource URL

https://Server Node Environment/index.php

Example : https://api.yourdomain.com/index.php

Resource Information

Parameters Values
Resource Format JSON
Method GET
Requires authentication? Yes

Request

GET Params

Parameters Mandatory Description
[Request parameters]
d REQUIRED desktop - Controller directory name
c REQUIRED chat - Controller name
m REQUIRED get_lang_labels - Controller method name
token REQUIRED Application Access Token

Response


{
    "result": "success",
    "language_version": 20171221061942,
    "lang_labels": {
        "label_hint_auth": "Please enter your valid chat URL. If you don't have that either ask your  administrator Or in case you are administrator, you can find this under \"Setting\" screen.",
        "chb_remember": "Remember me on this computer",
        "msg_no_department": "No department added yet.",
        "msg_no_agent": "No agent added yet.",
        "warning_no_network": "Please check your network connection and try again.",
        "error_invalid_id": "Your ID or email does not found in our records. Please try entering the correct email address again.",
        "error_invalid_url": "The URL you have entered might be invalid. Please cross check the same to confirm.",
        "prompt_email": "Email",
        "prompt_password": "Password",
        "prompt_enter_message": "Type a message here",
        "prompt_enter_url": "Enter Chatbull URL",
        "btn_go": "GO",
        "btn_forward": "FORWARD",
        "btn_cancel": "CANCEL",
        "btn_confirm": "CONFIRM",
        "btn_send_mail": "SEND MAIL",
        "btn_accept": "ACCEPT",
        "btn_logout": "Logout",
        "btn_online_request_s": "Online request",
        "btn_offline_request_s": "Offline request",
        "btn_online_chats": "Online Chats",
        "btn_chat_history": "Chat History",
        "btn_login": "Signin",
        "btn_forword_chat": "FORWARD CHAT",
        "btn_close_chat": "CLOSE CHAT",
        "text_other_detail": "OTHER DETAIL",
        "text_forward": "Forward To",
        "text_agent": "Agents",
        "text_department": "Departments",
        "text_select_agent": "Select Agents",
        "text_select_department": "Select Departments",
        "text_canned_messages": "Canned Messages",
        "text_add_canned_message": "Add New",
        "text_save": "SAVE",
        "text_sent": "Sent",
        "text_confirmation": "Confirmation",
        "text_delete_confirmation": "Are you sure want to delete this message ?",
        "text_search": "Search",
        "text_title": "Title",
        "text_description": "Description",
        "text_open_chats": "Open Chats",
        "text_other_online_visitor": "Other Online Visitors",
        "text_new_message": "New Message from ",
        "text_new_online_req": "No new chat requests to display",
        "text_alert": "Alert",
        "text_ok": "OK",
        "text_new_request": "New Request",
        "text_new_online_request": "new online chat request from ",
        "text_request_forwarded": "Request Forwarded",
        "text_request_forwarded_sucess": "Request forwarded successfully.",
        "text_chat_close_sucess": "Chat close successfully.",
        "text_forward_chat_request": " forward you a chat request",
        "text_no_chat_history": "No chat history available",
        "text_no_recent_chat_avail": "No Recent chat available",
        "text_confirm_close": "Are you sure to close chat ?",
        "text_no_offline_message_to_display": "No offline requests to display",
        "text_warning": "Warning !!!",
        "text_select_file": "Uploading File..",
        "text_allowed_files": "Allowed Files",
        "text_size_limited": "Size limit exceeded.",
        "text_yes": "YES",
        "text_failed_to_open": "Failed to open ",
        "text_open_file_dir": ". Do you want to open file directory? ",
        "text_ip_address": "IP",
        "text_visited_pages": "VISITED PAGES",
        "text_no_page_title": "No page title",
        "text_online_visitor": "Visitors are online to chat"
    }
}

Messages returned

HTTP STATUS CODE Description MESSAGE BODY
200 Successfully Return Return Json data.
200 Authorization Error {"result":"failed","error":"Invalid access token or Token has been expired."}
400 Request is malformed {"error": "invalid_request", "error_description": "description"}
403 Forbidden Directory access is forbidden.
404 Resource Not found The page you requested was not found.