HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: s1-api.fource.nl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: PlaceConsumerOrderRequest
<?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:Body>
<PlaceConsumerOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Cart">
<Customer>
<EmailAddress>String</EmailAddress>
<InvoiceAddress>
<City>String</City>
<CompanyName>String</CompanyName>
<Country>String</Country>
<FirstName>String</FirstName>
<HouseNumber>String</HouseNumber>
<HouseNumberAddition>String</HouseNumberAddition>
<LastName>String</LastName>
<Region>String</Region>
<Street>String</Street>
<ZipCode>String</ZipCode>
</InvoiceAddress>
<Membership>
<CardId>String</CardId>
<PaidCredits>0</PaidCredits>
</Membership>
<NationalIdNr>String</NationalIdNr>
<ShippingAddress>
<City>String</City>
<CompanyName>String</CompanyName>
<Country>String</Country>
<FirstName>String</FirstName>
<HouseNumber>String</HouseNumber>
<HouseNumberAddition>String</HouseNumberAddition>
<LastName>String</LastName>
<Region>String</Region>
<Street>String</Street>
<ZipCode>String</ZipCode>
</ShippingAddress>
<Telephone>String</Telephone>
</Customer>
<Discounts i:nil="true" />
<ExternalSystemId>String</ExternalSystemId>
<OrderId>String</OrderId>
<OrderItems i:nil="true" />
<Payment>
<Fee>0</Fee>
<Reference>String</Reference>
<Remark>String</Remark>
<ShippingPrice>0</ShippingPrice>
<Status>String</Status>
<TotalPrice>0</TotalPrice>
<TransactionProvider>String</TransactionProvider>
<TransactionReference>String</TransactionReference>
<TransactionType>String</TransactionType>
<Type>String</Type>
</Payment>
<Shipping>
<Date>String</Date>
<Fee>0</Fee>
<Method>String</Method>
<Type>String</Type>
</Shipping>
<ShippingMethod>String</ShippingMethod>
</PlaceConsumerOrderRequest>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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:Body>
<PlaceConsumerOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Cart">
<Comment>String</Comment>
<ConsumerOrderId>String</ConsumerOrderId>
</PlaceConsumerOrderResponse>
</soap:Body>
</soap:Envelope>