\\
Function used to add a customer for a LAC administrator, with all supported LAC fields. Wiki Markup
\\ *Example request:* \\
No Format |
---|
<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.lac2.pl:8080/soap/type/vendor/version/1" |
...
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <soapenv:Header/> <soapenv:Body> <ns:AddCustomer soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <token xsi:type="xsd:string">e84b130bcd3fdf26644064098acdf9f3e5a3bfaa</token> <customer xsi:type="ns:Soap_Customer"> <!--You may enter the following 12 items in any order--> <id xsi:type="xsd:int"></id> <name |
...
xsi:type="xsd:string">customerName</name>
<street xsi:type="xsd:string">street of Customer</street>
<zip_code xsi:type="xsd:string">55562</zip_code>
<city xsi:type="xsd:string">Ciny Name</city>
<state xsi:type="xsd:string">State Name</state>
<country xsi:type="xsd:string">Country Name</country>
<phone_number xsi:type="xsd:string">223236</phone_number>
<fax_number xsi:type="xsd:string">223236</fax_number>
<vat_number xsi:type="xsd:string">123</vat_number>
<description xsi:type="xsd:string">some description</description>
<contact xsi:type="ns:ArrayOfSoap_Contact" soapenc:arrayType="ns:Soap_Contact |
...
[ |
...
]"/>
</customer>
</ns:AddCustomer>
</soapenv:Body>
</soapenv:Envelope>
|
\\ *Example response:* \\
No Format |
---|
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
...
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" |
...
xmlns:ns1="http://www.lac2.pl:8080/soap/type/vendor/version/1" |
...
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
...
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
...
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:AddCustomerResponse> <return xsi:type="ns1:Soap_Response"> <result_code xsi:type="xsd:int">0</result_code> <result_string xsi:type="xsd:string"/> </return> </ns1:AddCustomerResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
...