Develop > Application Programming Interface > Legacy APIs > Notification API > View list of notification objects

View list of notification objects

Details

URI /notification/party/<party_id>
where, the party ID is the UUID of a person, organization, or group.
Method GET
Parameters

userIdentifier=<user_id>
  Required; the user ID you want to use as credentials for this API call. This user should be a consumer user who has the necessary permissions on the data to work with. See Get userIdentifier for the steps required to get the userIdentifier value.

maxResults=<n>
  Optional; where n is the number of notification objects to return. Notification objects are ordered by createdOn date with most recent first. By default all notification objects are returned.
Returns 200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception

Examples

The following URL is sent:

https://<host>:<port>/csa/rest/notification/party/BFA0DB53DA414B90E04059106D1A24B5 ?userIdentifier=BFA0DB53DA414B90E04059106D1A24B5

The following XML will be returned:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NotificationList><notification>
        <notifContentBody>Your service subscription for {0} is now active. To view the details or make modifications,  go to the {1} and click the Subscriptions tab.</notifContentBody>
        <notifSubject>Your subscription is now active</notifSubject>
        <notifactionId>90d957ea3806fa7e01380f95d38d073a</notifactionId>
        <recepientId>BFA0DB53DA414B90E04059106D1A24B5</recepientId>
        <recepientName>consumer</recepientName>
        <senderContextArtifactName>CONSUMER</senderContextArtifactName>
        <senderContextArtifactTypeName>ORGANIZATION</senderContextArtifactTypeName>
        <tokens><tokenSequence>0</tokenSequence><value>my request</value></tokens>
        <tokens><tokenSequence>1</tokenSequence><value>CSA Consumer</value></tokens>
    </notification></NotificationList>