ClientService
Click here for a complete list of operations.
GetReportResults
Executes and returns the results of a specified Custom Report
Cache-Time: 0 second(s)
Parameters:Parameter | Data Type | Description |
username | string | LeadManager email of valid agent |
password | string | LeadManager password of agent |
reportId | int | Identifier of custom report; See GetReports |
templateValues | XmlNode | Values for template fields. Not required if report does not have any template fields. Refer to schema. Example. |
Return:
Data Type | Description |
XmlNode | Results of report. Example. Note: The spaces in the field titles are removed |
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 /ClientService.asmx HTTP/1.1 Host: service.stg.velocify.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://service.leads360.com/GetReportResults" <?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> <GetReportResults xmlns="https://service.leads360.com"> <username>string</username> <password>string</password> <reportId>int</reportId> <templateValues>xml</templateValues> </GetReportResults> </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> <GetReportResultsResponse xmlns="https://service.leads360.com"> <GetReportResultsResult>xml</GetReportResultsResult> </GetReportResultsResponse> </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 /ClientService.asmx HTTP/1.1 Host: service.stg.velocify.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> <GetReportResults xmlns="https://service.leads360.com"> <username>string</username> <password>string</password> <reportId>int</reportId> <templateValues>xml</templateValues> </GetReportResults> </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> <GetReportResultsResponse xmlns="https://service.leads360.com"> <GetReportResultsResult>xml</GetReportResultsResult> </GetReportResultsResponse> </soap12:Body> </soap12:Envelope>