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


Miscellaneous Operations : System Operations : Get System Failures

Get System Failures
Description
Get a list of all system failures. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/system_failure/[?error_message={string}][&last_page]
[&page_length={32-bit integer}][&page_offset={32-bit integer}] [&page_start_marker={string}] [&type=RECONCILE_TAPE_ENVIRONMENT_FAILED| RECONCILE_POOL_ENVIRONMENT_FAILED]
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.
The type of system error message.
Values:
RECONCILE_TAPE_ENVIRONMENT_FAILED, RECONCILE_POOL_ENVIRONMENT_FAILED
a.
Responses
Response Elements
<Data>
   <SystemFailure>
      <Date>{
YYYY-MM-DDThh:mm:ss.xxxZ}</Date>
      <ErrorMessage>{string}</ErrorMessage>
      <Id>{string}</Id>
      <Type>
         RECONCILE_TAPE_ENVIRONMENT_FAILED|
         RECONCILE_POOL_ENVIRONMENT_FAILED
      </Type>
   </SystemFailure>
   ...
</Data>
where the response elements are defined as follows:
The type of tape error message.
Values:
RECONCILE_TAPE_ENVIRONMENT_FAILED, RECONCILE_POOL_ENVIRONMENT_FAILED
Example
Sample Request
This request retrieves a list of all system failures.
GET http://blackpearl-hostname/_rest_/system_failure/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK

<Data>
   <SystemFailure>
      <Date>2015-12-07T03:20:39.000Z</Date>
      <ErrorMessage>{
Error Message}</ErrorMessage>
      <Id>da981d00-d090-41d8-8921-3f14224dac16</Id>
      <Type>RECONCILE_POOL_ENVIRONMENT_FAILED</Type>
   </SystemFailure>
   ...
</Data>