servd / servd-specification

6 stars 0 forks source link

OMG 18666: LastModificationDate on the SearchItem and Search Params #23

Open brianpos opened 12 years ago

brianpos commented 12 years ago

This would be very handy to be able to see if changes have been made and keep local address books up to date. Original intent was to expose this type of information on a REST interface, but as this is not there yet, would like to be able to include it.

brianpos commented 11 years ago

Need to consider what impact this will have, should there be a flag indicating that the record is not there, or just unchanged? Do we need a new status from the searching (section 8.7.13)?

brianpos commented 11 years ago

Update the SearchItem object to contain a LastModifiedDate property. Update the SearchInputParameters object to contain a nullable property ModifiedAfterDate that if specified will only return objects where there are changes that have been made to the requested data after this date. Note: It was considered how to handle deleted entries in this respect. To cover this the record will be included in the search output with a status of deleted, and the LastModifiedDate is the date that the record was deleted, and the SearchItem will have the record status so that the context of the item is known.