Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Notification API ID atribute

Davi Souza shared this idea 5 months ago
Under Consideration

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]

  1. 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] =>

    )

    )

    )