eQuipAPI

<back to all web services

GetAssetDetailByID

The following routes are available for this service:
All Verbs/GetAssetDetailByID/{UserID}/{assetIDInternal}
GetAssetDetailByID Parameters:
NameParameterData TypeRequiredDescription
UserIDpathstringNo
assetIDInternalpathstringNo
Asset Parameters:
NameParameterData TypeRequiredDescription
AssetNamebodystringYesAsset name.
AssetDescriptionbodystringNoAsset description.
BarcodebodystringYesAsset barcode.
AssetIDInternalbodystringNoThe internal id of the asset. Not used to save assets.
AssetCategoryIDInternalbodyGuidYesThe internal id of the asset category. See Api: FindAssetCategories.
LocationIDInternalbodyGuidYesThe internal id of the location. See Api: GetAllLocations
SiteIDInternalbodyGuidYesThe internal id of the site. See Api: FindSites.
PeopleIDInternalbodyGuidNoThe internal id of the people. See Api: GetAllPeople
AssetUsageIDbodyintYesThe id of the asset usage. See Api: GetAssetUsage
AssetConditionIDbodyintYesThe id of the asset condition. See Api: GetAssetCondition
AssetStatusbodystringNoAsset status.
AssetSerialNobodystringNoAsset serial no.
Pricebodydecimal?NoPrice.
PurchaseDatebodydatetimeNoPurchase date.
PurchaseOrderNobodystringNoPurchase order no.
QuantitybodyintNoQuantity.
ShortageOveragebodyintNoShortage overage.
VendorbodystringNoVendor.
IsActivebodystringNoIsActive.
AuditDatebodydatetimeNoAudit date.
AuditStatusbodystringNoAudit status.
Asset_UIDbodystringNoAsset uid.
DataGatherIDbodyintNoThe id of the department. See Api: FindDepartments.
MfgbodystringNoMfg.
ModelbodystringNoModel.
POLinebodyintNoPOLine.
POStatusbodycharNoPOStatus.
ScannerDeviceCodebodyintNoScanner device code.
DateModifiedbodydatetimeNoModified date.
ThumbnailImagebodybyte[]NoThumbnail image.
SubLocationbodystringNoSublocation.
OriginalPartNobodystringNoOriginal part no.

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/GetAssetDetailByID HTTP/1.1 
Host: equipstage3.e-isg.com 
Content-Type: text/jsv
Content-Length: length

{
	UserID: String,
	assetIDInternal: String
}
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
}