- On SytemlLnk web application, go to Sytems Management>> System to display the list of all systems.
- Click on the system you want to operate on. This will display the system identifiers (minion ID, model name, vendor name, serial number) and all assets present on it. These system/asset properties will be used to configure the HTTP API request.
- Click on the ? and select HTTP API. This will open Swagger where you can access and operate on HTTP APIs.
- Make sure the definition is Asset Performance Management.
Start asset utilization
- Scroll down to utilization category. To start asset utilization, click on POST/v1/assets/start-utilization
- Click Try it Out.
- Configure the buffer
- utilizationIdentifier should be a unique number
- utilizationTimestamp specifies the time you want to start using the asset
- minion ID, model name, vendor name and serial number can be found on the system/asset tab (please refer to the above step 2)
- Set the utilizationcategory (reason the user is using the asset) and more specifications such as test name(name of the test or measurement task you want the asset to perform), tester name, etc. These properties can later be used to filter, and to generate custom system asset utilization reports.
- Click Execute. If the request was successfully processed, there should be no errors and the response body should look like below
If the request wasn't successfully processed, the response message will include the error content as the one below. In this example, the reason given for the error is that, the specified utilizationIdentifier already exists on the same minion id. Setting a different utilizationIdentifier will resolve the issue.
End asset utilization
- Use utilization' POST/v1/assets/end-utilization to end asset utilization.
- Click Try it Out.
- Configure the buffer
- utilizationIdentifier is the same used to start asset utilization.
- utilizationTimestamp specifies the time asset utilization ends.
- Click Execute
Send HTTP requests to start or end asset utilization from LabVIEWYou can sent use
HTTP Clients VI to send the above requests from LabVIEW (sample program available in the attachment files at the bottom of this document).