SolarWebService04Feb2011


Click here for a complete list of operations.

SendOrder

Send an order directly to Solar and get an immidiate response. If the account parameter is left empty, the default account of the requesting user is used.

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 /SolarWebService/SolarWebService04feb2011.asmx HTTP/1.1
Host: sws.solarnederland.nl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://sws.solar.eu/SolarWebservice/2011/2/4/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:Body>
    <SendOrder xmlns="http://sws.solar.eu/SolarWebservice/2011/2/4/">
      <authentication>
        <Initials>string</Initials>
        <Password>string</Password>
      </authentication>
      <account>string</account>
      <ProjectAccountNumber>string</ProjectAccountNumber>
      <order>
        <Title>string</Title>
        <DeliveryDate>string</DeliveryDate>
        <DeliveryTogether>string</DeliveryTogether>
        <DeliveryAddress>
          <PartnerId>string</PartnerId>
          <Name>string</Name>
          <Address>string</Address>
          <Address2>string</Address2>
          <PostalCode>string</PostalCode>
          <CityName>string</CityName>
          <CountryCode>string</CountryCode>
          <GLN>string</GLN>
          <Floor>string</Floor>
        </DeliveryAddress>
        <ContactPerson>string</ContactPerson>
        <CurrentUserEmail>string</CurrentUserEmail>
        <SendOrderConfirmationByEmail>string</SendOrderConfirmationByEmail>
        <FreightRemark>string</FreightRemark>
        <ProjectAccount>string</ProjectAccount>
        <PurchaseNumber>string</PurchaseNumber>
        <OwnOrderNumber>string</OwnOrderNumber>
        <OwnLabel>string</OwnLabel>
        <StorageLocation>string</StorageLocation>
        <EndUserAddress>
          <PartnerId>string</PartnerId>
          <Name>string</Name>
          <Address>string</Address>
          <Address2>string</Address2>
          <PostalCode>string</PostalCode>
          <CityName>string</CityName>
          <CountryCode>string</CountryCode>
          <GLN>string</GLN>
          <Floor>string</Floor>
        </EndUserAddress>
        <CustomerAddress>
          <Name2>string</Name2>
          <HouseNumber>string</HouseNumber>
        </CustomerAddress>
        <TransactionId>string</TransactionId>
        <MerchantID>string</MerchantID>
        <ReservedAmount>string</ReservedAmount>
        <Lines>
          <OrderLine>
            <ElectricalNumber>string</ElectricalNumber>
            <HWSNumber>string</HWSNumber>
            <EAN>string</EAN>
            <SapMatNo>string</SapMatNo>
            <Type>OrderLine or TextLine</Type>
            <Description>string</Description>
            <Pcs>string</Pcs>
            <IsServiceMaterial>string</IsServiceMaterial>
          </OrderLine>
          <OrderLine>
            <ElectricalNumber>string</ElectricalNumber>
            <HWSNumber>string</HWSNumber>
            <EAN>string</EAN>
            <SapMatNo>string</SapMatNo>
            <Type>OrderLine or TextLine</Type>
            <Description>string</Description>
            <Pcs>string</Pcs>
            <IsServiceMaterial>string</IsServiceMaterial>
          </OrderLine>
        </Lines>
      </order>
    </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:Body>
    <SendOrderResponse xmlns="http://sws.solar.eu/SolarWebservice/2011/2/4/">
      <SendOrderResult>
        <OrderNumber>string</OrderNumber>
        <Title>string</Title>
        <MessageList>
          <OrderMessage>
            <Severity>Information or Warning or Error</Severity>
            <Text>string</Text>
          </OrderMessage>
          <OrderMessage>
            <Severity>Information or Warning or Error</Severity>
            <Text>string</Text>
          </OrderMessage>
        </MessageList>
        <Created>boolean</Created>
        <DeliveryDate>dateTime</DeliveryDate>
        <DeliveryAddress>
          <PartnerId>string</PartnerId>
          <Name>string</Name>
          <Address>string</Address>
          <Address2>string</Address2>
          <PostalCode>string</PostalCode>
          <CityName>string</CityName>
          <CountryCode>string</CountryCode>
          <GLN>string</GLN>
          <Floor>string</Floor>
        </DeliveryAddress>
        <BuyerAddress>
          <PartnerId>string</PartnerId>
          <Name>string</Name>
          <Address>string</Address>
          <Address2>string</Address2>
          <PostalCode>string</PostalCode>
          <CityName>string</CityName>
          <CountryCode>string</CountryCode>
          <GLN>string</GLN>
          <Floor>string</Floor>
        </BuyerAddress>
        <OrderLineResponseList>
          <OrderLineResponse>
            <MaterialNumber>string</MaterialNumber>
            <Description>string</Description>
            <Unit>string</Unit>
            <PriceQuantityCode>double</PriceQuantityCode>
            <ExpectedDeliveredPieces>int</ExpectedDeliveredPieces>
            <AdjustedLineTotal>double</AdjustedLineTotal>
          </OrderLineResponse>
          <OrderLineResponse>
            <MaterialNumber>string</MaterialNumber>
            <Description>string</Description>
            <Unit>string</Unit>
            <PriceQuantityCode>double</PriceQuantityCode>
            <ExpectedDeliveredPieces>int</ExpectedDeliveredPieces>
            <AdjustedLineTotal>double</AdjustedLineTotal>
          </OrderLineResponse>
        </OrderLineResponseList>
      </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 /SolarWebService/SolarWebService04feb2011.asmx HTTP/1.1
