add in api to for notification (bug 797927-two)

@kumar303 r?