TicOrders
Click here for a complete list of operations.
sendOrder
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/TicOrders.asmx HTTP/1.1 Host: tic.tyrenet.nl Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/sendOrder" <?xml version="1.0" encoding="utf-8"?> <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:Header> <Reference xmlns="http://tempuri.org/"> <LoginUID>string</LoginUID> <ApiUserID>int</ApiUserID> <TicUID>string</TicUID> <DealerID>int</DealerID> <DealerCode>string</DealerCode> <OrderType>int</OrderType> <DeliveryType>int</DeliveryType> <DeliveryDate>string</DeliveryDate> <DeliveryTime>string</DeliveryTime> <OrderDate>string</OrderDate> <TicOrderNr>string</TicOrderNr> <OrderReference>string</OrderReference> <OrderRemarks>string</OrderRemarks> <MailConfirmation>int</MailConfirmation> <MailConfirmWholesaler>int</MailConfirmWholesaler> <OrderInfo> <OrderDate>string</OrderDate> <OrderTime>string</OrderTime> <OrderSource>string</OrderSource> </OrderInfo> <Customer> <Name>string</Name> <Address>string</Address> <Zipcode>string</Zipcode> <City>string</City> <Country>string</Country> <Phone>string</Phone> <Email>string</Email> <FittingDate>string</FittingDate> <FittingTime>string</FittingTime> <PayAdvance>decimal</PayAdvance> <PayCosts>decimal</PayCosts> <Remarks>string</Remarks> </Customer> <DebugMode>boolean</DebugMode> <ErrorCode>string</ErrorCode> <ErrorDescription>string</ErrorDescription> </Reference> </soap:Header> <soap:Body> <sendOrder xmlns="http://tempuri.org/"> <arrOrderlines> <Orderlines> <ProdType>int</ProdType> <EanCode>string</EanCode> <ProdcodeClient>string</ProdcodeClient> <ExpressDelivery>int</ExpressDelivery> <Quantity>int</Quantity> <PricePurchase>double</PricePurchase> <B2c> <PurchaseSource>string</PurchaseSource> <PricePurchaseSource>decimal</PricePurchaseSource> <PricePurchasePartner>decimal</PricePurchasePartner> <PriceConsumer>decimal</PriceConsumer> <ExtraMargin>decimal</ExtraMargin> <ExtraMarginTyrenet>decimal</ExtraMarginTyrenet> <MarketingFee>decimal</MarketingFee> </B2c> </Orderlines> <Orderlines> <ProdType>int</ProdType> <EanCode>string</EanCode> <ProdcodeClient>string</ProdcodeClient> <ExpressDelivery>int</ExpressDelivery> <Quantity>int</Quantity> <PricePurchase>double</PricePurchase> <B2c> <PurchaseSource>string</PurchaseSource> <PricePurchaseSource>decimal</PricePurchaseSource> <PricePurchasePartner>decimal</PricePurchasePartner> <PriceConsumer>decimal</PriceConsumer> <ExtraMargin>decimal</ExtraMargin> <ExtraMarginTyrenet>decimal</ExtraMarginTyrenet> <MarketingFee>decimal</MarketingFee> </B2c> </Orderlines> </arrOrderlines> </sendOrder> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <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:Header> <Reference xmlns="http://tempuri.org/"> <LoginUID>string</LoginUID> <ApiUserID>int</ApiUserID> <TicUID>string</TicUID> <DealerID>int</DealerID> <DealerCode>string</DealerCode> <OrderType>int</OrderType> <DeliveryType>int</DeliveryType> <DeliveryDate>string</DeliveryDate> <DeliveryTime>string</DeliveryTime> <OrderDate>string</OrderDate> <TicOrderNr>string</TicOrderNr> <OrderReference>string</OrderReference> <OrderRemarks>string</OrderRemarks> <MailConfirmation>int</MailConfirmation> <MailConfirmWholesaler>int</MailConfirmWholesaler> <OrderInfo> <OrderDate>string</OrderDate> <OrderTime>string</OrderTime> <OrderSource>string</OrderSource> </OrderInfo> <Customer> <Name>string</Name> <Address>string</Address> <Zipcode>string</Zipcode> <City>string</City> <Country>string</Country> <Phone>string</Phone> <Email>string</Email> <FittingDate>string</FittingDate> <FittingTime>string</FittingTime> <PayAdvance>decimal</PayAdvance> <PayCosts>decimal</PayCosts> <Remarks>string</Remarks> </Customer> <DebugMode>boolean</DebugMode> <ErrorCode>string</ErrorCode> <ErrorDescription>string</ErrorDescription> </Reference> </soap:Header> <soap:Body> <sendOrderResponse xmlns="http://tempuri.org/"> <sendOrderResult> <Orderresultlines> <ProdType>int</ProdType> <EanCode>string</EanCode> <BacCode>string</BacCode> <ProdDescription1>string</ProdDescription1> <ProdDescription2>string</ProdDescription2> <ExpressDelivery>int</ExpressDelivery> <Quantity>int</Quantity> <QuantitytoDeliver>int</QuantitytoDeliver> <QuantityBackorder>int</QuantityBackorder> <PricePurchase>decimal</PricePurchase> <PriceGross>decimal</PriceGross> <RecyclingFee>decimal</RecyclingFee> <Remarks>string</Remarks> <Log>string</Log> </Orderresultlines> <Orderresultlines> <ProdType>int</ProdType> <EanCode>string</EanCode> <BacCode>string</BacCode> <ProdDescription1>string</ProdDescription1> <ProdDescription2>string</ProdDescription2> <ExpressDelivery>int</ExpressDelivery> <Quantity>int</Quantity> <QuantitytoDeliver>int</QuantitytoDeliver> <QuantityBackorder>int</QuantityBackorder> <PricePurchase>decimal</PricePurchase> <PriceGross>decimal</PriceGross> <RecyclingFee>decimal</RecyclingFee> <Remarks>string</Remarks> <Log>string</Log> </Orderresultlines> </sendOrderResult> </sendOrderResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/TicOrders.asmx HTTP/1.1 Host: tic.tyrenet.nl Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <Reference xmlns="http://tempuri.org/"> <LoginUID>string</LoginUID> <ApiUserID>int</ApiUserID> <TicUID>string</TicUID> <DealerID>int</DealerID> <DealerCode>string</DealerCode> <OrderType>int</OrderType> <DeliveryType>int</DeliveryType> <DeliveryDate>string</DeliveryDate> <DeliveryTime>string</DeliveryTime> <OrderDate>string</OrderDate> <TicOrderNr>string</TicOrderNr> <OrderReference>string</OrderReference> <OrderRemarks>string</OrderRemarks> <MailConfirmation>int</MailConfirmation> <MailConfirmWholesaler>int</MailConfirmWholesaler> <OrderInfo> <OrderDate>string</OrderDate> <OrderTime>string</OrderTime> <OrderSource>string</OrderSource> </OrderInfo> <Customer> <Name>string</Name> <Address>string</Address> <Zipcode>string</Zipcode> <City>string</City> <Country>string</Country> <Phone>string</Phone> <Email>string</Email> <FittingDate>string</FittingDate> <FittingTime>string</FittingTime> <PayAdvance>decimal</PayAdvance> <PayCosts>decimal</PayCosts> <Remarks>string</Remarks> </Customer> <DebugMode>boolean</DebugMode> <ErrorCode>string</ErrorCode> <ErrorDescription>string</ErrorDescription> </Reference> </soap12:Header> <soap12:Body> <sendOrder xmlns="http://tempuri.org/"> <arrOrderlines> <Orderlines> <ProdType>int</ProdType> <EanCode>string</EanCode> <ProdcodeClient>string</ProdcodeClient> <ExpressDelivery>int</ExpressDelivery> <Quantity>int</Quantity> <PricePurchase>double</PricePurchase> <B2c> <PurchaseSource>string</PurchaseSource> <PricePurchaseSource>decimal</PricePurchaseSource> <PricePurchasePartner>decimal</PricePurchasePartner> <PriceConsumer>decimal</PriceConsumer> <ExtraMargin>decimal</ExtraMargin> <ExtraMarginTyrenet>decimal</ExtraMarginTyrenet> <MarketingFee>decimal</MarketingFee> </B2c> </Orderlines> <Orderlines> <ProdType>int</ProdType> <EanCode>string</EanCode> <ProdcodeClient>string</ProdcodeClient> <ExpressDelivery>int</ExpressDelivery> <Quantity>int</Quantity> <PricePurchase>double</PricePurchase> <B2c> <PurchaseSource>string</PurchaseSource> <PricePurchaseSource>decimal</PricePurchaseSource> <PricePurchasePartner>decimal</PricePurchasePartner> <PriceConsumer>decimal</PriceConsumer> <ExtraMargin>decimal</ExtraMargin> <ExtraMarginTyrenet>decimal</ExtraMarginTyrenet> <MarketingFee>decimal</MarketingFee> </B2c> </Orderlines> </arrOrderlines> </sendOrder> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <Reference xmlns="http://tempuri.org/"> <LoginUID>string</LoginUID> <ApiUserID>int</ApiUserID> <TicUID>string</TicUID> <DealerID>int</DealerID> <DealerCode>string</DealerCode> <OrderType>int</OrderType> <DeliveryType>int</DeliveryType> <DeliveryDate>string</DeliveryDate> <DeliveryTime>string</DeliveryTime> <OrderDate>string</OrderDate> <TicOrderNr>string</TicOrderNr> <OrderReference>string</OrderReference> <OrderRemarks>string</OrderRemarks> <MailConfirmation>int</MailConfirmation> <MailConfirmWholesaler>int</MailConfirmWholesaler> <OrderInfo> <OrderDate>string</OrderDate> <OrderTime>string</OrderTime> <OrderSource>string</OrderSource> </OrderInfo> <Customer> <Name>string</Name> <Address>string</Address> <Zipcode>string</Zipcode> <City>string</City> <Country>string</Country> <Phone>string</Phone> <Email>string</Email> <FittingDate>string</FittingDate> <FittingTime>string</FittingTime> <PayAdvance>decimal</PayAdvance> <PayCosts>decimal</PayCosts> <Remarks>string</Remarks> </Customer> <DebugMode>boolean</DebugMode> <ErrorCode>string</ErrorCode> <ErrorDescription>string</ErrorDescription> </Reference> </soap12:Header> <soap12:Body> <sendOrderResponse xmlns="http://tempuri.org/"> <sendOrderResult> <Orderresultlines> <ProdType>int</ProdType> <EanCode>string</EanCode> <BacCode>string</BacCode> <ProdDescription1>string</ProdDescription1> <ProdDescription2>string</ProdDescription2> <ExpressDelivery>int</ExpressDelivery> <Quantity>int</Quantity> <QuantitytoDeliver>int</QuantitytoDeliver> <QuantityBackorder>int</QuantityBackorder> <PricePurchase>decimal</PricePurchase> <PriceGross>decimal</PriceGross> <RecyclingFee>decimal</RecyclingFee> <Remarks>string</Remarks> <Log>string</Log> </Orderresultlines> <Orderresultlines> <ProdType>int</ProdType> <EanCode>string</EanCode> <BacCode>string</BacCode> <ProdDescription1>string</ProdDescription1> <ProdDescription2>string</ProdDescription2> <ExpressDelivery>int</ExpressDelivery> <Quantity>int</Quantity> <QuantitytoDeliver>int</QuantitytoDeliver> <QuantityBackorder>int</QuantityBackorder> <PricePurchase>decimal</PricePurchase> <PriceGross>decimal</PriceGross> <RecyclingFee>decimal</RecyclingFee> <Remarks>string</Remarks> <Log>string</Log> </Orderresultlines> </sendOrderResult> </sendOrderResponse> </soap12:Body> </soap12:Envelope>