XWebLeadPort


Click here for a complete list of operations.

LoadLeadsPaged

Returns 'paginated' Lead records, in the reverse chronological order the records were entered into the system.

Test

The test form is only available for requests from the local machine.

SOAP

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

POST /XWebLead/V2/XWebLead.asmx HTTP/1.1
Host: ws.xwebservices.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "urn:ws-xwebservices-com:XWebLead:Lead:v2:loadLeadsPagedIn"

<?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>
    <LoadLeadsPagedRequest xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Messages">
      <Page_Number>positiveInteger</Page_Number>
      <Page_Size>positiveInteger</Page_Size>
    </LoadLeadsPagedRequest>
  </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>
    <LoadLeadsPagedResponse Total_Record_Count="integer" xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Messages">
      <Lead Lead_ID="string" Date_Created="dateTime">
        <Source_Identifier xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types">string</Source_Identifier>
        <Description xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types">string</Description>
        <Body xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types">string</Body>
      </Lead>
      <Lead Lead_ID="string" Date_Created="dateTime">
        <Source_Identifier xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types">string</Source_Identifier>
        <Description xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types">string</Description>
        <Body xmlns="urn:ws-xwebservices-com:XWebLead:Lead:v2:Types">string</Body>
      </Lead>
    </LoadLeadsPagedResponse>
  </soap:Body>
</soap:Envelope>