eQuipAPI

<back to all web services

GetLocationDetails

Returns location details; Requires a valid user to complete this request. Returns LocationDto.

The following routes are available for this service:
GET/sites/locations/{LocationID}Returns a location details
GetLocationDetails Parameters:
NameParameterData TypeRequiredDescription
UserIDqueryGuidYesThe UserID that authorizes the caller to complete the request. Contact your eQuip admin.
LocationIDpathstringYesThe ID of the location.
LocationDto Parameters:
NameParameterData TypeRequiredDescription
LocationIDbodystringNoLocation ID
LocationCategoryIDbodystringNoLocation Category ID
UL_LocationIDbodystringNoUL Location ID
SiteIDbodystringNoSite ID
PlanIDbodystringNoPlan ID
ZoneIDbodystringNoZone ID
LocationBarcodebodystringNoLocation Barcode
LocationNamebodystringNoLocation Name
LocationDescriptionbodystringNoLocation Description
LocationXbodystringNoLocationX
LocationYbodystringNoLocationY
WidthbodystringNoWidth
HeightbodystringNoHeight
SizeTypebodystringNoSize Type
OpacitybodystringNoOpacity
ColorbodystringNoColor
DisplayOnScannerbodystringNoDisplay On Scanner
FileLocatorCodebodystringNoFile Locator Code
DateCreatedbodystringNoDate Created
DateModifiedbodystringNoDate Modified
UseMapbodystringNoUse Map?
CustomFieldsbodyList<CustomKeyPair>NoCustom Fields
CustomKeyPair Parameters:
NameParameterData TypeRequiredDescription
FieldNamebodystringNoThe name of field
FieldValuebodyobjectNoThe value of field

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

HTTP + CSV

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

POST /csv/reply/GetLocationDetails HTTP/1.1 
Host: equipstage2.e-isg.com 
Content-Type: text/csv
Content-Length: length

{"UserID":"String","LocationID":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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":"\/Date(-62135596800000-0000)\/","DateModified":"\/Date(-62135596800000-0000)\/","UseMap":false,"CustomFields":[{"FieldName":"String","FieldValue":{}}]}