Skip to main content

idmap.getOldIdmaps

idmap.getOldIdmaps(ep, olderThanHours)

Description

Returns a list of all idmaps that are older than the hours in olderThanHours.

Parameters

ParameterTypeExplanation
epStringThe endpoint
olderThanHoursintThe number of hours that the idmap needs to be older than

Example

idmap = option.getIdmap()

originendpoint = message.getEndpoint()
dayOld = idmap.getOldIdmaps(originendpoint, 24)