Skip to main content
Feedback

Get mappers and extensions of an integration pack instance

This query retrieves the environment mappers and extensions of an Integration Pack instance of the environments that are sent as the input field of the query for the account that is authorizing the request.

Code samples

This query takes ipackInstanceId and environmentIds as input.

Input syntax

query ipackEnvAttachmentDtl {
integrationPackEnvironmentAttachments(
ipackInstanceId: "String!"
environmentIds: ["String!"]
) {
integrationPackInstanceId
environmentMapExtension
environmentExtensions
}
}

Return syntax

{
"data": {
"integrationPackEnvironmentAttachments": [
{
"integrationPackInstanceId": "ID",
"environmentMapExtension": ["String"]
}
]
}

FieldTypeDescriptionRequired/Optional
ipackInstanceIdStringThe Integration Pack Instance ID.Required
environmentIdsStringA list of environment IDs.Required
environmentExtensionsStringThe Environment extension data.Optional
environmentMapExtensionStringThe Environment map extension data.Optional

Platform API objects

This GraphQL query uses the following Boomi Enterprise Platform API objects to retrieve the data:

Platform API ObjectOperationURL
Environment. See documentation.QUERYhttps://api.boomi.com/api/rest/v1/accountId/Environment/query
IntegrationPackEnvironmentAttachment. See documentation.QUERYhttps://api.boomi.com/api/rest/v1/accountId/IntegrationPackEnvironmentAttachment/query

Implementation

To get the mappers and the extensions of an Integration Pack instance, send the query to platform.boomi.com/graphql with the following headers:

KeyValue
SPACE_GUID<The Space guid\>
AuthorizationBearer <Token\>
Acceptapplication/json
note
  • The ipackInstanceId is the Integration Pack Instance ID that is initially returned in the response of the QUERY operation performed on the Integration Pack Environment Attachment object.
  • The environmentIdis the ID of the environment that is returned in the response of the QUERY operation performed on the Environment object

Sample request

query ipackEnvAttachmentDtl {
integrationPackEnvironmentAttachments(
ipackInstanceId: "SW50ZWdyYXRpb25QYWNrSW5zdGFuY2UyNzk3Mg"
environmentIds: ["4c9d031e-408b-4903-a44e-5a4219e62b25"]
) {
integrationPackInstanceId
environmentMapExtension
environmentExtensions
}
}

Sample response

{
"data": {
"integrationPackEnvironmentAttachments": [
{
"integrationPackInstanceId": "SW50ZWdyYXRpb25QYWNrSW5zdGFuY2UyNzk3Mg",
"environmentMapExtension": [
"",
"",
"",
"",
"{\"@type\":\"BulkResult\",\"response\":[{\"@type\":\"BulkResponse\",\"Result\":{\"@type\":\"EnvironmentMapExtension\",\"Map\":{\"@type\":\"MapExtension\",\"SourceProfile\":{\"@type\":\"MapExtensionsProfile\",\"Node\":[{\"@type\":\"MapExtensionsNode\",\"name\":\"\",\"xpath\":\"\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"Record\",\"xpath\":\"/Record\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"Elements\",\"xpath\":\"/Record/Elements\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File
Element\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"}],\"componentId\":\"129e9220-d86e-4fcb-8c1d-389930db5629\"},\"DestinationProfile\":{\"@type\":\"MapExtensionsProfile\",\"Node\":[{\"@type\":\"MapExtensionsNode\",\"name\":\"\",\"xpath\":\"\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"Record\",\"xpath\":\"/Record\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"Elements\",\"xpath\":\"/Record/Elements\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"},{\"@type\":\"MapExtensionsNode\",\"name\":\"New Flat File Element\",\"xpath\":\"/Record/Elements/New Flat File Element\"}],\"componentId\":\"495d1a6f-640e-450d-a1b7-2b7f669c47cf\"},\"SourceProfileExtensions\":{\"@type\":\"MapExtensionExtendProfile\"},\"DestinationProfileExtensions\":{\"@type\":\"MapExtensionExtendProfile\"}},\"environmentId\":\"4c9d031e-408b-4903-a44e-5a4219e62b25\",\"extensionGroupId\":\"70d36151-4070-4

On this Page