Skip to main content
Feedback

Attach an instance of a multi install integration to an environment

This mutation attaches an instance of a multi-install Integration to an environment. It takes IntegrationPackEnvironmentAttachmentInput as input.

Code samples

Input Syntax

mutation attachIpackInstance {
integrationPackInstanceEnvironmentAttachmentAttach(
input: {
integrationPackInstanceId: "ID!"
environmentIds: ["ID!"]
}
) {
id
environmentId
integrationPackInstanceId
environmentExtensions
}
}

FieldTypeDescriptionRequired/Optional
integrationPackInstanceIdIDA unique ID assigned by the system to the Integration Pack instanceRequired
environmentIdsStringA unique ID assigned by the system to the environment. You can pass multiple environment IDs if you want to attach the Integration Pack Instance to multiple environments.Required

Return syntax

{
"data": {
"integrationPackInstanceEnvironmentAttachmentAttach": [
{
"id": "ID",
"environmentId": "String",
"integrationPackInstanceId": "ID",
"environmentExtensions": “String”
}
]
}
}

Platform API objects

Platform API ObjectOperationURL
IntegrationPackEnvironmentAttachment. See documentation.CREATEhttps://api.boomi.com/api/rest/v1/accountId/IntegrationPackEnvironmentAttachment/

Implementation

To attach the Integration Pack instance to an environment, send the mutation request to platform.boomi.com/graphql with the following headers:

KeyValue
SPACE_GUID<The Space guid\>
AuthorizationBearer <Token\>
Acceptapplication/json
note

The integrationPackInstanceId is the ID of the Integration Pack instance initially returned in the response of Install an Integration mutation request. The environmentId is the ID of the environment to which the instance of the multi-install Integration is to be attached, and is returned in the response of the Get the list of environments for an account query.

Sample request

mutation attachIpackInstance {
integrationPackInstanceEnvironmentAttachmentAttach(
input: {
integrationPackInstanceId: "SW50ZWdyYXRpb25QYWNrSW5zdGFuY2UxOTUw"
environmentIds: ["730bc9b1-1f7c-4049-bb65-aacf993b6fe0"]
}
) {
id
environmentId
integrationPackInstanceId
environmentExtensions
}
}

Sample response

{
"data": {
"integrationPackInstanceEnvironmentAttachmentAttach": [
{
"id": "QVRUQUNIX0lQQUNLX0VOVlNXNTBaV2R5WVhScGIyNVFZV05yU1c1emRHRnVZMlV6TkRRNE5nOjg2YjQxM2E4LTFlYmYtNGM5NS1iYzViLTEzOTU3M2I3NzkxMA",
"environmentId": "86b413a8-1ebf-4c95-bc5b-139573b77910",
"integrationPackInstanceId": "SW50ZWdyYXRpb25QYWNrSW5zdGFuY2UzNDQ4Ng",
"environmentExtensions": null
}
]
}
}

On this Page