Spectra Logic
1-800-833-1132 : 1-303-449-6400


Notification Operations : Notification Operations : Get Pool Failure Notification Registration

Get Pool Failure Notification Registration
Description
Get information about a pool failure notification registration.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/pool_failure_notification_registration/{UUID for the notification}/
To determine the UUID for a notification, see Get Pool Failure Notification Registrations.
Responses
Response Elements
<Data>
   <CreationDate>{
YYYY-MM-DDThh:mm:ss.xxxZ}</CreationDate>
   <Format>DEFAULT|JSON|XML</Format>
   <Id>{string}</Id>
   <LastFailure>{string}</LastFailure>
   <LastHttpResponseCode>{32‑bit integer}</LastHttpResponseCode>
   <LastNotification>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastNotification>
   <NamingConvention>
      CONCAT_LOWERCASE|CONSTANT|UNDERSCORED|
      CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE|
      CAMEL_CASE_WITH_FIRST_LETTER_LOWERCASE
   </NamingConvention>
   <NotificationEndPoint>{string}</NotificationEndPoint>
   <NotificationHttpMethod>POST|PUT</NotificationHttpMethod>
   <NumberOfFailuresSinceLastSuccess>
      {32‑bit integer}
   </NumberOfFailuresSinceLastSuccess>
   <UserId>{string}</UserId>
</Data>
where the response elements are defined as follows:
The scheme used for naming within the notification sent. Values: CONCAT_LOWERCASE, CONSTANT, UNDERSCORED, CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE, CAMEL_CASE_WITH_FIRST_LETTER_LOWERCASE
Example
Sample Request
This request gets information about the pool failure notification registration with the UUID ab151b77-c286-497e-b2e5-034a84a34eb1.
GET http://blackpearl-hostname/_rest_/pool_failure_notification_registration/ab151b77-c286-497e-b2e5-034a84a34eb1 HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <CreationDate>2015-10-02T15:57:22.343Z</CreationDate>
   <Format>DEFAULT</Format>
   <Id>ab151b77-c286-497e-b2e5-034a84a34eb1</Id>
   <LastFailure/>
   <LastHttpResponseCode/>
   <LastNotification/>
   <NamingConvention>
      CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE
   </NamingConvention>
   <NotificationEndPoint>
      Spectra-S3-client-hostname
   </NotificationEndPoint>
   <NotificationHttpMethod>POST</NotificationHttpMethod>
   <NumberOfFailuresSinceLastSuccess>
      0
   </NumberOfFailuresSinceLastSuccess>
   <UserId>cef6f4d0-779a-4479-9469-a1373e567b0a</UserId>
</Data>