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
Path Parameters
Body ()

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: object
Show Source
Nested Schema : hostIdentifiersRef
Type: array
Show Source
Nested Schema : Params
Type: object
Show Source
Nested Schema : tpIdentifiersRef
Type: array
Show Source
Nested Schema : HostIdentifierRs
Type: object
Show Source
Nested Schema : IdentifierRs
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : OutboundAgrRs
Type: object
Show Source
Nested Schema : hostIdentifiersRef
Type: array
Show Source
Nested Schema : Params
Type: object
Show Source
Nested Schema : tpIdentifiersRef
Type: array
Show Source
Nested Schema : HostIdentifierRs
Type: object
Show Source
Nested Schema : IdentifierRs
Type: object
Show Source

201 Response

Successful operation

409 Response

Duplicate data error

412 Response

Pre condition failure

500 Response

Server error
Back to Top