Host: sws.solarnederland.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:Body>
    <SendOrder xmlns="http://sws.solar.eu/SolarWebservice/2011/2/4/">
      <authentication>
        <Initials>string</Initials>
        <Password>string</Password>
      </authentication>
      <account>string</account>
      <ProjectAccountNumber>string</ProjectAccountNumber>
      <order>
        <Title>string</Title>
        <DeliveryDate>string</DeliveryDate>
        <DeliveryTogether>string</DeliveryTogether>
        <DeliveryAddress>
          <PartnerId>string</PartnerId>
          <Name>string</Name>
          <Address>string</Address>
          <Address2>string</Address2>
          <PostalCode>string</PostalCode>
          <CityName>string</CityName>
          <CountryCode>string</CountryCode>
          <GLN>string</GLN>
          <Floor>string</Floor>
        </DeliveryAddress>
        <ContactPerson>string</ContactPerson>
        <CurrentUserEmail>string</CurrentUserEmail>
        <SendOrderConfirmationByEmail>string</SendOrderConfirmationByEmail>
        <FreightRemark>string</FreightRemark>
        <ProjectAccount>string</ProjectAccount>
        <PurchaseNumber>string</PurchaseNumber>
        <OwnOrderNumber>string</OwnOrderNumber>
        <OwnLabel>string</OwnLabel>
        <StorageLocation>string</StorageLocation>
        <EndUserAddress>
          <PartnerId>string</PartnerId>
          <Name>string</Name>
          <Address>string</Address>
          <Address2>string</Address2>
          <PostalCode>string</PostalCode>
          <CityName>string</CityName>
          <CountryCode>string</CountryCode>
          <GLN>string</GLN>
          <Floor>string</Floor>
        </EndUserAddress>
        <CustomerAddress>
          <Name2>string</Name2>
          <HouseNumber>string</HouseNumber>
        </CustomerAddress>
        <TransactionId>string</TransactionId>
        <MerchantID>string</MerchantID>
        <ReservedAmount>string</ReservedAmount>
        <Lines>
          <OrderLine>
            <ElectricalNumber>string</ElectricalNumber>
            <HWSNumber>string</HWSNumber>
            <EAN>string</EAN>
            <SapMatNo>string</SapMatNo>
            <Type>OrderLine or TextLine</Type>
            <Description>string</Description>
            <Pcs>string</Pcs>
            <IsServiceMaterial>string</IsServiceMaterial>
          </OrderLine>
          <OrderLine>
            <ElectricalNumber>string</ElectricalNumber>
            <HWSNumber>string</HWSNumber>
            <EAN>string</EAN>
            <SapMatNo>string</SapMatNo>
            <Type>OrderLine or TextLine</Type>
            <Description>string</Description>
            <Pcs>string</Pcs>
            <IsServiceMaterial>string</IsServiceMaterial>
          </OrderLine>
        </Lines>
      </order>
    </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:Body>
    <SendOrderResponse xmlns="http://sws.solar.eu/SolarWebservice/2011/2/4/">
      <SendOrderResult>
        <OrderNumber>string</OrderNumber>
        <Title>string</Title>
        <MessageList>
          <OrderMessage>
            <Severity>Information or Warning or Error</Severity>
            <Text>string</Text>
          </OrderMessage>
          <OrderMessage>
            <Severity>Information or Warning or Error</Severity>
            <Text>string</Text>
          </OrderMessage>
        </MessageList>
        <Created>boolean</Created>
        <DeliveryDate>dateTime</DeliveryDate>
        <DeliveryAddress>
          <PartnerId>string</PartnerId>
          <Name>string</Name>
          <Address>string</Address>
          <Address2>string</Address2>
          <PostalCode>string</PostalCode>
          <CityName>string</CityName>
          <CountryCode>string</CountryCode>
          <GLN>string</GLN>
          <Floor>string</Floor>
        </DeliveryAddress>
        <BuyerAddress>
          <PartnerId>string</PartnerId>
          <Name>string</Name>
          <Address>string</Address>
          <Address2>string</Address2>
          <PostalCode>string</PostalCode>
          <CityName>string</CityName>
          <CountryCode>string</CountryCode>
          <GLN>string</GLN>
          <Floor>string</Floor>
        </BuyerAddress>
        <OrderLineResponseList>
          <OrderLineResponse>
            <MaterialNumber>string</MaterialNumber>
            <Description>string</Description>
            <Unit>string</Unit>
            <PriceQuantityCode>double</PriceQuantityCode>
            <ExpectedDeliveredPieces>int</ExpectedDeliveredPieces>
            <AdjustedLineTotal>double</AdjustedLineTotal>
          </OrderLineResponse>
          <OrderLineResponse>
            <MaterialNumber>string</MaterialNumber>
            <Description>string</Description>
            <Unit>string</Unit>
            <PriceQuantityCode>double</PriceQuantityCode>
            <ExpectedDeliveredPieces>int</ExpectedDeliveredPieces>
            <AdjustedLineTotal>double</AdjustedLineTotal>
          </OrderLineResponse>
        </OrderLineResponseList>
      </SendOrderResult>
    </SendOrderResponse>
  </soap12:Body>
</soap12:Envelope>