eQuipAPI

<back to all web services

GetAllAssetsBySite_V4

Returns all assets for a specific site; requires a valid userId and siteId to authorize the caller to complete this request.

The following routes are available for this service:
All Verbs/GetAllAssetsBySite_V4
GET/assets/sites/{SiteIDInternal}Returns all assets for a specific site
GetAllAssetsBySite_V4 Parameters:
NameParameterData TypeRequiredDescription
UserIDGuidstringYesThe UserID that authorizes the caller to complete the request. Contact your eQuip admin.
SiteIDInternalGuidstringYesThe internal ID of a specific site is used to filter locations based on it.
LastAssetIDInternalGuidstringNoThe internal ID of an asset.
LastSyncDatequerystringNo
RecordSizequeryint?No
PageOffsetqueryintNoThe page offset to start retrieving data. 0 returns all entries.
PageSizequeryintNoNumber of entries to return. 0 returns all entries.

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/GetAllAssetsBySite_V4 HTTP/1.1 
Host: equipstage2.e-isg.com 
Content-Type: text/csv
Content-Length: length

{"UserID":"String","SiteIDInternal":"String","LastAssetIDInternal":"String","LastSyncDate":"String","RecordSize":0,"PageOffset":0,"PageSize":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"AssetName":"String","AssetDescription":"String","Barcode":"String","AssetIDInternal":"String","AssetCategoryIDInternal":"String","LocationIDInternal":"String","SiteIDInternal":"String","PeopleIDInternal":"String","AssetUsageID":0,"AssetConditionID":0,"AssetStatus":"String","AssetSerialNo":"String","Price":0,"PurchaseDate":"\/Date(-62135596800000-0000)\/","PurchaseOrderNo":"String","Quantity":0,"ShortageOverage":0,"Vendor":"String","IsActive":"String","AuditDate":"\/Date(-62135596800000-0000)\/","AuditStatus":"String","Asset_UID":"String","DataGatherID":0,"Mfg":"String","Model":"String","POLine":0,"POStatus":"\u0000","ScannerDeviceCode":0,"DateModified":"\/Date(-62135596800000-0000)\/","ThumbnailImage":"AA==","SubLocation":"String","OriginalPartNo":"String"}