Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Anes,
    if the REST call you’re trying to implement is related to a specific plugin functionality. I suggest to create the service folder under the plugin directory.
    One of the error you get comes from inclusion of Translation/Entry.php.
    I don’t know what this is but probably it’s a file included by some plugin you have installed so please try to move the services directory under the WPBI root folder.
    Even the fatal error you get is due to wrong relative positions of files.
    Please implement your REST interface in a subfolder of the WPBI plugin.
    regards,
    Claudio

    Thread Starter anespa

    (@anespa)

    Dear Claudio,
    I check as you suggestion , but still it’s not working . Do you can provide a sample code , which can work in WPBI Lite , I believe it can implement on Enterprise later . Please reply urgently I am waiting for you.

    Thanks,
    Anes

    Well writing the code for you of a function that is not supported by the plugin is not really in the scope of this support forum.
    first you should provide a description of exactly what you are trying to achieve.
    1) do you want to retrieve only the data in JSON?
    2) do you want to retrieve the whole chart as HTML page?

    no.2 is probably simpler, just create a WP instance with one page per chart you need and then retrieve the chart on the remote host with a simple HTTP get call.

    Thread Starter anespa

    (@anespa)

    Dear Claudio,
    Please provide the option to retrieve the first case , i.e data in json format. Waiting for your fast reply.

    Thanks,
    Anes

    Hello Anes,
    I think this post
    https://blattchat.com/2013/01/14/building-a-rest-interface-with-wordpress/
    will help you in building a REST interface into your WP instance so that later you can invoke the WPBI functionality via REST web service calls.
    Once you have the REST interface functional, I can drive you to call the WPBI API that retrieves the JSON data.
    regards,
    Claudio

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WPBI Enterprise integration with web service(REST)’ is closed to new replies.