← Back to context

Comment by Serow225

12 years ago

What about services providing public API functions like:

getWarrantCurrentStatus(custID) // "No"/"No Comment"/"Yes"

getWarrantLastChangeDateTime(custID)

getWarrantPreviousStatus(custID)

getWarrantHistoricalStatus(custID, DateTime)

getWarrantResponseCurrentCount(custID, responseType) // accepts only "No Comment" or "Yes"

getWarrantResponseHistoricalCount(custID, DateTime, responseType)

// for all the above functions, a custID of 'MagicNumber' is the special customer ID of 'Anyone'.