【发布时间】:2017-10-31 12:29:50
【问题描述】:
有谁知道如何使用 SOAP api 在Dolibarr 创建第三方用户、发票、订单和用户登录?
【问题讨论】:
有谁知道如何使用 SOAP api 在Dolibarr 创建第三方用户、发票、订单和用户登录?
【问题讨论】:
来自 dolibarr 的 getuser 详细信息的以下 xml 格式
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.dolibarr.org/ns/">
<soapenv:Header/>
<soapenv:Body>
<ns:getUser soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<authentication xsi:type="ns:authentication">
<!--You may enter the following 5 items in any order-->
<dolibarrkey xsi:type="xsd:string">superuser api key</dolibarrkey>
<sourceapplication xsi:type="xsd:string"></sourceapplication>
<login xsi:type="xsd:string">your login id</login>
<password xsi:type="xsd:string">your pasword</password>
<entity xsi:type="xsd:string">your entity</entity>
</authentication>
<id xsi:type="xsd:string">user id's under your entity</id>
<ref xsi:type="xsd:string"></ref>
<ref_ext xsi:type="xsd:string"></ref_ext>
</ns:getUser>
</soapenv:Body>
</soapenv:Envelope>
【讨论】: