abn.NotifyAbonnement

This job sends a notification to a user according to the specified parameters.

If Action=1 (document deleted), the subscription for this document is also deleted from the database along with the notification.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

ObjectID

INT

Yes

ID of the document that was changed or deleted

ObjectType

INT

Yes

Type of the object

Action

INT

Yes

1 = document was deleted; 0 = document was changed

User

STRING

Yes

Name of the user who changed or deleted the document

UserID

INT

Yes

ID of the user who changed or deleted the document

2. Return Value

(INT): 0 = Job successful, otherwise error code.