added expiring api call for profiles

The API client work needed to support the api side of the work done for retrieving/displaying expiring profiles.