This method returns the codes and names of all the warehouses to which you have access.


It is assumed that you have worked through Creating your first Request to a Service.

How to submit a request

Proceed as follows:

  1. If you have not already done so, open a new project using the WSDL InformationService.xml.

  2. Create a new request under findWarehouses.

  3. Enter the authorisation for the request.


    This authorisation should relate to the user for whom the warehouse information is to be returned, and should typically be the API user. This user should not in theory be locked to any warehouses, but if they are, then only those warehouses to which the user account has access will be returned.

  4. Click Arrow.png to submit the request. You know that the information request has been successful once one or more warehouse codes and names have been returned.

Example Request

<soapenv:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soapenv="" xmlns:ser="urn:DeliveryManager/services">
      <ser:findWarehouses soapenv:encodingStyle=""/>

For an example response, see below.

Example Response

<soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">
      <ns1:findWarehousesResponse soapenv:encodingStyle="" xmlns:ns1="urn:DeliveryManager/services">
         <findWarehousesReturn soapenc:arrayType="ns2:CodeName[2]" xsi:type="soapenc:Array" xmlns:ns2="urn:DeliveryManager/types" xmlns:soapenc="">
            <findWarehousesReturn xsi:type="ns2:CodeName">
               <code xsi:type="soapenc:string">BSK1</code>
               <name xsi:type="soapenc:string">Basingstoke1</name>
            <findWarehousesReturn xsi:type="ns2:CodeName">
               <code xsi:type="soapenc:string">READING1</code>
               <name xsi:type="soapenc:string">Reading Green Park</name>