UTWS
Click here for a complete list of operations.
logsAvailable
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 /usagetracking/utws.asmx HTTP/1.1 Host: customerexperience.smarttech.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://smarttech.com/webservices/UsageTracking/UTWS/v1/logsAvailable" <?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> <logsAvailable xmlns="http://smarttech.com/webservices/UsageTracking/UTWS/v1"> <apiVersion>int</apiVersion> <sessions> <SessionInfo> <productID>int</productID> <version>string</version> <osPlatform>int</osPlatform> <osVersion>int</osVersion> <servicePack>string</servicePack> <osBits>int</osBits> <architecture>int</architecture> <langID>string</langID> <country>string</country> <locale>string</locale> </SessionInfo> <SessionInfo> <productID>int</productID> <version>string</version> <osPlatform>int</osPlatform> <osVersion>int</osVersion> <servicePack>string</servicePack> <osBits>int</osBits> <architecture>int</architecture> <langID>string</langID> <country>string</country> <locale>string</locale> </SessionInfo> </sessions> </logsAvailable> </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> <logsAvailableResponse xmlns="http://smarttech.com/webservices/UsageTracking/UTWS/v1"> <logsAvailableResult> <SessionsToPublish> <productID>int</productID> <version>string</version> <osPlatform>int</osPlatform> <osVersion>int</osVersion> <servicePack>string</servicePack> <osBits>int</osBits> <architecture>int</architecture> <langID>string</langID> <country>string</country> <locale>string</locale> <publish>Discard or SummaryOnly or Details</publish> <publishUntil>long</publishUntil> </SessionsToPublish> <SessionsToPublish> <productID>int</productID> <version>string</version> <osPlatform>int</osPlatform> <osVersion>int</osVersion> <servicePack>string</servicePack> <osBits>int</osBits> <architecture>int</architecture> <langID>string</langID> <country>string</country> <locale>string</locale> <publish>Discard or SummaryOnly or Details</publish> <publishUntil>long</publishUntil> </SessionsToPublish> </logsAvailableResult> </logsAvailableResponse> </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 /usagetracking/utws.asmx HTTP/1.1 Host: customerexperience.smarttech.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> <logsAvailable xmlns="http://smarttech.com/webservices/UsageTracking/UTWS/v1"> <apiVersion>int</apiVersion> <sessions> <SessionInfo> <productID>int</productID> <version>string</version> <osPlatform>int</osPlatform> <osVersion>int</osVersion> <servicePack>string</servicePack> <osBits>int</osBits> <architecture>int</architecture> <langID>string</langID> <country>string</country> <locale>string</locale> </SessionInfo> <SessionInfo> <productID>int</productID> <version>string</version> <osPlatform>int</osPlatform> <osVersion>int</osVersion> <servicePack>string</servicePack> <osBits>int</osBits> <architecture>int</architecture> <langID>string</langID> <country>string</country> <locale>string</locale> </SessionInfo> </sessions> </logsAvailable> </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> <logsAvailableResponse xmlns="http://smarttech.com/webservices/UsageTracking/UTWS/v1"> <logsAvailableResult> <SessionsToPublish> <productID>int</productID> <version>string</version> <osPlatform>int</osPlatform> <osVersion>int</osVersion> <servicePack>string</servicePack> <osBits>int</osBits> <architecture>int</architecture> <langID>string</langID> <country>string</country> <locale>string</locale> <publish>Discard or SummaryOnly or Details</publish> <publishUntil>long</publishUntil> </SessionsToPublish> <SessionsToPublish> <productID>int</productID> <version>string</version> <osPlatform>int</osPlatform> <osVersion>int</osVersion> <servicePack>string</servicePack> <osBits>int</osBits> <architecture>int</architecture> <langID>string</langID> <country>string</country> <locale>string</locale> <publish>Discard or SummaryOnly or Details</publish> <publishUntil>long</publishUntil> </SessionsToPublish> </logsAvailableResult> </logsAvailableResponse> </soap12:Body> </soap12:Envelope>