| All Verbs | /GetAllAssetsBySite_V4 | ||
|---|---|---|---|
| GET | /assets/sites/{SiteIDInternal} | Returns all assets for a specific site |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserID | Guid | string | Yes | The UserID that authorizes the caller to complete the request. Contact your eQuip admin. |
| SiteIDInternal | Guid | string | Yes | The internal ID of a specific site is used to filter locations based on it. |
| LastAssetIDInternal | Guid | string | No | The internal ID of an asset. |
| LastSyncDate | query | string | No | |
| RecordSize | query | int? | No | |
| PageOffset | query | int | No | The page offset to start retrieving data. 0 returns all entries. |
| PageSize | query | int | No | Number 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
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"}