-1

有谁知道如何使用 SOAP api在Dolibarr中创建第三方用户、发票、订单和用户登录?

4

1 回答 1

-1

下面是来自 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>

于 2017-11-06T12:44:59.013 回答