Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

ServiceOfferingInstance decommission request


Description

This API decommissions the service offering instance specified by the identifier in the URI.

API stability classification

Committed

API overview

 

HTTP
method

URI

Return
type

Return type
multiplicity

POST

csm/ServiceOfferingInstance/guid/decommission

void

Not applicable

 

HTTP request message

Query string parameters

This API does not use query string parameters.

Request message headers

This API uses only common headers listed in HTTP-request-and-response-headers.

Request message body

This API uses the following objects in the request message body JSON.

Top-level objectsThe [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.

Name

Type

Multi-
plicity

Description

callbackURL
String

0..1

URL to call when the operation finishes

postCallout
String

0..1

Identifier of a callout to run after the operation executes

preCallout
String

0..1

Identifier of a callout to run before the operation executes

timeout
Integer

0..1

Timeout setting. For more information about using the timeout, see Synchronous-and-asynchronous-operations. Timeout values:

  • 0: Immediate timeout
  • -1: Uses the system default timeout value
  • 1..*: Times out in the specified number of seconds
operationParams

1

Array of input parameters. The following table contains the list of input parameters. For information about setting up the input parameters, see Passing-input-parameters-with-an-API-request.

The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.

Input parameters to include in operationParamsThe [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.

Name

Type

Multi-
plicity

Description

decommissionDate

0..1

Date to decommission the service offering instance

 

HTTP response message

Response message headers

This API uses only common headers listed in HTTP-request-and-response-headers.

Response message body

The response message body contains a Task object.

Example

The following example shows an HTTP request to decommission a Service Offering Instance (SOI):

URL Syntax /csm/serviceofferinginstance/<guid>/decommission
{
"timeout" : -1,
"preCallout" : "",
"postCallout" : "",
"callbackURL" : ""
}

The following example shows the response for the preceding request.

Note

In the response JSON, $$*$$ indicates that the value of that parameter is dynamic and might vary with every invocation of the API.

[
   {
       "cloudClass" : "com.bmc.cloud.model.beans.Task",
       "className" : "ServiceOfferingInstance",
       "completionTime" : "$$*$$",
       "creationTime" : "$$*$$",
       "errors" : [],
       "guid" : "$$*$$",
       "isCallout" : false,
       "isError" : false,
       "isSuccess" : true,
       "objectName" : "$$*$$",
       "operationName" : "decommission",
       "parentTaskInternalUUID" : "$$*$$",
       "results" : "$$*$$",
       "taskInternalUUID" : "$$*$$",
       "taskProgress" : 100.0,
       "taskResultURI" : "$$*$$",
       "taskState" : "COMPLETED",
       "taskStatusURI" : "$$*$$",
       "taskSubState" : "$$*$$",
       "transactionID" : "$$*$$"
   }
]

 

 

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*