【发布时间】:2014-06-27 11:04:37
【问题描述】:
这是不起作用的表格:
<form action="https://api.pipedrive.com/v1/persons" method="post">
<!-- These hidden fields have valid values, just not shown here -->
<input type="hidden" name="owner_id" id="owner_id" value="my-id" />
<input type="hidden" name="org_id" id="org_id" value="my-company-id" />
<input type="hidden" name="api_token" id="api_token" value="my-api-key" />
<input type="hidden" name="stage_id" id="stage_id" value="35" />
<b>Name</b><br/>
<input type="text" name="name" id="name" id="name"/>
<br/><br/>
<b>E-mail</b><br/>
<input type="text" name="email" id="email" id="email"/>
<br/><br/>
<b>Arrival</b><br/>
<input type="text" name="2fdf1284127d702e42595ce20bd8ffdf60763105" id="2fdf1284127d702e42595ce20bd8ffdf60763105"/>
<br/><br/>
<b>Departure</b><br/>
<input type="text" name="2492a5afed2a9cb7948d6a22135fd4dd80de200c" id="2492a5afed2a9cb7948d6a22135fd4dd80de200c"/>
<br/><br/>
<b>Message</b><br/>
<textarea style="width:300px; hight:70px;" id="7433280b87ffc7c1e3fd615eb35526273bcea6cf" name="7433280b87ffc7c1e3fd615eb35526273bcea6cf"></textarea>
<br/><br/>
<input type="submit" value="Remitir"/>
</form>
提交后,返回如下响应:
{"success":false,"error":"Organization not found.","data":null,"additional_data":null}
通过 REST 成功添加新人缺少什么?
Here is the API:https://developers.pipedrive.com/v1
非常感谢您的解决方案。
【问题讨论】:
-
这个 API 有文档吗?
-
API是developers.pipedrive.com/v1,但是我没有成功使用过。
-
嗨@iamtoc 请帮助我如何做到这一点
标签: json rest pipedrive-api