THURSDAY, AUGUST 07, 2008




MY ACCOUNT LOGIN

LOGIN NAME:

PASSWORD:

REGISTER TODAY!
FORGOT YOUR PASSWORD?

SOAP METHODS



LOADLEAD

PROCESSLEAD

LOADLEADS

LOADLEADSPAGED

LOADLEADSBYDATERANGE

LOADLEADSBYDATERANGE
PAGED


LOADLEADSBYSOURCE

LOADLEADSBYSOURCE
PAGED


LOADLEADSBYSOURCE
ANDDATERANGE


LOADLEADSBYSOURCE
ANDDATERANGEPAGED




Web Services, SOA Solutions, SOA Services - XWebServices.com


HOME

WEB SERVICES

SOA SOLUTIONS

SOA SERVICES

ABOUT US





XWEBLEAD


Documentation


FAQs


Implementation Guides


Forum


Pricing






SEARCH









HOME  ::  WEB SERVICES  ::  XWEBLEAD  ::  DOCUMENTATION

:: Web Services :: XWebLead ::
:: Documentation (Version 1) ::

LoadLeadsBySourceAndDateRangePaged SOAP Method

DESCRIPTION:

Returns 'paginated' Lead records by a specific Source Identifier, created within a specific date range, in the reverse chronological order the records were entered into the system. Paginated is the ability to return a specific number of records at a time, similar to how search engines display results (i.e. Google's 10 search results on a page).

PARAMETER(S):

strSourceIdentifier - String. Indicates the Source Identifier for which the data is to be returned.
dtDateStart - Date/Time. Indicates the first inclusive date of the date range.
dtDateEnd - Date/Time. Indicates the last inclusive date of the date range.
intPageNumber - Positive Integer. Indicates the page number for which the data is to be returned.
intPageSize - Positive Integer. The number of records you want displayed on a page.

SOAP HEADERS:

LoginName - String. The "Login Name" you chose during the registration process.
Password - String. Your account's "Password".

NOTE***: SOAP Headers are required for authentication

RETURNS:

XML String, representing the Lead records posted by a specific source (the record's <Source_Identifier> value matches the input parameter's value) within the specific date range requested. To view the validating XSD Schema, please click here (opens in a new window). An example is provided here (opens in a new window) or below:

<Leads Total_Record_Count="12">
 <Lead Lead_ID="9f9035cbf75c402cae78a29d081e19b1" 
  Date_Created="2004-08-25T07:11:00">
  <Description>Newest lead posted between 8/10/2004 and 
     8/27/2004.</Description>
 </Lead>
 <Lead Lead_ID="25466e9908e248b3b1164f9e9ee66744" 
  Date_Created="2004-08-24T07:11:00">
  <Description>Second newest lead posted between 8/10/2004 
     and 8/27/2004.</Description>
 </Lead>
  ...
</Leads>

If no records were posted by that specific source within the specified time frame, the <Leads> root node will not contain any child elements and the Total_Record_Count attribute will have a value of 0 (zero). An example is provided below:

<Leads Total_Record_Count="0" />

All non-XML strings returned by this method should be considered errors.

ERROR(S):

If the system encounters an error, the method will return one the following messages instead of the expected XML string:

Error: Unable to authenticate. Your username and/or password are invalid. - authentication errors.
Error: You have not yet registered for this service. - authorization errors.
Error: A database error has occurred. Please try again later. - catastrophic database errors.
Error: System error. Unable to process the request. - catastrophic system errors.

ADDITIONAL SUPPORT RESOURCES:



HOME
WEB SERVICES
SOA SOLUTIONS
SOA SERVICES
MY ACCOUNT
ABOUT US