Forum Discussion

micha80's avatar
micha80
Expert
10 years ago

Notifications API Call

Hi,

 

I want to create a custom component which loads last notifications using the API call: /restapi/vc/users/id/[id] /notifications

 

The results list the last notifications. They look all good except of badges notifications. When I make the call in the browser bar I get the following for the badges notifications:

 

<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>
<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>
<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>
<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>
<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>
<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>
<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>
<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>
<notification type="notification">
<notification_type type="enumeration">badge</notification_type>
<target type="object"/>
</notification>

Could someone explain how to get more details about earned badges?

 

The goal is to recreate the page where last users notifications are listed. And this needs another html structure then the core system is providing.

 

Regards,

Michael

 

 

No RepliesBe the first to reply