Boomi Platform API Reference (1.0.0) - Environment
The Environment object represents an environment. For accounts with Unlimited environment support, you can classify environments as either Production or Test. For accounts with Basic environment support, the classification of all environments as Production.
Note: The fields in the Environment object correspond to controls in the Environments panel of the Runtime Management page.
Required Privileges
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 Environment object
Creates an environment having the specified name. Environment names must be unique.
Authorizations:
Request Body schema: optional
| classification | string Enum: "PROD" "TEST" (Optional) For accounts with Unlimited environment support, the type of environment.The choices are PROD (Production) and TEST. The environment classification determines the type of license used when deploying a process to the environment. The default classification is PROD.
|
| id | string A unique ID assigned by the system to the environment. |
| name | string A user-defined name for the environment. |
| parentAccount | string |
| parentEnvironment | string |
Responses
Response Schema:
| classification | string Enum: "PROD" "TEST" (Optional) For accounts with Unlimited environment support, the type of environment.The choices are PROD (Production) and TEST. The environment classification determines the type of license used when deploying a process to the environment. The default classification is PROD.
|
| id | string A unique ID assigned by the system to the environment. |
| name | string A user-defined name for the environment. |
| parentAccount | string |
| parentEnvironment | string |
Request samples
- Payload
{- "name": "My Production Environment",
- "classification": "PROD"
}Response samples
- 200
- 403
- 410
- 503
{- "@type": "Environment",
- "id": "456789ab-cdef-0123-4567-89abcdef0123",
- "name": "My Production Environment",
- "classification": "PROD"
}Retrieves an instance of an Environment object
Retrieves the properties of the environment with a specified ID.
Authorizations:
path Parameters
| id required | string A unique ID assigned by the system to the environment. |
Responses
Response Schema:
| classification | string Enum: "PROD" "TEST" (Optional) For accounts with Unlimited environment support, the type of environment.The choices are PROD (Production) and TEST. The environment classification determines the type of license used when deploying a process to the environment. The default classification is PROD.
|
| id | string A unique ID assigned by the system to the environment. |
| name | string A user-defined name for the environment. |
| parentAccount | string |
| parentEnvironment | string |
Response samples
- 200
- 403
- 410
- 503
{- "@type": "Environment",
- "id": "456789ab-cdef-0123-4567-89abcdef0123",
- "name": "My Production Environment",
- "classification": "PROD"
}Modifies or updates an Environment object
Updates the Environment object having the specified ID. You can edit the name field only.
Authorizations:
path Parameters
| id required | string A unique ID assigned by the system to the environment. |
Request Body schema: optional
| classification | string Enum: "PROD" "TEST" (Optional) For accounts with Unlimited environment support, the type of environment.The choices are PROD (Production) and TEST. The environment classification determines the type of license used when deploying a process to the environment. The default classification is PROD.
|
| id | string A unique ID assigned by the system to the environment. |
| name | string A user-defined name for the environment. |
| parentAccount | string |
| parentEnvironment | string |
Responses
Response Schema:
| classification | string Enum: "PROD" "TEST" (Optional) For accounts with Unlimited environment support, the type of environment.The choices are PROD (Production) and TEST. The environment classification determines the type of license used when deploying a process to the environment. The default classification is PROD.
|
| id | string A unique ID assigned by the system to the environment. |
| name | string A user-defined name for the environment. |
| parentAccount | string |
| parentEnvironment | string |
Request samples
- Payload
{- "id": "456789ab-cdef-0123-4567-89abcdef0123",
- "name": "Our Production Environment",
- "classification": "PROD"
}Response samples
- 200
- 403
- 410
- 503
{- "@type": "Environment",
- "id": "456789ab-cdef-0123-4567-89abcdef0123",
- "name": "Our Production Environment",
- "classification": "PROD"
}Deletes an Environment object
Deletes the Environment object with a specified ID. It is not possible to delete an environment that has attached Runtimes or integration packs.
Authorizations:
path Parameters
| id required | string A unique ID assigned by the system to the environment. |
Responses
Response samples
- 403
- 410
- 503
{- "message": "Access denied due to insufficient permissions."
}Retrieves multiple Environment objects by identifier
To learn more about bulk, refer to the topic Bulk GET operations.
Authorizations:
Request Body schema: optional
Array of objects (BulkId) | |
| type | string Enum: "GET" "DELETE" "UPDATE" "CREATE" |
Responses
Response Schema:
Array of objects | |||||||||||
Array
| |||||||||||
Request samples
- Payload
{- "request": [
- {
- "id": "56789abc-def0-1234-5678-9abcdef01234"
}
], - "type": "GET"
}Response samples
- 200
- 403
- 410
- 503
{- "response": [
- {
- "Result": {
- "classification": "PROD",
- "id": "456789ab-cdef-0123-4567-89abcdef0123",
- "name": "My Production Environment",
- "parentAccount": "string",
- "parentEnvironment": "string"
}, - "index": 0,
- "id": "string",
- "statusCode": 0,
- "errorMessage": "string"
}
]
}Queries for an Environment 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: name, id, classification
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 (Environment) |
Request samples
- Payload
{- "QueryFilter": {
- "expression": {
- "argument": [
- "PROD"
], - "operator": "EQUALS",
- "property": "classification"
}
}
}Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 4,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "Environment",
- "id": "456789ab-cdef-0123-4567-89abcdef0123",
- "name": "My Production Environment",
- "classification": "PROD"
}, - {
- "@type": "Environment",
- "id": "56789abc-def0-1234-5678-9abcdef01234",
- "name": "Department Environment",
- "classification": "PROD"
}
]
}Retrieves additional results for an Environment 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 (Environment) |
Response samples
- 200
- 403
- 410
- 503
{- "numberOfResults": 4,
- "@type": "QueryResult",
- "result": [
- {
- "@type": "Environment",
- "id": "456789ab-cdef-0123-4567-89abcdef0123",
- "name": "My Production Environment",
- "classification": "PROD"
}, - {
- "@type": "Environment",
- "id": "56789abc-def0-1234-5678-9abcdef01234",
- "name": "Department Environment",
- "classification": "PROD"
}
]
}