Overview Service Description Client proxy Methods GetOffer GetShipmentService AddShipmentService SyncOffer SyncRemoved GetProductQuantity GetProductsBasicInfo MakeOrder GetOrderStatus GetOrdersHistory CustomerAdd CustomerEdit GetKinds GetMaterials GetUom GetVat GetVersion GetServerDateTime GetShops GetProducers GetFeatures Methods for binding JubiDocWSSoap12 GetOffer GetShipmentService AddShipmentService SyncOffer SyncRemoved GetProductQuantity GetProductsBasicInfo MakeOrder GetOrderStatus GetOrdersHistory CustomerAdd CustomerEdit GetKinds GetMaterials GetUom GetVat GetVersion GetServerDateTime GetShops GetProducers GetFeatures |
CustomerAdd
Overview | Test Form | Message Layout The following are sample SOAP requests and responses for each protocol supported by this method: Soap POST /JubiDocWS.asmx SOAPAction: JubiDocWS/CustomerAdd Content-Type: text/xml; charset=utf-8 Content-Length: string Host: string <?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CustomerAdd xmlns="JubiDocWS"> <wsuser>string</wsuser> <wspass>string</wspass> <name>string</name> <shortname>string</shortname> <street>string</street> <city>string</city> <zipcode>string</zipcode> <country>string</country> <phone>string</phone> <phone_mb>string</phone_mb> <fax>string</fax> <email>string</email> <prefix_nip>string</prefix_nip> <nip>string</nip> <comment>string</comment> <payervat>boolean</payervat> <pesel>string</pesel> <www>string</www> <docidentity_type>int</docidentity_type> <docidentity_number>string</docidentity_number> <discount>decimal</discount> </CustomerAdd> </soap:Body> </soap:Envelope> HTTP/1.0 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: string <?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CustomerAddResponse xmlns="JubiDocWS"> <CustomerAddResult> <customer_id>int</customer_id> <error_code>int</error_code> <error_desc>string</error_desc> </CustomerAddResult> </CustomerAddResponse> </soap:Body> </soap:Envelope> HTTP Get GET /JubiDocWS.asmx/CustomerAdd?wsuser=string&wspass=string&name=string&shortname=string&street=string&city=string&zipcode=string&country=string&phone=string&phone_mb=string&fax=string&email=string&prefix_nip=string&nip=string&comment=string&payervat=string&pesel=string&www=string&docidentity_type=string&docidentity_number=string&discount=string Host: string HTTP/1.0 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: string <JDCustomer xmlns="JubiDocWS"> <customer_id>int</customer_id> <error_code>int</error_code> <error_desc>string</error_desc> </JDCustomer> HTTP Post POST /JubiDocWS.asmx/CustomerAdd Content-Type: application/x-www-form-urlencoded Content-Length: string Host: string wsuser=string&wspass=string&name=string&shortname=string&street=string&city=string&zipcode=string&country=string&phone=string&phone_mb=string&fax=string&email=string&prefix_nip=string&nip=string&comment=string&payervat=string&pesel=string&www=string&docidentity_type=string&docidentity_number=string&discount=string HTTP/1.0 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: string <JDCustomer xmlns="JubiDocWS"> <customer_id>int</customer_id> <error_code>int</error_code> <error_desc>string</error_desc> </JDCustomer> |