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


Notification Operations : Notification Operations : Get Job Completed Notification Registrations

Get Job Completed Notification Registrations
Description
Get a list of all job completed notification registrations.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/job_completed_notification_registration[?last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&user_id={string}]
Request Parameters
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
a.
Responses
Response Elements
<Data>
   <JobCompletedNotificationRegistration>
      <CreationDate>{
YYYY-MM-DDThh:mm:ss.xxxZ}</CreationDate>
      <Format>DEFAULT|JSON|XML</Format>
      <Id>{string}</Id>
      <JobId>{string}</JobId>
      <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>
   </JobCompletedNotificationRegistration>
   ...
</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 all job completed notification registrations.
GET http://blackpearl-hostname/_rest_/job_completed_notification_registration/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <JobCompletedNotificationRegistration>
      <CreationDate>2014-10-16T18:33:53.31Z</CreationDate>
      <Format>DEFAULT</Format>
      <Id>14362d62-2d3c-490e-b369-34df3dcb474a</Id>
      <JobId>1999523d-df6f-4c22-b8b2-82becc55e0a2</JobId>
      <LastFailure/>
      <LastHttpResponseCode/>
      <LastNotification/>
      <NamingConvention>
         CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE
      </NamingConvention>
      <NotificationEndPoint>
         Spectra-S3-client-hostname
      </NotificationEndPoint>
      <NotificationHttpMethod>POST</NotificationHttpMethod>
      <NumberOfFailuresSinceLastSuccess>
         0
      </NumberOfFailuresSinceLastSuccess>
      <UserId>2cc42ec3-fb32-4fcb-a421-437f5fb18531</UserId>
   </JobCompletedNotificationRegistration>
   ...
</Data>