eQuipAPI

<back to all web services

GetAllLocations

Finds all locations across all sites; Requires a valid user to complete this request.

GetAllLocations Parameters:
NameParameterData TypeRequiredDescription
UserIDqueryGuidYesThe UserID that authorizes the caller to complete the request. Contact your eQuip admin.
SiteIDpathGuidNoThe internal ID of a site used to filter locations. See Api: FindSites
LastLocationIDInternalqueryGuidNoThe internal ID of a specific location.
LastSyncDatequerystringNoLast Sync Date
MobileSitequerybooleanNoTrue to return sites authorized for mobile operations.
PageSizequeryintNoNumber of locations to return. 0 returns all entries.
PageOffsetqueryintNoThe page offset to start retrieving data. 0 returns first page entries.

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: equipstage3.e-isg.com 
Content-Type: text/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>

<GetAllLocations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
  <LastLocationIDInternal>String</LastLocationIDInternal>
  <LastSyncDate>String</LastSyncDate>
  <MobileSite>false</MobileSite>
  <PageOffset>0</PageOffset>
  <PageSize>0</PageSize>
  <SiteID>00000000-0000-0000-0000-000000000000</SiteID>
  <UserID>String</UserID>
</GetAllLocations>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<Location xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
  <FileLocatorCode>String</FileLocatorCode>
  <Latitude>0</Latitude>
  <LocationBarcode>String</LocationBarcode>
  <LocationCategoryIDInternal>String</LocationCategoryIDInternal>
  <LocationDescription>String</LocationDescription>
  <LocationIDInternal>String</LocationIDInternal>
  <LocationName>String</LocationName>
  <Longitude>0</Longitude>
  <ModifiedOn>0001-01-01T00:00:00</ModifiedOn>
  <SiteIDInternal>String</SiteIDInternal>
</Location>

    </soap12:Body>
</soap12:Envelope>