<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sure.<br>
<br>
Data array:<br>
<pre>[amount] => 0.00
[referenceid] =>
[special_price] => 0
[email] =>
[countrybusiness] => SE
[price_type] => Pricegroup A
[expected_close_date] => 2012-01-09
[created_time] => 2012-01-09 10:53:48
[description] => 120109/SalesBot - Självprofilering
2012-01-09/SalesBot new status.
[modified_time] => 2012-01-13 10:25:50
[next_step] =>
[potential_name] => Featured Store - demo
[type] => Featured Store
[potential_no] => POT3232
[probability_(%)] => 0.00
[related_to] => 3x793
[sales_stage] => Closed Won
[assigned_to] => 20x1756
[potentialid] => 5x53741</pre>
<br>
<br>
This is the raw curl command:<br>
<br>
/usr/bin/curl --header 'Expect:' --header 'Authorization: Basic
<CODE>' --include --url '<VTIGER_URL>/webservice.php'
--data
'element=%7B%22amount%22%3A%220.00%22%2C%22cf_507%22%3A%22%22%2C%22cf_629%22%3A%220%22%2C%22cf_630%22%3A%22%22%2C%22cf_703%22%3A%22SE%22%2C%22cf_705%22%3A%22Pricegroup+A%22%2C%22closingdate%22%3A%222012-01-09%22%2C%22createdtime%22%3A%222012-01-09+10%3A53%3A48%22%2C%22description%22%3A%22120109%5C%2FSalesBot+-+Sj%5Cu00e4lvprofilering%5Cn2012-01-09%5C%2FSalesBot+new+status.%5Cn%22%2C%22modifiedtime%22%3A%222012-01-13+10%3A25%3A50%22%2C%22nextstep%22%3A%22%22%2C%22potentialname%22%3A%22Featured+Store+-+demo%22%2C%22opportunity_type%22%3A%22Featured+Store%22%2C%22potential_no%22%3A%22POT3232%22%2C%22probability%22%3A%220.00%22%2C%22related_to%22%3A%223x793%22%2C%22sales_stage%22%3A%22Closed+Won%22%2C%22assigned_user_id%22%3A%2220x1756%22%2C%22id%22%3A%225x53741%22%7D&operation=update&sessionName=672515d54f100e7a0cc2e'<br>
<br>
<br>
Nicolas Larcipretti skrev 2012-01-13 11:36:
<blockquote
cite="mid:CAK10WeC6gg+JRWSk_eAaaQZ3P5nkQWVGG+d+SB0BcJAE-AR_9Q@mail.gmail.com"
type="cite">Can you paste here your entire REST call? I might help
you cause I have a method that does group creation via webservice
here.
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Nicolas<br>
<br>
<div class="gmail_quote">2012/1/13 Bobo Wieland <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bobo@prisjakt.nu">bobo@prisjakt.nu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Coming back to this
issue. Just ignored it for a while.<br>
<br>
Trying to set assigned_to for a potential to "20x1756"
(which is a valid group that many potentials is assigned
to in our vtiger system) still gives me the error message:<br>
<br>
"Cannot assign record to the given user (ACCESS_DENIED)"<br>
<br>
I do this using the REST Web Services using "update"
<div class="im"><br>
<br>
<br>
<br>
praneeth K skrev 2011-10-28 12:51: </div>
<blockquote type="cite">Hi ,
<div>
<div class="h5"><br>
<br>
Generally group id will be in the format of '20x<i>groupId</i>'.
I hope you are passing id to the REST api in the
same format. <br>
<br>
<div class="gmail_quote">On Fri, Oct 28, 2011 at
1:51 PM, Bobo Wieland <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bobo@prisjakt.nu" target="_blank">bobo@prisjakt.nu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt
0pt 0pt 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Using the
REST-api, is it possible to set "assigned_to"
for a Potential<br>
to a Group? I get an ACCESS_DENIED when I try
even though it works<br>
perfectly to set it to a group using the
standard webinterface.<br>
<br>
best regards<br>
<font color="#888888">Bobo Wieland - <a
moz-do-not-send="true"
href="mailto:bobo@prisjakt.nu"
target="_blank">bobo@prisjakt.nu</a><br>
_______________________________________________<br>
<a moz-do-not-send="true"
href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</font></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<br>
<div>Best Regards,</div>
<div>K Praneeth,</div>
<div>vtiger Team.</div>
<div><br>
</div>
<div><span
style="font-size:13px;font-family:arial,sans-serif"><b>Connect
with us on: </b><a moz-do-not-send="true"
href="http://twitter.com/#%21/vtigercrm"
style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a
moz-do-not-send="true"
href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall"
style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a
moz-do-not-send="true"
href="http://blog.vtiger.com/"
style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a
moz-do-not-send="true"
href="http://wiki.vtiger.com/index.php/Main_Page"
style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a
moz-do-not-send="true"
href="http://forums.vtiger.com/"
style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a
moz-do-not-send="true"
href="http://vtiger.com/"
style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
<br>
</div>
</div>
</blockquote>
<br>
<div class="im"> <br>
<div>-- <br>
<i>Med vänliga hälsningar<br>
Bobo - <a moz-do-not-send="true"
href="mailto:bobo@prisjakt.nu" target="_blank">bobo@prisjakt.nu</a></i></div>
</div>
</div>
<br>
_______________________________________________<br>
<a moz-do-not-send="true" href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<i>Med vänliga hälsningar<br>
Bobo - <a class="moz-txt-link-abbreviated" href="mailto:bobo@prisjakt.nu">bobo@prisjakt.nu</a></i></div>
</body>
</html>