Create an integration instance

post

/api/boss/data/objects/ora/cxSalesCommon/integration/v1/$en/integrationInstances/integrationInstances

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Match All
Show Source
Nested Schema : oraCxSalesCommonIntegration.IntegrationInstance_post-item
Match All
Show Source
Nested Schema : Integration Instance
Type: object
Title: Integration Instance
Integration instances represent the details of specific records integrated between Sales and other Oracle applications, such as routine identifier, status, integration payload, and integration map identifier.
Show Source
Nested Schema : oraCxSalesCommonIntegration.IntegrationInstance_post-item-allOf[1]
Type: object
Show Source
Nested Schema : __busObj_context
Type: object
Show Source
Nested Schema : integrationMap
Match All
Show Source
  • Integration Map
    Title: Integration Map
    Integration maps describe the attribute mappings between objects in Sales and objects in other Oracle applications. The integration process uses these mappings to determine the attributes that need to be synchronized from Sales to the other applications.
  • __busObj_context
Nested Schema : status
Match All
The status of the integration instance.
Show Source
  • Title: Status
    Default Value: DRAFT
    The status of the integration instance.
  • Allowed Values: [ "DRAFT", "IN_PROGRESS", "COMPLETE", "ERROR", "RETRY" ]
Nested Schema : Integration Map
Type: object
Title: Integration Map
Integration maps describe the attribute mappings between objects in Sales and objects in other Oracle applications. The integration process uses these mappings to determine the attributes that need to be synchronized from Sales to the other applications.
Show Source
Nested Schema : $context
Type: object
Show Source
Nested Schema : integrationMap
Match One Schema
Show Source
Nested Schema : integrationMap-oneOf[0]
Type: object
Show Source
Nested Schema : integrationMap-oneOf[1]
Type: object
Show Source
Back to Top

Response

Default Response

no content
Back to Top

Examples

The following example shows how to create an integration instance by submitting a POST request on the REST resource.

cURL Command

curl -X POST --location 'https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/cxSalesCommon/integration/v1/$en/integrationInstances/integrationInstances' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"routineExecutionId": "309100564624402",
"integrationPayload": "{\"Product\": {\"Name\": \"1N09BX2_309100564613358\",\"InventoryItemId\": \"300100572055725\",\"OrganizationId\": \"204\",\"DefaultPeriodicityCode\": \"MONTHLY\",\"DefaultPeriods\": \"10\",\"DefaultPriceTypeCode\": \"Recurring\",\"ItemNumber\": \"1N09BX2_309100564613358\",\"DefaultUOMCode\": \"Ea\",\"ProductTypeCode\": \"INCLUDED_WARRANTY\",\"EligibleToSell\": \"Yes\",\"CSSEnabled\":\"N\",\"EligibleForService\":\"N\",\"ProcessingDays\":\"100\"}}",
"integrationMap": {
"integrationMapNumber": "DATAINTG-101"
}
}'

Example of Request Body

The following example shows the contents of the request body in JSON format.

{
"routineExecutionId": "309100564624402",
"integrationPayload": "{\"Product\": {\"Name\": \"1N09BX2_309100564613358\",\"InventoryItemId\": \"300100572055725\",\"OrganizationId\": \"204\",\"DefaultPeriodicityCode\": \"MONTHLY\",\"DefaultPeriods\": \"10\",\"DefaultPriceTypeCode\": \"Recurring\",\"ItemNumber\": \"1N09BX2_309100564613358\",\"DefaultUOMCode\": \"Ea\",\"ProductTypeCode\": \"INCLUDED_WARRANTY\",\"EligibleToSell\": \"Yes\",\"CSSEnabled\":\"N\",\"EligibleForService\":\"N\",\"ProcessingDays\":\"100\"}}",
"integrationMap": {
"integrationMapNumber": "DATAINTG-101"
}
}

Response: 201 Created

Back to Top