[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Add Product V2

Description

This API is used to add product to an existing environment.

Request

Request

URL

URL


post
https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products
Copy

Path Parameters

Path Parameters

string
environmentId Required

environmentId


Request Body

Request Body

EnvironmentRequestDTO of type(s) application/json Required

environmentRequestDTO

{
    "environmentDescription": "vRealize Automation Environment",
    "environmentName": "vRealize Automation Environment",
    "environmentStatus": "COMPLETED"
}
string
environmentDescription Optional

Environment Description


string
environmentHealth Optional

Environment Health Data


string
environmentId Optional

Environment ID


string
environmentName Optional

Environment Name


string
environmentStatus Optional

Status of the environment


infrastructure Optional

string
logHistory Optional

Log History Data


map of string
metaData Optional

array of Product
products Optional
Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK

Returns GenericRequestResponse of type(s) application/json
{
    "requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
}
string
requestId Optional

Request ID


201 Created

Created

Errors

Errors

GenericErrorResponseDTO
400

Bad Request


401

Unauthorized


GenericErrorResponseDTO
403

Forbidden


GenericErrorResponseDTO
404

Not Found


GenericErrorResponseDTO
409

Conflict


GenericErrorResponseDTO
500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"environmentDescription":"vRealize Automation Environment","environmentName":"vRealize Automation Environment","environmentStatus":"COMPLETED"}' https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products


Feedback

Was this page helpful?