Skip to main content
Omnitracs Knowledge Base

Depot->UpdateDepot

UpdateDepot (Depot function)

This function updates values for an existing depot. The depot that has to be updated is specified by its name. All original values are retained if no values are provided.

XML Request

Parameters

This web service method takes the following input parameters:

Parameter Type Optional Description
originalDepotName String No The name for the existing ID
DepotID Short Yes The updated depot ID (0 to 32,767)
DepotName String Yes The updated name for the created ID
TimeZone Enumeration Yes The updated time zone for the Depot. See possible values below
StartOfDay Short Yes Updated Start of Day for the Depot in minutes. If no value is provided then it is reset to 0. To keep the existing value you need to specify -1
StreetAddress String Yes Updated Street Address
StreetAddress2 String Yes Updated Street Address - line 2
City String Yes Updated City Name
Region String Yes Updated State or Province
Postal String Yes Updated Postal Code
TimeZoneUpdate Enum
NoChange
Hawaiian
Alaskan
Pacific
Mountain
Arizona
Central
Eastern
Indiana
Atlantic
Newfoundland
Saskatchewan

XML Structure

<soap:Body>  
    <UpdateDepot xmlns="http://www.qualcomm.com">  
      <originalDepotName>string</originalDepotName>  
      <UpdateDepotRequest>  
        <DepotName>string</DepotName>  
        <TimeZone>NoChange or Hawaiian or Alaskan or Pacific or Mountain or Arizona or Central or Eastern or Indiana or Atlantic or Newfoundland or Saskatchewan</TimeZone>  
        <StartOfDay>short</StartOfDay>  
        <StreetAddress>string</StreetAddress>  
        <StreetAddress2>string</StreetAddress2>  
        <City>string</City>  
        <Region>string</Region>  
        <Postal>string</Postal>  
      </UpdateDepotRequest>  
    </UpdateDepot>  
</soap:Body>

XML Response

Parameters

The web service method provides the following information in the response document.

Parameter Type Optional Description
IsSuccess boolean Yes Indicates whether the operation succeeded

XML Structure

The XML response will have the following parameters:

<soap:Body>  
    <UpdateDepotResponse xmlns="http://www.qualcomm.com">  
      <UpdateDepotResult>  
        <IsSuccess>boolean</IsSuccess>  
      </UpdateDepotResult>  
    </UpdateDepotResponse>  
</soap:Body>
  • Was this article helpful?