Jump to content

External API


NormanRynd

Recommended Posts

Hello i'm trying making my custom api action can someone give me any sample cause i keep getting this error no matter what i do
{
    "result": "error",
    "message": "Invalid API Action: \"unpidoinvoice\" is not a valid API action"
}

 

My goal is to be able to "POST" to http://127.0.0.1/includes/api.php?responsetype=json&identifier=XXXXXXXX&secret=XXXXXXXX&action=unpidoinvoice&accesskey=XXXXXXX

 

Using my custom action that will return me the custom data i wanted like total number of orders , can someone provide me working sample and tell me how to make it works? this a code i trying
 

Link to comment
Share on other sites

17 hours ago, NormanRynd said:

Using my custom action that will return me the custom data i wanted like total number of orders , can someone provide me working sample and tell me how to make it works? this a code i trying

total number of orders

https://developers.whmcs.com/api-reference/getorders/#:~:text=total number of results available

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated