abn.Add
This job creates a subscription for the specified object.
The request for request subscriptions (AboRequest) must consist of lowercase letters and begin with select count(distinct d.id) or select distinct d.id, otherwise it will be rejected.
Depending on the main type of the requested object, o.id must be used for folders, r.id for registers or d.id for documents as identifier.
|
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Currently not supported — pass |
|
INT |
Yes |
ID of the object to be notified about |
|
INT |
Yes |
Type of the object |
|
INT |
Yes |
Action performed on the document that triggers notification: |
|
INT |
Yes |
Notification channel (type of notification): |
|
STRING |
Yes |
This ID combines all actions of a subscription. |
|
STRING |
No |
Name of the user to be notified |
|
STRING |
No |
Info text for the subscription (max. 255 characters) |
|
STRING |
No |
String describing the program instance, e.g. |
|
INT |
No |
|
|
STRING |
No |
Name of the station that should exclusively receive the notification |
|
STRING |
No |
Email address for notification (max. 255 characters); multiple addresses separated by semicolon |
|
INT |
No |
|
|
STRING |
No |
Format of the request. Default |
|
STRING |
No |
SQL statement for request subscriptions |
|
STRING/BASE64 |
No |
Subscription request in DMSQuery XML format |
|
STRING |
No |
GUID of the group to be notified |
|
STRING |
No |
User GUID of the Abo admin when creating system subscriptions |
2. Return Value
(INT): 0 = Job successful, otherwise error code.
See also: abn.Remove