Storage management services
The storage management services are an application programming interface (API), which is implemented through industry standard Representational State Transfer (REST) services. The storage management services provide a programming interface for system storage elements.
| Operation | HTTP method and URI path1 |
|---|---|
| Get a list of ACS routines |
|
Get an ACS routine![]() |
![]() |
| Get base configuration properties |
|
| Get a list of storage groups |
|
| Get a storage group definition |
|
| Get a list of volumes |
|
| Get a volume definition |
|
| Get a list of data classes |
|
| Get a data class definition |
|
| Get a list of storage classes |
|
| Get a storage class definition |
|
Get a list of management classes![]() |
![]() |
Get a management class definition![]() |
![]() |
| Define a volume list to a storage group |
|
| Validate an SCDS |
|
| Activate an SCDS |
|
| Get an SCDS activation result |
|
- The valid value for <version> is v1.
Using the Swagger interface
You can use the Swagger interface to display information about the storage management services REST APIs. For more information, see Using the Swagger interface.
Required authorizations
The client must be authenticated. For information about client authentication in z/OSMF, see Authenticating to z/OSMF.
Common HTTP Request Headers
- Accept-Encoding
- This request header indicates which forms of content encoding (compression types) are acceptable
to the client program. The actual encoding that is used by the server is indicated in the
Content-Encoding response header. The supported encoding method is gzip, which is specified as
the following value:
The response content is compressed with this method, if the content exceeds 4096 bytes.Accept-Encoding: gzip
Common HTTP Response Headers
- Content-Encoding
- This response header indicates which encoding method was used to decompress the media-type that
was specified in the
Accept-Encodingheader. The supported encoding method is gzip, which is specified as the following value:
The response content is compressed with this method, if the content exceeds 4096 bytes.Content-Encoding: gzip
Error handling
For errors that occur during the processing of a request, the API returns an appropriate HTTP
status code to the calling client. An error is indicated with a 4nn code or a
5nn code.
In addition, some errors might also include a returned JSON object that contains a message that describes the error. You can use this information to diagnose the error or provide it to IBM® Support, if required.
- HTTP 200 OK
- The request was processed successfully.
- HTTP 200 Created
- The request was created successfully.
- HTTP 204 (No content)
- The request was completed successfully.
- HTTP 400 Bad request
- The request cannot be processed because it contains a syntax error or an incorrect parameter.
- HTTP 401 Unauthorized
- The request cannot be processed because the client is not authorized. This status is returned if the request contained an incorrect user ID or password or the client did not authenticate to z/OSMF using a valid WWW-Authenticate header.
- HTTP 403 Forbidden
- The server received the request but rejected it.
- HTTP 404 Not found
- The requested resource does not exist.
- HTTP 405 Method not allowed
- The requested resource is a valid resource, but an incorrect method was used to submit the request. For example, the request used the POST method when the GET method was expected.
- HTTP 408 Request timed out
- The client did not produce a request within the allowed time. The request can be submitted again.
- HTTP 500 Server error
- The server encountered an error when it processed the request. For a more specific indication of the error, check the response for a reason code.
- HTTP 501 Not implemented
- The request specifies an HTTP method that is not recognized by the server.
- HTTP 503 Service unavailable
- The request cannot be completed by the server because of a temporary condition. If the response contains a Retry-After header, check the suggested wait time. Otherwise, the requester can treat the response as an HTTP 500 response.
Some errors might also include a returned JSON object that contains a message that describes the error. You can use this information to diagnose the error or provide it to IBM Support, if required. For the contents of the error report document, see Error reporting categories.
Error logging
Errors from the storage management services are logged in the z/OSMF log. You can use this information to diagnose the problem or provide it to IBM Support, if required.
For information about working with z/OSMF log files, see z/OSMF log files in IBM z/OS® Management Facility Configuration Guide.

