Import a Trading Partner

post

/ic/api/b2b/v1/tpm/partners/import

Imports a trading partner with the associated agreements, documents, schemas, and host identifiers from the previously exported trading partner zip file.

Request

Query Parameters
  • Overwrite flag to overwrite components in the zip file. Default value is false.

    Example:

    ic/api/b2b/v1/tpm/partners/import?isOverwrite=true
    Default Value: false
Supported Media Types
Request Body - multipart/form-data ()
Root Schema : schema
Type: object
Back to Top

Response

Supported Media Types

201 Response

Successful operation
Body ()
Root Schema : ImportTPRs
Match All
Show Source
Nested Schema : GenericRestRs
Type: object
Show Source
Nested Schema : ImportTPRs-allOf[1]
Type: object
Show Source
Nested Schema : documents
Type: array
Show Source
Nested Schema : hostIdentifiers
Type: array
Show Source
Nested Schema : schemas
Type: array
Show Source
Nested Schema : tradingPartner
Type: array
Show Source
Nested Schema : ImportTPRs.ImportStatus
Type: object
Show Source

404 Response

Not found

409 Response

Duplicate data error

412 Response

Pre-condition failure

500 Response

Server error
Back to Top