The Receive from Partners message type defines the way in which Anypoint Partner Manager transforms the inbound transactions sent from your partner to your organization. You can define the CSV, EDIFACT, JSON, X12, or XML format for the Receive from Partners message type.
CSV
Use the following settings to define CSV as the format for the Receive from Partners message type:
| Setting | Description | Default | Required |
|---|---|---|---|
Usage |
Message usage. Allowed value is |
Yes |
|
Format |
Format of the message. Allowed value is |
Yes |
|
Separator character |
Character that separates values in the file. |
, |
Yes |
Quote character |
Character used as a quote character in the file. |
"" |
Yes |
Escape character |
Character used as an escape character in the file. |
\ |
Yes |
Header line |
When selected, Partner Manager skips the header row when it processes a CSV file. |
Selected |
|
Ignore empty line |
When selected, Partner Manager ignores empty lines when it processes a CSV file. |
Selected |
|
Reference identifiers and attributes mapping |
Uploaded DataWeave map that extracts the reference identifiers and custom attributes from the payload received from the partner:
|
No |
EDIFACT
Use the following settings to define EDIFACT as the format for the Receive from Partners message type:
| Setting | Description | Default | Required |
|---|---|---|---|
Usage |
Message usage. Allowed value is |
Yes |
|
Format |
Format of the message. Allowed value is |
Yes |
|
Version |
EDIFACT version, such as |
Yes |
|
Message type |
EDIFACT message type, such as |
Yes |
|
Reference identifiers and attributes mapping |
Uploaded DataWeave map that extracts the reference identifiers and custom attributes from the payload received from the partner:
|
No |
|
Schema |
EDI schema for the message type. Options include:
|
Use standard EDIFACT <version> |
Yes |
JSON or XML
Use the settings in the table to define JSON or XML as the format for the Receive from Partners message type.
If you process cXML messages with <DOCTYPE> tags, you must set the minMuleVersion to 4.5.0 or higher and upgrade your runtime environment in Access Management. For more information, see Partner Manager deployment settings for CloudHub, CloudHub 2.0, and Runtime Fabric.
| Setting | Description | Default | Required |
|---|---|---|---|
Usage |
Message usage. Allowed value is |
Yes |
|
Format |
Format of the message. Allowed value is |
Yes |
|
Schema |
Imported JSON or XSD schema file for the message type. |
No |
|
Message type identifier |
Message type identifier value used in the dynamic message routing of inbound B2B transactions:
Your partner must pass the message type identifier as follows when sending inbound messages:
|
Yes |
|
Reference identifiers and attributes mapping |
Uploaded DataWeave map that extracts the reference identifiers, business key, and custom messaging attributes from the payload received from the partner:
|
Yes |
X12
Use the following settings to define X12 as the format for the Receive from Partners message type:
| Setting | Description | Default | Required |
|---|---|---|---|
Usage |
Message usage. Allowed value is |
Yes |
|
Format |
Format of the message. Allowed value is |
Yes |
|
Version |
X12 version, such as |
Yes |
|
Message type |
X12 transaction set number, such as |
Yes |
|
Reference identifiers and attributes mapping |
Uploaded DataWeave map that extracts the reference identifiers, business key, and attribute from the payload received from the partner:
|
No |
|
Schema |
EDI schema for the message type. Options include:
|
Use standard X12-<version> |
Yes |
For an example that shows how to customize an X12 schema, see Customize EDI X12 Schema for B2B Integrations in Anypoint Exchange.