Create a Trading Partner
post
/ic/api/b2b/v1/tpm/partners
Creates a trading partner with the specified name and description.
Request
Supported Media Types
- application/json
Create trading partner request details.
Example:
{"id": "TP123", "name": "tp123", "desc": "description of tp123 "}
Root Schema : TradingPartnerRs
Type:
Show Source
object
-
createdBy:
string
-
createdDate:
string
-
desc:
string
-
id:
string
-
inboundActiveAgreementCount:
integer
-
inboundAgreementCount:
integer
-
links:
array links
-
name:
string
-
outboundActiveAgreementCount:
integer
-
outboundAgreementCount:
integer
-
status:
string
-
tags:
object Tags
-
updatedBy:
string
-
updatedDate:
string
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : TradingPartnerRs
Type:
Show Source
object
-
createdBy:
string
-
createdDate:
string
-
desc:
string
-
id:
string
-
inboundActiveAgreementCount:
integer
-
inboundAgreementCount:
integer
-
links:
array links
-
name:
string
-
outboundActiveAgreementCount:
integer
-
outboundAgreementCount:
integer
-
status:
string
-
tags:
object Tags
-
updatedBy:
string
-
updatedDate:
string
201 Response
Successful operation
409 Response
Duplicate data error
412 Response
Pre condition failure
500 Response
Server error