Boomi Platform API Reference (1.0.0) - EnvironmentAtomAttachment
The Environment Atom Attachment object enables the attachment or detachment of a Runtime to or from a particular environment.
Required Privileges
You must have the Runtime Management privilege to perform the CREATE or DELETE operation. If you have the Runtime Management Read Access privilege, you cannot attach or detach Runtimes.
You need these privileges in the target environment:
Write access
- API — Use the Boomi Platform API to access account data.
- ATOM_MANAGEMENT — Configure and administer integration runtimes.
Read access
- API — Use the Boomi Platform API to access account data.
- ATOM_MANAGEMENT — Configure and administer integration runtimes.
- ATOM_MANAGEMENT_READ_ONLY — Read only access to runtime configuration and administration.
Creates an EnvironmentAtomAttachment object
Attaches a Runtime having the specified ID to the environment having the specified ID. Attaching an already attached Runtime moves the Runtime to the environment specified in the request.
Note: For accounts with Basic environment support, you can attach a single Runtime to each environment. For accounts with Unlimited environment support, you can attach have an unlimited number of Runtimes attached in each environment.
Authorizations:
Request Body schema: optional
| atomId | string The ID of the Runtime. |
| environmentId | string The ID of the environment. |
| id | string The object’s conceptual ID, which is synthesized from the Runtime and environment IDs. |
Responses
Response Schema:
| atomId | string The ID of the Runtime. |
| environmentId | string The ID of the environment. |
| id | string The object’s conceptual ID, which is synthesized from the Runtime and environment IDs. |
Request samples
- Payload
{- "atomId": "3456789a-bcde-f012-3456-789abcdef012",
- "environmentId": "456789ab-cdef-0123-4567-89abcdef0123"
}Response samples
- 200
- 403
- 410
- 503
{- "@type": "Environment",
- "id": "456789ab-cdef-0123-4567-89abcdef0123",
- "name": "My Production Environment",
- "classification": "PROD"
}Queries for an EnvironmentAtomAttachment object(s)
For general information about the structure of QUERY filters, their sample payloads, and how to handle the paged results, refer to Query filters and Query paging.
Authorizations:
Request Body schema: optional
Possible properties include: atomId, environmentId
required | object | ||||||||||
| |||||||||||
Responses
Response Schema:
| numberOfResults | integer <int32> |
| queryToken | string By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request. |
Array of objects (EnvironmentAtomAttachment) |
Request samples
- Payload
{- "QueryFilter": {
- "expression": {
- "argument": [
- "456789ab-cdef-0123-4567-89abcdef0123"
], - "operator": "EQUALS",
- "property": "environmentId"
}
}
}Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 2,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "EnvironmentAtomAttachment",
- "id": "Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg",
- "atomId": "3456789a-bcde-f012-3456-789abcdef012",
- "environmentId": "456789ab-cdef-0123-4567-89abcdef0123"
}, - {
- "@type": "EnvironmentAtomAttachment",
- "id": "b0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1HgA",
- "atomId": "fedcba98-7654-3210-fedc-ba9876543210",
- "environmentId": "456789ab-cdef-0123-4567-89abcdef0123"
}
]
}Retrieves additional results for an EnvironmentAtomAttachment query
To learn about using queryMore, refer to the topic Query paging.
Authorizations:
Request Body schema: text/plainrequired
Responses
Response Schema:
| numberOfResults | integer <int32> |
| queryToken | string By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request. |
Array of objects (EnvironmentAtomAttachment) |
Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 2,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "EnvironmentAtomAttachment",
- "id": "Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg",
- "atomId": "3456789a-bcde-f012-3456-789abcdef012",
- "environmentId": "456789ab-cdef-0123-4567-89abcdef0123"
}, - {
- "@type": "EnvironmentAtomAttachment",
- "id": "b0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1HgA",
- "atomId": "fedcba98-7654-3210-fedc-ba9876543210",
- "environmentId": "456789ab-cdef-0123-4567-89abcdef0123"
}
]
}Deletes an EnvironmentAtomAttachment object
Detaches a Runtime from an environment where the attachment is specified by the conceptual Environment Atom Attachment object ID. This ID is returned by the CREATE operation that originated the attachment and can also be obtained from a QUERY operation. If you successfully detach the Runtime from the environment, the response is <true/>.
Authorizations:
path Parameters
| id required | string The object’s conceptual ID, which is synthesized from the Runtime and environment IDs. |
Responses
Response samples
- 403
- 410
- 503
{- "message": "Access denied due to insufficient permissions."
}