Component Atom Attachment object (Legacy deployment, Deprecated)
The Component Atom Attachment object enables the attachment or detachment of a component to or from a particular Runtime.
The Component Atom Attachment (Legacy) object is a deprecated API and should no longer be used. removed the non-environment functionality from the , and all accounts are changed to utilize Environments. Therefore, Boomi recommends that you take advantage of the API functionality provided by the Component Environment Attachment (Legacy) object instead. For more information about 's API object deprecation status, refer to the API deprecation and versioning policy topic.
Structure
<ComponentAtomAttachment atomId="" componentId="" componentType="" id=""/>
| Field | Type | Description |
|---|---|---|
| Filter | Filter | Filter |
| atomId | string | The ID of the Runtime. |
| componentId | string | The ID of the component. |
| componentType | string | The type of component: certificate, customlibrary, process, processroute, tpgroup, or webservice. |
| id | string | The object’s conceptual ID, which is synthesized from the Atom and component IDs. |
Supported operations
| GET | QUERY | CREATE | UPDATE | EXECUTE | DELETE |
|---|---|---|---|---|---|
| Not Supported | Supported | Supported | Not Supported | Not Supported | Supported |
Notes:
-
You can use the following fields as QUERY filters for the Component Atom Attachment object:
Field Allowed values atomId Any string value (valid Runtime ID). componentId Any string value (valid component ID). componentType certificate, customlibrary, process, processroute, tpgroup, or webservice The operators allowed for the Component Atom Attachment object filters are:
-
BETWEEN
-
EQUALS
-
GREATER_THAN
-
GREATER_THAN_OR_EQUAL
-
IS_NULL
-
IS_NOT_NULL
-
LESS_THAN
-
LESS_THAN_OR_EQUAL
-
LIKE
-
NOT_EQUALS
For general information about the structure of QUERY filters and how to handle paged results, see the Query filters and Query paging topics.
-
-
The CREATE operation attaches a component with a specific ID to the Atom with a specific ID.
You must have the Runtime Management privilege to perform the CREATE operation. If you have the Runtime Management Read Access privilege, you cannot attach components.
-
The DELETE operation detaches a component from a Runtime where the attachment is specified by the conceptual Component 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.
You must have the Runtime Management privilege to perform the DELETE operation. If you have the Runtime Management Read Access privilege, you cannot delete component attachments.
SOAP implementation
-
QUERY operation
The following example query returns the components attached to the Atom whose ID is 3456789a-bcde-f012-34567-89abcdef012.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.platform.boomi.com/">
<soapenv:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>ATOMSPHERE_USER_NAME</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ATOMSPHERE_PASSWORD</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<api:query>
<api:objectType>ComponentAtomAttachment</api:objectType>
<api:queryConfig xmlns="http://api.platform.boomi.com/">
<api:QueryFilter>
<api:expression operator="EQUALS" property="atomId" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SimpleExpression">
<api:argument>3456789a-bcde-f012-34567-89abcdef012</api:argument>
</api:expression>
</api:QueryFilter>
</api:queryConfig>
</api:query>
</soapenv:Body>
</soapenv:Envelope>Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<bns:queryResponse xmlns:bns="http://api.platform.boomi.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<bns:results numberOfResults="5">
<bns:result xsi:type="bns:ComponentAtomAttachment" componentType="process" atomId="3456789a-bcde-f012-34567-89abcdef012" componentId="36641acb-4038-44dd-8b74-ea2e13d9795b" id="QVRUQUNIX0NPTVBPTkVOVDM2NjQxYWNiLTQwMzgtNDRkZC04Yjc0LWVhMmUxM2Q5Nzk1YjplNGQzYTc3OC1lZTUwLTRjYzYtODliMC01OGJkOWU0YjAzNzk"/>
<bns:result xsi:type="bns:ComponentAtomAttachment" componentType="process" atomId="3456789a-bcde-f012-34567-89abcdef012" componentId="f46f9286-8606-4704-a561-c669ec12dd1e" id="QVRUQUNIX0NPTVBPTkVOVGY0NmY5Mjg2LTg2MDYtNDcwNC1hNTYxLWM2NjllYzEyZGQxZTplNGQzYTc3OC1lZTUwLTRjYzYtODliMC01OGJkOWU0YjAzNzk"/>
<bns:result xsi:type="bns:ComponentAtomAttachment" componentType="process" atomId="3456789a-bcde-f012-34567-89abcdef012" componentId="6fd54e7e-3da4-4cba-8aaf-669c04092d7c" id="QVRUQUNIX0NPTVBPTkVOVDZmZDU0ZTdlLTNkYTQtNGNiYS04YWFmLTY2OWMwNDA5MmQ3YzplNGQzYTc3OC1lZTUwLTRjYzYtODliMC01OGJkOWU0YjAzNzk"/>
<bns:result xsi:type="bns:ComponentAtomAttachment" componentType="process" atomId="3456789a-bcde-f012-34567-89abcdef012" componentId="25f808ca-97e0-4f86-bcf2-c5a5f95db00b" id="QVRUQUNIX0NPTVBPTkVOVDI1ZjgwOGNhLTk3ZTAtNGY4Ni1iY2YyLWM1YTVmOTVkYjAwYjplNGQzYTc3OC1lZTUwLTRjYzYtODliMC01OGJkOWU0YjAzNzk"/>
<bns:result xsi:type="bns:ComponentAtomAttachment" componentType="process" atomId="3456789a-bcde-f012-34567-89abcdef012" componentId="a1ba1bfa-3d79-4f81-9f4f-6d460d38f82a" id="QVRUQUNIX0NPTVBPTkVOVGExYmExYmZhLTNkNzktNGY4MS05ZjRmLTZkNDYwZDM4ZjgyYTplNGQzYTc3OC1lZTUwLTRjYzYtODliMC01OGJkOWU0YjAzNzk"/>
</bns:results>
</bns:queryResponse>
</S:Body>
</S:Envelope> -
CREATE operation
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.platform.boomi.com/">
<soapenv:Header/>
<soapenv:Body>
<api:create>
<object xsi:type="api:ComponentAtomAttachment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
atomId="3456789a-bcde-f012-34567-89abcdef012" componentId="9406f99d-948b-44cd-b441-4af7e8eedb07"/>
</api:create>
</soapenv:Body>
</soapenv:Envelope>Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<bns:createResponse xmlns:bns="http://api.platform.boomi.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<result xsi:type="bns:ComponentAtomAttachment" componentType="process" atomId="3456789a-bcde-f012-34567-89abcdef012" componentId="9406f99d-948b-44cd-b441-4af7e8eedb07" id="QVRUQUNIX0NPTVBPTkVOVDk0MDZmOTlkLTk0OGItNDRjZC1iNDQxLTRhZjdlOGVlZGIwNzplNGQzYTc3OC1lZTUwLTRjYzYtODliMC01OGJkOWU0YjAzNzk"/>
</bns:createResponse>
</S:Body>
</S:Envelope> -
DELETE operation
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.platform.boomi.com/">
<soapenv:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>ATOMSPHERE_USER_NAME</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ATOMSPHERE_PASSWORD</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<api:delete>
<objectType>ComponentAtomAttachment</objectType>
<objectId>Ab0Cd1Ef1Gh3Ij4Kl5Mn6Op7Qr8St9Uv0Wx9Yz8Zy7Xw6Vu5Ts4Rq3Po2Nm1Lk0Ji1Hg</objectId>
</api:delete>
</soapenv:Body>
</soapenv:Envelope>Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<bns:deleteResponse xmlns:bns="http://api.platform.boomi.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<bns:successful>true</bns:successful>
</bns:deleteResponse>
</S:Body>
</S:Envelope>