Update a Deployment in a Project

post

/ic/api/integration/v1/projects/{projectId}/deployments/{id}

Updates a deployment using the ID and values specified in the request body. The request body must contain name and code.

  • name: defines the name of the deployment.
  • code: defines the code which is the unique identifier for the deployment.
  • description: describes the deployment.
  • integrations: specifies the integrations associated with the deployment. For example:
    "integrations":[{"code":"TEST_INT1","version":"01.00.0000"},    {"code":"TEST_INT2","version":"02.00.0000"}]
  • robots: specifies RPA robots included in the deployment. For example:
    "robots":[{"identifier":"TEST_RPA1","version":"01.00.0000"},   {"identifier":"TEST_RPA2","version":"02.00.0000"}]
  • decisions: specifies decision services included in the deployment. For example:
    "decisions":[{"identifier":"TEST_DEC1","version":"01.00.0000"},   {"identifier":"TEST_DEC2","version":"02.00.0000"}]
  • b2btradingpartners: lists B2B trading partners involved in the deployment. For example:
    "b2btradingpartners":[{"code":"TEST_B2BTP1","version":"01.00.0000"},   {"code":"TEST_B2BTP2","version":"02.00.0000"}]

Request

Path Parameters
Query Parameters
Header Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : b2btradingpartners
Type: array
B2BTradingPartner List
Show Source
Nested Schema : decisions
Type: array
Decision List
Show Source
Nested Schema : integrations
Type: array
Integration List
Show Source
Nested Schema : robots
Type: array
Robot List
Show Source
Nested Schema : TradingPartner
Type: object
Show Source
Nested Schema : inboundAgrs
Type: array
TradingPartner inboundAgrs List
Show Source
Nested Schema : outboundAgrs
Type: array
TradingPartner outboundAgrs List
Show Source
Nested Schema : transports
Type: array
TradingPartner Transports List
Show Source
Nested Schema : DecisionDeploymentFlow
Type: object
Show Source
Nested Schema : Integration
Type: object
Show Source
Nested Schema : RPADeploymentFlow
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : b2btradingpartners
Type: array
B2BTradingPartner List
Show Source
Nested Schema : decisions
Type: array
Decision List
Show Source
Nested Schema : integrations
Type: array
Integration List
Show Source
Nested Schema : robots
Type: array
Robot List
Show Source
Nested Schema : TradingPartner
Type: object
Show Source
Nested Schema : inboundAgrs
Type: array
TradingPartner inboundAgrs List
Show Source
Nested Schema : outboundAgrs
Type: array
TradingPartner outboundAgrs List
Show Source
Nested Schema : transports
Type: array
TradingPartner Transports List
Show Source
Nested Schema : DecisionDeploymentFlow
Type: object
Show Source
Nested Schema : Integration
Type: object
Show Source
Nested Schema : RPADeploymentFlow
Type: object
Show Source

400 Response

Bad request, missing required data

404 Response

Deployment not found

500 Response

Server error
Back to Top

Examples

The following example shows how to update an existing deployment in a project by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

Example: Update the deployment TESTDEPLOYMENT in the project TEST_PROJECT

This command updates a deployment with the name and values specified in the request body.

Request:

curl -X POST -H 'Authorization: Bearer access_token' -H "Content-Type:application/json" -d @deployment.json https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/TEST_PROJECT/deployments/TESTDEPLOYMENT?integrationInstance=service-instance

Request Body:

The following example shows the contents of the request body in JSON format. The following code is the content of the deployment.json file listed in the cURL command:

{"name":"TestDeployment","code":"TESTDEPLOYMENT","description":"Test deployment","integrations":
[{"code":"TEST_INT1","version":"01.00.0000"}, {"code":"TEST_INT2","version":"02.00.0002"}], "robots":
[{"identifier":"TEST_RPA1","version":"01.00.0000"}],"decisions":[{"code":"TEST_DEC2","version":"02.00.0002"}]}
Back to Top