Skip to main content
Omnitracs Knowledge Base

Depot->GetDepots

GetDepots (Depot function)

This function returns a list of Depot objects for the depots in the company. This always returns all information for all depots.

XML Request

Parameters

There are no input parameters.

XML Structure

XML Request
<soap:Body>  
  <GetDepots xmlns="http://www.qualcomm.com" />  
</soap:Body>

XML Response

Parameters

The XML response will have a <Depots> container, consists of one <Depot> sections for each carrier. The <Depot> section is identical to the object returned in the Get web service.

XML Structure

The XML response will have the following parameters:

XML Response
<soap:Body>  
<GetDepotsResponse xmlns="http://www.qualcomm.com">  
      <GetDepotsResult>  
        <Depots>  
          <Depot>  
            <DepotID>short</DepotID>  
            <DepotName>string</DepotName>  
            <TimeZone>Hawaiian or Alaskan or Pacific or Mountain or Arizona or Central or Eastern or Indiana or Atlantic or Newfoundland or Saskatchewan</TimeZone>  
            <StartOfDay>int</StartOfDay>  
            <StreetAddress>string</StreetAddress>  
            <StreetAddress2>string</StreetAddress2>  
            <City>string</City>  
            <Region>string</Region>  
            <Postal>string</Postal>  
            <FullName>string</FullName>  
            <MiscInfo>string</MiscInfo>  
          </Depot>  
          <Depot>  
            <DepotID>short</DepotID>  
            <DepotName>string</DepotName>  
            <TimeZone>Hawaiian or Alaskan or Pacific or Mountain or Arizona or Central or Eastern or Indiana or Atlantic or Newfoundland or Saskatchewan</TimeZone>  
            <StartOfDay>int</StartOfDay>  
            <StreetAddress>string</StreetAddress>  
            <StreetAddress2>string</StreetAddress2>  
            <City>string</City>  
            <Region>string</Region>  
            <Postal>string</Postal>  
            <FullName>string</FullName>  
            <MiscInfo>string</MiscInfo>  
          </Depot>  
        </Depots>  
      </GetDepotsResult>  
    </GetDepotsResponse>  
</soap:Body>
  • Was this article helpful?