CLI Reference Guide

l State will be returned and will contain one of the following values:
n APPROVED
n CANCELLED
n COMPLETED
n IN_PROGRESS
n PENDING_APPROVAL
n REJECTED
n SUBMITTED
l Status will be returned. If no value was set a null value will be returned. Otherwise it will contain
one of the following values:
n FAILURE
n SUCCESS
For service subscription artifacts, status will be returned and will contain one of the following
values:
l ACTIVE
l CANCELLED
l EXPIRED
l PAUSED
l PENDING
l TERMINATED
Example
The following URL was sent:
https://<host>:<port>/csa/rest/artifact/state/90e72e323ad23bd6013ad23f63da0016?u
serIdentifier=90d96588360da0c701360da0f1d5f483
The following JSON was returned in the response body:
{
"id": "90e72e323fe4c9ae013fe4def98a0125",
"artifactType": "SERVICE_INSTANCE",
"artifactState": "ACTIVE""state": "FAILED"
"status":null>
}
Artifact views
Artifact views provide a convenient way to perform retrieve or update actions. When views are used
with artifact GET and fastview GET requests, the response includes only the relevant information
depending on the type of view requested. When used with PUT requests, the body of the request
can include just relevant information, compared to typical PUT requests.
Advantages of Views
HP Cloud Service Automation (4.00) Page 36 of 141
APIReference
Contents