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.

Organization create request


Description

This API creates an Organization object with the additional parameters specified.

Note

This API is available in BMC Cloud Lifecycle Management 4.1 patch 3 and later.

API stability classification

Uncommitted

API overview

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 objects

Input parameters to include in operationParams

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

You must perform the following operations before you execute this request.

  1. Create a provider definition.
  2. Create a provider.

Use the value of providerURI that points to the Generic Adapter - Generic Provider URI in the following HTTP request to create an organization:

    "timeout": -1,
    "preCallout": "",
    "postCallout": "",
    "operationParams":[
    {
          "name":"organization",
          "value":{
            "cloudClass":"com.bmc.cloud.model.beans.Organization",            
            "name":"myOrg"
          },
          "type":"com.bmc.cloud.model.beans.Organization",
          "multiplicity":"1"
    },
    {
          "name":"additionalInfo",
          "value":[
            {
              "cloudClass":"com.bmc.cloud.model.beans.NameValuePair",              
              "name":"param1",
              "value":"param1 value"
            },
            {
              "cloudClass":"com.bmc.cloud.model.beans.NameValuePair",              
              "name":"param2",
              "value":"param2 value"
            },
            {
              "cloudClass":"com.bmc.cloud.model.beans.NameValuePair",
              "name":"param3",
              "value":"param3 value"              
            }
          ],
          "type":"com.bmc.cloud.model.beans.NameValuePair",
          "multiplicity":"1..*"
    },
    {
         "name":"providerURI",
         "value":"/provider/936fdd9a-42e2-49aa-bd18-248a4d5ce61f",
         "type":"java.lang.String",
         "multiplicity":"1"
      }
               
    ]
}

 

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