GET Workgroups/{workgroupName}/Assets
Purpose
Returns a list of assets by Workgroup name.
Required permissions
Asset Management (Read).
URL parameters
workgroupName: Name of the Workgroup.
Query parameters (optional)
- limit: (default: 100000) Number of records to return.
- offset: (default: 0) Number of records to skip before returning <limit> records (can only be used in conjunction with limit).
Request body
None.
Response body (when limit is not given)
Content-Type: application/json
[ { WorkgroupID: int, AssetID: int, AssetName: string, DnsName: string, DomainName: string, IPAddress: string, MacAddress: string, AssetType: string, OperatingSystem: string, CreateDate: datetime, LastUpdateDate: datetime }, … ]
Response body (when limit is given)
Content-Type: application/json
{ TotalCount : int, Data : [ { WorkgroupID: int, AssetID: int, AssetName: string, DnsName: string, DomainName: string, IPAddress: string, MacAddress: string, AssetType: string, OperatingSystem: string, CreateDate: datetime, LastUpdateDate: datetime }, … ] }
Response codes
200 - Request successful. Assets in response body.
For more information, please see Common response codes.