List the software service instance names
You can use this operation to list the software service instance names (SSINs).
HTTP method and URI path
GET /zosmf/resource-mgmt/rest/<version>/ssin
In this request, the URI path variable <version> identifies the version of the z/OSMF software service instance name service. The following value is valid: 1.0.
Query parameters
- name
- Name of the object for which SSINs should be obtained.
- registry-id
- Identifier of the registry for which SSINs should be obtained.
Description
The list operation returns software service instance names based on the input query.
On successful completion, HTTP status code 200 (Normal) is returned, along with a response body.
Request content
None.
Authorization requirements
The user’s z/OS user ID must have READ access to the following resource profile in the ZMFAPLA class: <SAF-prefix>.ZOSMF.PROVISIONING.RESOURCE_MANAGEMENT.
HTTP status codes
On successful completion, HTTP status code 200 (Normal) is returned and the response body is provided, as described in Response content.
Otherwise, the following HTTP status codes are returned for the indicated errors. The response body is a standard error response body that provides the reason code that is indicated and associated error message.
HTTP error status code | Description |
---|---|
HTTP 400 Bad request | The request contained incorrect parameters. |
HTTP 401 Unauthorized | The requester user ID is not authorized for this request. |
Response content
On successful completion, the service returns a JSON object named ssin-list consisting of the names that were created. See Table 2.
Field | Type | Description |
---|---|---|
ssin-list | Array | Software service instance names. See Table 3. |
Field | Type | Description |
---|---|---|
ssin | String | Software service instance name. |
Field | Type | Description |
---|---|---|
httpStatus | Integer | HTTP status code. |
requestMethod | String | HTTP request method. |
requestUri | String | HTTP request URI. |
messageID | String | Message identifier for the error. |
messageText | String | Message text describing the error. |
additionalInfo | String | Additional information describing the error. |
debug | String | Debug information about for the error. |
Example HTTP interaction
GET /zosmf/resource-mgmt/rest/1.0/ssin?name=INAME.*
The response body is as follows.
{
"ssin-list": [
{
"ssin": "INAME101"
},
{
"ssin": "INAME201"
}
]
}