3ses Posted April 14, 2012 Share Posted April 14, 2012 Hello, I am trying to retrieve contacts from GetContacts Method, You can check attributes at this location http://docs.whmcs.com/API:Get_Contacts Now, I have called a method from my api GetContact("nprajapati@3ses.in") and also like GetContact("", "", "16", "Test", "", "", "nprajapati@3ses.in", "", "", "", "", "", "", "", ""); For First Function, I have already added "nprajapati@3ses.in" using AddContact And For the 2nd Function, Which i called, When calling this function i am getting success output xml as below. <?xml version="1.0" encoding="utf-8"?> <whmcsapi version="4.4.2"> <action>getcontacts</action> <result>success</result> <totalresults>0</totalresults> <startnumber>0</startnumber> <numreturned>0</numreturned> </whmcsapi> But, i did not find any contact list. The actual output should be shown in API Documentation. http://docs.whmcs.com/API:Get_Contacts No Doubt i am getting a success response, but i am not getting proper output. In Second Function, Third Parameter is User ID. At Present i have passed clientid / contactid (i.e. 16 in my function). But i think contactid and userid are different. I don't know, from which location i can find the user id. So can any body please suggest me for the same ASAP. If you required any thing more from my end please let me know. Thanks, Nikunj 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.