- Introduction
- Computers
- Software
- Printers
- Other Assets
- Audit
- Contracts
- Vendors
- Risks
- Incidents
- Solutions
- Users
API - Software
Getting a summary of installed software
This request returns a summary of all software inventory in the account.
Request
GET "https://app.samanage.com/softwares.xml"
curl --digest -u "username:password" -H "Accept: application/vnd.samanage.v1+xml" -X GET "https://app.samanage.com/softwares.xml"
Response
<software>
<created-at>2008-06-11T17:29:17Z</created-at>
<hidden>true</hidden>
<installs>20</installs>
<category>security</category>
<name>Security Update for Windows XP (KB951698)</name>
<updated-at>2008-07-27T23:33:52Z</updated-at>
<vendor>Microsoft Corp.</manufacturer>
<tag>KB</tag>
<version>1</version>
<hardwares-href>https://app.samanage.com/softwares/34008/hardwares.xml</hardwares-href>
<href>https://app.samanage.com/softwares/34008.xml</href>
<id>34008</id>
</software>
Example: summary of software for a vendor
Use the command below to get a list of all software items installed on a computer.
curl --digest -u "username:password" -H "Accept: application/vnd.samanage.v1+xml" -X GET "https://app.samanage.com/softwares.xml?vendor=Microsoft+Corp."
Example: summary of games
Use the command below to get a list of all software items installed on a computer.
curl --digest -u "username:password" -H "Accept: application/vnd.samanage.v1+xml" -X GET "https://app.samanage.com/softwares.xml?category=game"
Example: computer's software inventory
Use the command below to get a list of all software items installed on a computer.
curl --digest -u "username:password" -H "Accept: application/vnd.samanage.v1+xml" -X GET "https://app.samanage.com/hardwares/12345/softwares.xml
Example: computer's hidden software inventory
This request will return all hidden software installed on this computer. This usually includes any operating system patches, drivers, and service packs.
curl --digest -u "username:password" -H "Accept: application/vnd.samanage.v1+xml" -X GET "https://app.samanage.com/hardwares/12345/softwares.xml?view=system



