Zoho Invoice API not working -


i trying 3 zoho invoice api's not working.

the invoice api's are:

  1. list contacts(get method)
  2. list customer payments(get method)
  3. create customer payment(post method)

  4. list contacts(get method)

for list contacts have used url https://invoice.zoho.com/api/contacts/?authtoken=&scope=invoiceapi

but response is

<response status="0"> <code>5</code> <message> <![cdata[ invalid url passed ]]> </message> </response> 
  1. list customer payments(get method)

for list customer payments have used url as

https://invoice.zoho.com/api/customerpayments?authtoken=&scope=invoiceapi

my response is

<response status="0"> <code>5</code> <message> <![cdata[ invalid url passed ]]> </message> </response> 
  1. create customer payment(post method)

to create customer payment using create map fields , post url method below

<%{ map1 = map();     map1.put("date", "2014-3-24");     map1.put("amount", "10100");     map1.put("customer_id", "<my custome id>");     map1.put("invoice_id", "<my invoice id>");     map1.put("authtoken", "<my authtoken>");     map1.put("scope", "invoiceapi");     post = posturl("https://invoice.zoho.com/api/customerpayments", map1,false);     postresponsecode=post.get("responsecode");     postresponsetext=post.get("responsetext");%>     <%=postresponsecode%><br/>     <%=postresponsetext%> <%}%> 

but response is

500 server encountered unexpected condition prevented fulfilling request

can please me this

this reshma zoho invoice team. launched our rest api zoho invoice , zoho books. suggest , include tag v3 in url api call looks 1 shown below:

https://invoice.zoho.com/api/v3/entity_name?authtoken=*************&organization_id=****** 

you'll find answers of questions on our api documentation here . can reach out @ support@zohoinvoice.com

let me know if worked out you.

regards, reshma


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -