Version 4 has new API. I am afraid, you will need to redo the web service integration to make it work again.
Please check with our developers directly on forum or IRC chat for discussing this issue.
--
Thanks and Regards,
Uxxxxx Xxxxxx
www.erpnext.com"
We are paying customers of your product and have been for last 3 years. I integrated the web service api into a third party product using the help from support but seems like they are too busy to respond with an example.
--
Note:
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/82a581a0-0ad8-492d-aa0a-4be4110b4eaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Note:
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/34f9d99f-f582-4286-bb7b-d597eac30700%40googlegroups.com.
Traceback (innermost last): File "/home/frappe/press/benches/2406141220/env/lib/python2.7/site-packages/frappe/app.py", line 49, in application response = frappe.api.handle() File "/home/frappe/press/benches/2406141220/env/lib/python2.7/site-packages/frappe/api.py", line 97, in handle data.update({ AttributeError: 'list' object has no attribute 'update'
Insert must be a POST request - are you doing a GET ? and update must be a PUTThe script should work. I just built and used it script for a wiring in Job Applications via Google Forms into our ERP (which is a vanilla application on frappecloud.com)
On 24-Jun-2014, at 6:24 pm, Ankit <aps...@gmail.com> wrote:
Hi Rushabh,
I refered to that example when I started making the changes. Its not working for us.
This is the url that gets generated from JSON. Please spot what is wrong and why it returns the list of customers rather than performing an insert. I am using http post.
https://company.frappecloud.com/api/resource/Customer?data=%5B%7B%22doctype%22%3A%22Customer%22%2C%22customer_name%22%3A%22Ajay%20Devgan%22%2C%22customer_type%22%3A%22Individual%22%2C%22customer_group%22%3A%22Default%20Customer%20Group%22%2C%22territory%22%3A%22Default%22%2C%22company%22%3A%22Comapny%22%7D%5D
regards
Ankit
On Wednesday, June 25, 2014 12:37:07 AM UTC+12, rushabh wrote:Use the new API lib - its quite similar to the old one--
Note:
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/63081e0a-b484-458e-b2ee-590de800bc50%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
--
Note:
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/d609999b-00f2-4594-88c4-eba4eb2c7b16%40googlegroups.com.