ServerMania logo

Add Software License

To add a software license, use the following request:

POST /software_licenses.xml
POST /software_licenses.json

XML Request Example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<software_license><arch>x64</arch><total>1</total><distro>2003</distro><count>1</count><tail>R2</tail><edition type="array"><edition>WEB</edition></edition><license>RRRRR-IIIII-JJJJJ-KKKKK-EEEEE</license></software_license>' --url http://test/software_licenses.xml


arch* - Windows OS architecture (x64 or x86)

total* - the total number of machines allowed by the license

distro* - Windows OS distribution (2003, 2008, Windows 7)

count*- the number of licenses used of a total allowed

tail* - parameter specifies the updated release of Windows OS distribution. If updated, than parameter is R2, otherwise – empty

edition* - Windows OS edition or an array of editions if allowed by the license (STD – Standard, ENT –Enterprise, WEB – web and DC – Data center)

license* - the license for the software on which the template will be based