GetByTime Method

This method is used to retrieve information about entities that have been created or modified within a particular time period. Multiple information fields may be specified depending on the information required. The GetFields Method can be used to determine all the available information fields.

Arguments
  1. string Reference
  2. DataSet RequestDataSet

Reference should contain the Reference returned by the Login Method and is used to identify the user of the Web Service.

RequestDataSet should contain a Parameters DataTable with a single row and the following columns:

and a Data DataTable with zero rows and the following columns defining which fields are required:

Response
  1. DataSet ResponseDataSet

ResponseDataSet will contain a Status DataTable with the following columns:

and a Data DataTable with zero or more rows and the following columns:

Example

The following Web Service call to retrieve information on a particular Contact:

GetByTime("18,23", RequestDataSet)

where RequestDataSet contains the following Parameters DataTable:

Type of Change From Time
3 21 Jan 2010 12:45:00

and the following Data DataTable:

Contact Title Contact Given Names Contact Family Name Contact Company

could produce a DataSet with the following Status DataTable:

Code Text
0 OK

and the following Data DataTable:

Contact Title Contact Given Names Contact Family Name Contact Company Creation Time Update Time
Miss Angela Ardley AA Booksellers 09 May 2010 09:21:00 29 Jul 2010 17:54:03
Mrs Beryl Bainbridge BB Office Supplies 13 Feb 2009 12:14:47 04 Feb 2010 10:06:33
Mr Harvey HeadBanger Hard Rock Guitars 17 Aug 2009 05:15:00