How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Notification API ID atribute



I'm building open source WHMCS browser notification with firebase you see the repository in https://bitbucket.org/linknacional/whmcs_notification/src/master/ any help will be appreciate. This module will send notification to the users (customers) of any filter wich whmcs admin set.

I'm using the whmcs notification api, using DOCs at https://developers.whmcs.com/notification-providers/send-notification/ and https://docs.whmcs.com/classes/7.4/WHMCS/Notification/Contracts/NotificationAttributeInterface.html

Below is what notification_attributes return, I would to request 1 more attributes to be returned: ID.

ID: ID of resource returned in [notification_url]

[co]
  • Array
    (
    [notification_title] => #355603 - Notification module
    [notification_url] => https://www.linknacional.com.br/cliente/extra/supporttickets.php?action=view&id=9147
    [notification_message] => A new reply has been posted by a staff member.
    [notification_attributes] => Array
    (
    [0] => Array
    (
    [label] => Departamento
    [value] => Suporte
    [url] =>
    [style] =>
    [icon] =>
    )

    [1] => Array
    (
    [label] => Cliente
    [value] => Davi Souza
    [url] => https://www.linknacional.com.br/cliente/extra/clientssummary.php?userid=13
    [style] =>
    [icon] =>
    )

    [2] => Array
    (
    [label] => Prioridade
    [value] => Medium
    [url] =>
    [style] =>
    [icon] => https://www.linknacional.com.br/cliente/extra/images/mediumpriority.gif
    )

    [3] => Array
    (
    [label] => Status
    [value] => Answered
    [url] =>
    [style] =>
    [icon] =>
    )
    )
    )
  • [/co]

    Post the first comment

    Login to post a comment.