AddRecipients method: PTNotification class

Syntax

AddRecipients(recipient_type, value)

Description

Use this method to add multiple recipients of the same type.

Parameters

Parameter Description

recipient_type

Specify the recipient type as a numeric value or a constant value:

  • Operator ID: Use either 1 or %Recipient_OPRID.

  • Role name: Use either 2 or %Recipient_Role.

  • External email address: Use either 3 or %Recipient_Mail.

  • External phone number: Use either 4 or %Recipient_Phone.

value

Specifies the values for the recipient type as an array.

Specify a number in E164 format for external phone number.

Returns

None.