Create a Deployment in a Project

post

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

Creates a deployment in a project. 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
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

500 Response

Server error
Back to Top

Examples

The following example shows how to create a 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: Create a deployment in the project TEST_PROJECT

This command consumes JSON data and creates 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?integrationInstance=service-instance

Request Body:

The following example shows the contents of the request body in JSON format. This is the content of the deployment.json file listed in the cURL command with the -d option. For example, we have the following integrations, robots & decisions in a project:
  • TEST_INT1|01.00.0000
  • TEST_INT2|02.00.0000
  • TEST_INT2|02.00.0002
  • TEST_INT3|03.00.0000
  • TEST_RPA1|01.00.0000
  • TEST_RPA2|02.00.0000
  • TEST_DEC1|01.00.0000
  • TEST_DEC2|02.00.0002

In this example, we create a deployment with two integrations, one robot and one decision.

{"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