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 |
MakeOrder
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/MakeOrder 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> <MakeOrder xmlns="JubiDocWS"> <wsuser>string</wsuser> <wspass>string</wspass> <shops_id>int</shops_id> <positions> <JDPosition> <article_id>string</article_id> <symbol>string</symbol> <quantity>decimal</quantity> <price_netto>decimal</price_netto> <price_brutto>decimal</price_brutto> <value_netto>decimal</value_netto> <value_vat>decimal</value_vat> <discount>decimal</discount> <vat_percent>decimal</vat_percent> </JDPosition> <JDPosition> <article_id>string</article_id> <symbol>string</symbol> <quantity>decimal</quantity> <price_netto>decimal</price_netto> <price_brutto>decimal</price_brutto> <value_netto>decimal</value_netto> <value_vat>decimal</value_vat> <discount>decimal</discount> <vat_percent>decimal</vat_percent> </JDPosition> </positions> <customer_id>int</customer_id> <comment>string</comment> <shipmentaddress> <addrtype>int</addrtype> <name>string</name> <surname>string</surname> <companyname>string</companyname> <street>string</street> <housenumber>string</housenumber> <localnumber>string</localnumber> <city>string</city> <zipcode>string</zipcode> <country>string</country> <nip>string</nip> <email>string</email> <phone_mb>string</phone_mb> <comment>string</comment> </shipmentaddress> <invoiceaddress> <addrtype>int</addrtype> <name>string</name> <surname>string</surname> <companyname>string</companyname> <street>string</street> <housenumber>string</housenumber> <localnumber>string</localnumber> <city>string</city> <zipcode>string</zipcode> <country>string</country> <nip>string</nip> <email>string</email> <phone_mb>string</phone_mb> <comment>string</comment> </invoiceaddress> <paymentType>int</paymentType> <shipmentservice_id>string</shipmentservice_id> <freeshipment>boolean</freeshipment> <finalDocType>string</finalDocType> </MakeOrder> </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> <MakeOrderResponse xmlns="JubiDocWS"> <MakeOrderResult> <order_id>string</order_id> <ordernumber>string</ordernumber> <customer_id>int</customer_id> <customer_name>string</customer_name> <date_w>dateTime</date_w> <value_netto>decimal</value_netto> <value_vat>decimal</value_vat> <currency_symbol>string</currency_symbol> <currency_rate>decimal</currency_rate> <shops_id>int</shops_id> <barcode>string</barcode> <convinfo>string</convinfo> <error_code>int</error_code> <error_desc>string</error_desc> <positions> <JDPosition> <article_id>string</article_id> <symbol>string</symbol> <quantity>decimal</quantity> <price_netto>decimal</price_netto> <price_brutto>decimal</price_brutto> <value_netto>decimal</value_netto> <value_vat>decimal</value_vat> <discount>decimal</discount> <vat_percent>decimal</vat_percent> </JDPosition> <JDPosition> <article_id>string</article_id> <symbol>string</symbol> <quantity>decimal</quantity> <price_netto>decimal</price_netto> <price_brutto>decimal</price_brutto> <value_netto>decimal</value_netto> <value_vat>decimal</value_vat> <discount>decimal</discount> <vat_percent>decimal</vat_percent> </JDPosition> </positions> </MakeOrderResult> </MakeOrderResponse> </soap:Body> </soap:Envelope> |