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 .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/GetAllAssetsBySite_V4 HTTP/1.1 
Host: equipstage2.e-isg.com 
Content-Type: text/jsv
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/jsv
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: 0001-01-01,
	PurchaseOrderNo: String,
	Quantity: 0,
	ShortageOverage: 0,
	Vendor: String,
	IsActive: String,
	AuditDate: 0001-01-01,
	AuditStatus: String,
	Asset_UID: String,
	DataGatherID: 0,
	Mfg: String,
	Model: String,
	POLine: 0,
	POStatus: ,
	ScannerDeviceCode: 0,
	DateModified: 0001-01-01,
	ThumbnailImage: AA==,
	SubLocation: String,
	OriginalPartNo: String
}