eQuipAPI

<back to all web services

FindLocations

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

The following routes are available for this service:
GET/sites/locations/v2Finds all locations
GET/sites/{SiteID}/locations/v2Finds locations by site.
FindLocations 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
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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/FindLocations HTTP/1.1 
Host: equipstage3.e-isg.com 
Content-Type: text/jsv
Content-Length: length

{
	UserID: String,
	SiteID: 00000000000000000000000000000000,
	PageSize: 0,
	PageOffset: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	LocationID: 0,
	LocationCategoryID: 0,
	UL_LocationID: 0,
	SiteID: 0,
	PlanID: 0,
	ZoneID: 0,
	LocationBarcode: String,
	LocationName: String,
	LocationDescription: String,
	LocationX: 0,
	LocationY: 0,
	Width: 0,
	Height: 0,
	SizeType: String,
	Opacity: String,
	Color: String,
	DisplayOnScanner: False,
	FileLocatorCode: String,
	DateCreated: 0001-01-01,
	DateModified: 0001-01-01,
	UseMap: False,
	CustomFields: 
	[
		{
			FieldName: String,
			FieldValue: {}
		}
	]
}