| 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 .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetAllAssetsBySite_V4 HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/xml
Content-Length: length
<GetAllAssetsBySite_V4 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<LastAssetIDInternal>String</LastAssetIDInternal>
<LastSyncDate>String</LastSyncDate>
<PageOffset>0</PageOffset>
<PageSize>0</PageSize>
<RecordSize>0</RecordSize>
<SiteIDInternal>String</SiteIDInternal>
<UserID>String</UserID>
</GetAllAssetsBySite_V4>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <Asset xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel"> <AssetCategoryIDInternal>String</AssetCategoryIDInternal> <AssetConditionID>0</AssetConditionID> <AssetDescription>String</AssetDescription> <AssetIDInternal>String</AssetIDInternal> <AssetName>String</AssetName> <AssetSerialNo>String</AssetSerialNo> <AssetStatus>String</AssetStatus> <AssetUsageID>0</AssetUsageID> <Asset_UID>String</Asset_UID> <AuditDate>0001-01-01T00:00:00</AuditDate> <AuditStatus>String</AuditStatus> <Barcode>String</Barcode> <DataGatherID>0</DataGatherID> <DateModified>0001-01-01T00:00:00</DateModified> <IsActive>String</IsActive> <LocationIDInternal>String</LocationIDInternal> <Mfg>String</Mfg> <Model>String</Model> <OriginalPartNo>String</OriginalPartNo> <POLine>0</POLine> <POStatus>0</POStatus> <PeopleIDInternal>String</PeopleIDInternal> <Price>0</Price> <PurchaseDate>0001-01-01T00:00:00</PurchaseDate> <PurchaseOrderNo>String</PurchaseOrderNo> <Quantity>0</Quantity> <ScannerDeviceCode>0</ScannerDeviceCode> <ShortageOverage>0</ShortageOverage> <SiteIDInternal>String</SiteIDInternal> <SubLocation>String</SubLocation> <ThumbnailImage>AA==</ThumbnailImage> <Vendor>String</Vendor> </Asset>