Migrate Trading Partners from SOA-B2B

post

/ic/api/b2b/v1/migration/partners/import

Imports one or more trading partners with the associated B2B related artifacts such as agreements, documents, schemas, and host identifiers from the exported SOA-B2B design-time repository zip file.

Request

Query Parameters
  • If the imported zip file contains multiple zip files, then set this boolean value to true. The default value is false.

    Example:

    ic/api/b2b/v1/migration/partners/import?isFileZipOfZip=true
    Default Value: false
  • To overwrite an existing trading partner and replace it with the new trading partner imported from the zip file, then set this boolean flag to true. The default value is false.

    Example:

    ic/api/b2b/v1/migration/partners/import?isOverwrite=true
    Default Value: false
Supported Media Types
Request Body - multipart/form-data ()
Root Schema : schema
Type: object
Show Source
  • Exported SOA-B2B trading partner zip file.
  • This is an optional property. Use this property to specify how you want to display the filenames of the imported files. The following options are available:

    showDescription: Set this value to true to display the description.

    description: Specify the description that you want to show for the imported trading partner.

    documentPrefix: Specify a value if you want to prefix any text to the filenames of the imported documents.

    schemaPrefix: Specify a value if you want to prefix any text to the file names of the imported schemas.

    filter: You have include and exclude filter options. To include TP/TPA files from the zip file, use the include parameter. To exclude TP/TPA files from the zip file, use the exclude parameter.

    Example:

    {"showDescription":"true","description":"IMPORT FROM SOA-B2b ","schemaPrefix":"SCH","documentPrefix":"DOC","filter":{"exclude":{"tpId":["tp_1","tp_2"],"tpa":["tpa_1","tpa_2"]},"include":{"tpId":[],"tpa":[]}}}
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : TPMigrationImportRestResponse
Match All
Show Source
Nested Schema : GenericRestRs
Type: object
Show Source
Nested Schema : TPMigrationImportRestResponse-allOf[1]
Type: object
Show Source
Nested Schema : ImportOption
Type: object
Show Source
Nested Schema : response
Type: array
Show Source
Nested Schema : ImportOption.Filter
Type: object
Show Source
Nested Schema : ImportOption.Attribute
Type: object
Show Source
Nested Schema : tpa
Type: array
Show Source
Nested Schema : tpId
Type: array
Show Source
Nested Schema : TPMigrationService.ServiceResponse
Type: object
Show Source
Nested Schema : TPMigrationService.Summary
Type: object
Show Source
Nested Schema : report
Type: array
Show Source
Nested Schema : ProcessingReport
Type: object
Show Source
Nested Schema : ProcessingReport.State
Type: object
Show Source
Nested Schema : document
Type: array
Show Source
Nested Schema : error
Type: array
Show Source
Nested Schema : hostIdentifier
Type: array
Show Source
Nested Schema : ignoredAgreement
Type: array
Show Source
Nested Schema : inboundAgreement
Type: array
Show Source
Nested Schema : outboundAgreement
Type: array
Show Source
Nested Schema : schema
Type: array
Show Source
Nested Schema : transport
Type: array
Show Source
Nested Schema : ProcessingReport.Status
Type: object
Show Source
Nested Schema : Error
Type: object
Show Source

400 Response

Bad request

404 Response

Not found

409 Response

Duplicate data error

412 Response

Pre-condition failure

500 Response

Server error
Back to Top