Licensing
Click here for a complete list of operations.
ActivateLicense
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /LicenseServer/Services/Licensing.asmx HTTP/1.1 Host: licensing.printaudit.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.printaudit.com/LicenseServer/Services/Licensing/ActivateLicense" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ActivateLicense xmlns="http://www.printaudit.com/LicenseServer/Services/Licensing"> <companyName>string</companyName> <licenseKey>string</licenseKey> <macAddress>string</macAddress> <computerName>string</computerName> <formatVersion>long</formatVersion> <encryptionVersion>long</encryptionVersion> <additionalInformation> <company>string</company> <city>string</city> <stateProvince>string</stateProvince> <country>string</country> <industry>0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10</industry> <contactFirstName>string</contactFirstName> <contactLastName>string</contactLastName> <contactPhone>string</contactPhone> <contactEmail>string</contactEmail> <productName>string</productName> </additionalInformation> </ActivateLicense> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ActivateLicenseResponse xmlns="http://www.printaudit.com/LicenseServer/Services/Licensing"> <ActivateLicenseResult>base64Binary</ActivateLicenseResult> </ActivateLicenseResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /LicenseServer/Services/Licensing.asmx HTTP/1.1 Host: licensing.printaudit.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ActivateLicense xmlns="http://www.printaudit.com/LicenseServer/Services/Licensing"> <companyName>string</companyName> <licenseKey>string</licenseKey> <macAddress>string</macAddress> <computerName>string</computerName> <formatVersion>long</formatVersion> <encryptionVersion>long</encryptionVersion> <additionalInformation> <company>string</company> <city>string</city> <stateProvince>string</stateProvince> <country>string</country> <industry>0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10</industry> <contactFirstName>string</contactFirstName> <contactLastName>string</contactLastName> <contactPhone>string</contactPhone> <contactEmail>string</contactEmail> <productName>string</productName> </additionalInformation> </ActivateLicense> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ActivateLicenseResponse xmlns="http://www.printaudit.com/LicenseServer/Services/Licensing"> <ActivateLicenseResult>base64Binary</ActivateLicenseResult> </ActivateLicenseResponse> </soap12:Body> </soap12:Envelope>