ReportWS
Click here for a complete list of operations.
GetDataFromQueryString
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 /reportws.asmx HTTP/1.1 Host: opera.hitslink.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.hitslink.com/GetDataFromQueryString" <?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> <GetDataFromQueryString xmlns="http://www.hitslink.com/"> <account>string</account> <password>string</password> <queryString>string</queryString> <chartHeight>int</chartHeight> <chartWidth>int</chartWidth> </GetDataFromQueryString> </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> <GetDataFromQueryStringResponse xmlns="http://www.hitslink.com/"> <GetDataFromQueryStringResult> <Title>string</Title> <EndDate>dateTime</EndDate> <StartDate>dateTime</StartDate> <ChartURL>string</ChartURL> <ColumnDefinitions> <ColumnDefinition> <Title>string</Title> <Align>Left or Right or Center</Align> <Sortable>boolean</Sortable> <DataType>DataTypeString or DataTypeInteger or DataTypeNumeric or DataTypeCurrency or DataTypePercent or DataTypeDate</DataType> </ColumnDefinition> <ColumnDefinition> <Title>string</Title> <Align>Left or Right or Center</Align> <Sortable>boolean</Sortable> <DataType>DataTypeString or DataTypeInteger or DataTypeNumeric or DataTypeCurrency or DataTypePercent or DataTypeDate</DataType> </ColumnDefinition> </ColumnDefinitions> <Rows> <Row> <Columns xsi:nil="true" /> </Row> <Row> <Columns xsi:nil="true" /> </Row> </Rows> </GetDataFromQueryStringResult> </GetDataFromQueryStringResponse> </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 /reportws.asmx HTTP/1.1 Host: opera.hitslink.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> <GetDataFromQueryString xmlns="http://www.hitslink.com/"> <account>string</account> <password>string</password> <queryString>string</queryString> <chartHeight>int</chartHeight> <chartWidth>int</chartWidth> </GetDataFromQueryString> </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> <GetDataFromQueryStringResponse xmlns="http://www.hitslink.com/"> <GetDataFromQueryStringResult> <Title>string</Title> <EndDate>dateTime</EndDate> <StartDate>dateTime</StartDate> <ChartURL>string</ChartURL> <ColumnDefinitions> <ColumnDefinition> <Title>string</Title> <Align>Left or Right or Center</Align> <Sortable>boolean</Sortable> <DataType>DataTypeString or DataTypeInteger or DataTypeNumeric or DataTypeCurrency or DataTypePercent or DataTypeDate</DataType> </ColumnDefinition> <ColumnDefinition> <Title>string</Title> <Align>Left or Right or Center</Align> <Sortable>boolean</Sortable> <DataType>DataTypeString or DataTypeInteger or DataTypeNumeric or DataTypeCurrency or DataTypePercent or DataTypeDate</DataType> </ColumnDefinition> </ColumnDefinitions> <Rows> <Row> <Columns xsi:nil="true" /> </Row> <Row> <Columns xsi:nil="true" /> </Row> </Rows> </GetDataFromQueryStringResult> </GetDataFromQueryStringResponse> </soap12:Body> </soap12:Envelope>