Create an Outbound Agreement
post
/ic/api/b2b/v1/tpm/partners/{tpId}/outboundagrs
Creates an outbound agreement with the specified trading partner id. The request body must contain atleast name, transportId and docId fields.
Request
Supported Media Types
- application/json
Path Parameters
-
tpId(required): string
Trading partner ID.
Create trading partner outbound agreement request.
Example:
{ "name": "outagr", "desc": "out agr", "docId":"DOC1", "transportId":"TRANS123456", "params":{ "validate":true, "fa":true }, "hostIdentifiersRef": [ {"id": 3730642141264966 }], "tpIdentifiersRef": [{"id": 3710624275162543 }, {"id": 3710624275252203}]}
Root Schema : OutboundAgrRs
Type:
Show Source
object
-
createdDate:
string
-
desc:
string
-
docDef:
string
-
docId:
string
-
docStd:
string
-
docTxId:
string
-
docVersion:
string
-
hostIdentifiersRef:
array hostIdentifiersRef
-
id:
string
-
lastDeployed:
string
-
links:
array links
-
name:
string
-
params:
object Params
-
status:
string
-
tpIdentifiersRef:
array tpIdentifiersRef
-
transportId:
string
-
transportName:
string
-
updatedDate:
string
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : OutboundAgrRs
Type:
Show Source
object
-
createdDate:
string
-
desc:
string
-
docDef:
string
-
docId:
string
-
docStd:
string
-
docTxId:
string
-
docVersion:
string
-
hostIdentifiersRef:
array hostIdentifiersRef
-
id:
string
-
lastDeployed:
string
-
links:
array links
-
name:
string
-
params:
object Params
-
status:
string
-
tpIdentifiersRef:
array tpIdentifiersRef
-
transportId:
string
-
transportName:
string
-
updatedDate:
string
201 Response
Successful operation
409 Response
Duplicate data error
412 Response
Pre condition failure
500 Response
Server error