> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# exportB2BTradingPartners

> Exports one or more B2B Trading Partners from Oracle Integration Cloud as .zip files that can be imported into another OIC instance or and stored in a

Exports one or more B2B Trading Partners from Oracle Integration Cloud as .zip files that can be imported into another OIC instance or and stored in an SCM repository.

> [!NOTE]
>
> Either **FDOIC\_CLOUD\_ACCOUNT\_CODE** Target property value or **FDOIC\_INP\_CLOUD\_ACCOUNT\_CODE** plugin input value should exist. When both exists, plugin input value will take precedence. See [Creating/Editing a Cloud Account and Provider](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-users-guide/integrations/cloud-account-and-provider.md) for details on how to setup Cloud Account for OIC.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>Property Name</th><th>Property Code</th><th>Required</th><th>Description</th></tr><tr><td>OIC Account</td><td>`FDOIC_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>B2B Trading Partner List</td><td>`FDOIC_B2B_TRADING_PARTNER_INCLUDE_LIST`</td><td>No</td><td>CSV list of Trading Partner ids to export.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>Input Name</th><th>Input Code</th><th>Required</th><th>Description</th></tr><tr><td>OIC Account</td><td>`FDOIC_INP_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.</td></tr><tr><td>B2B Trading Partner List</td><td>`FDOIC_INP_B2B_TRADING_PARTNER_INCLUDE_LIST`</td><td>No</td><td>CSV list of Trading Partner IDs to export. Takes precedence over the Project Property "B2B Trading Partner List". Prefix with PROJECTID: to refer to a Trading Partner in a project.</td></tr><tr><td>Export Folder</td><td>`FDOIC_INP_EXPORT_SUBFOLDER`</td><td>No</td><td>Optional subfolder within FD\_TEMP\_DIR for exporting Trading Partners, or specify an absolute path.</td></tr><tr><td>Expand B2B Trading Partners</td><td>`FDOIC_INP_EXPAND_B2B_TRADING_PARTNER`</td><td>No</td><td>Optionally expand (unzip) the exported zip files</td></tr></tbody></table>

# Artifacts

This operation produces no artifacts, instead all exported files are stored in the temp directory to be pushed to SCM.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
