- Catalog Items
- Configuration Items
- Mobile Devices
- Other Assets
- Purchase Orders
- Service Requests
- Time Tracks
- API Updates
Getting a List of All Risks
This request returns a summary of all software in the account.
curl -H "X-Samanage-Authorization: Bearer TOKEN" -H 'Accept: application/vnd.samanage.v2.1+xml' -X GET "https://api.samanage.com/risks.xml"
<hole> <resolved>false</resolved> <created-at>2008-09-14T13:09:11Z</created-at> <category>Inventory</category> <name>Greynet: RealArcade</name> <updated-at>2009-12-09T07:47:10Z</updated-at> <discarded>false</discarded> <severity>Medium</severity> <affected-assets> <affected-asset> <type>SoftwareInstall</type> <name>GORDON-PC</name> <id>57</id> </affected-asset> </affected-assets> </hole>
Getting a List of Risks for a Computer
The following request will return all risks associated with a specific computer.
curl -H "X-Samanage-Authorization: Bearer TOKEN" -H 'Accept: application/vnd.samanage.v2.1+xml' -X GET "https://api.samanage.com/hardwares/12345/risks.xml
Have a question or found some issue? We would love to hear from you!