POST a new Hardware Inventory report
Create a report token with a custom Hardware inventory report
For more information on System inventory, see LogMeIn Central Report Types.
Note: You must have Inventory reporting enabled. For more information, see How to Activate Inventory
Reporting.
POST https://secure.logmein.com/public-api/v1/inventory/hardware/reports
Note: If more than 50 entries are generated, a continuation token is
created. You must use the continuation token to see the next set of entries.
Headers
Type | Description | Required | Notes |
Authorization | Contains your authorization information to allow authentication to a LogMeIn account. | Required | You must authenticate each API action you call with your CompanyID + PSK pair. See Authentication |
Body
Note: When using a third-party
API Development Environment, the body output
must be set to
application/json.
Element | Description | Type |
hostIds | The hosts you want information about. You can define multiple hosts. | integer |
fields | The System Inventory fields you want information about. You can define multiple fields. For a full list of fields, run the GET a list of Hardware Inventory fields API. | string |
Example
|
Results
Response Body
Element | Description | Type |
expires | the date when the token expires. | date |
token | The report token generated for the System Inventory report. | string |
Example
200-Success
|
HTTP Responses
Code | Description | Notes |
200 | OK | Successful call made. |
400 | Bad Request | A required parameter may be missing. |
409 | Unauthorized | The Authorization header may be missing or invalid. |
415 | Unsupported Media Type | A request may have been made for any format other than JSON. |
429 | Too Many Requests | The request may have been made for the action too many times. |
500 | Internal Server Error | May return the following message: An error occurred. If this problem happens again, please contact customer support at https://logmein.com/support and quote the error code. |