Create message definitions

post

/fscmRestApi/resources/11.13.18.05/b2bMessageDefinitions

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : B2B Location Assignments
Type: array
Title: B2B Location Assignments
Details of the bill-to and ship-to location assignments configured for a message definition.
Show Source
Nested Schema : Email Properties
Type: array
Title: Email Properties
An email property represents the layout of attributes that are included in the body of a B2B message email. The attributes are extracted from the message payload for the email.
Show Source
Nested Schema : b2bMessageDefinitions-b2bLocationAssignments-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : b2bMessageDefinitions-item-response
Type: object
Show Source
  • Maximum Length: 2000
    Value that stores the sender application partner code cross reference path.
  • Read Only: true
    Maximum Length: 255
    Contains one of the following values: true or false. If true, then the document supports attachments. If false, then the document doesn't support attachments. The default value is false.
  • B2B Location Assignments
    Title: B2B Location Assignments
    Details of the bill-to and ship-to location assignments configured for a message definition.
  • Read Only: true
    Maximum Length: 100
    Indicates whether the message definition is configurable. Contains one of these values: true or false. If true, then you can configure the message definition. If false, then you can't configure the message definition. This attribute doesn't have a default value.
  • Maximum Length: 512
    Subject of the message email, for example Purchase Order.
  • Read Only: true
    Maximum Length: 100
    Value that indicates the direction of the message, either inbound or outbound.
  • Title: Meaning
    Read Only: true
    Maximum Length: 80
    Description for the direction of the message.
  • Read Only: true
    Maximum Length: 256
    Description of the transient collaboration document.
  • Value that uniquely identifies the collaboration document.
  • Maximum Length: 255
    Name of the collaboration document associated with the message definition.
  • Read Only: true
    Maximum Length: 512
    Subtype of the document definition.
  • Read Only: true
    Maximum Length: 256
    Value that uniquely identifies the type of document being sent, such as ProcessPurchaseOrder.
  • Title: Meaning
    Read Only: true
    Maximum Length: 80
    Type of document being sent, such as a Process Purchase Order.
  • Email Properties
    Title: Email Properties
    An email property represents the layout of attributes that are included in the body of a B2B message email. The attributes are extracted from the message payload for the email.
  • Value that uniquely identifies the external message definition associated with the collaboration message definition.
  • Name of the external message definition associated with the collaboration message definition.
  • Maximum Length: 512
    Name of the XSLT file that contains the transformation to be applied, if any, for the message.
  • Links
  • File that's used to map the JSON output from a REST resource to XML format.
  • Maximum Length: 512
    Name of the file that's used to map the JSON output from a REST resource to XML format.
  • File that contains all the mapping functions used in the associated mapping file.
  • Maximum Length: 512
    Name of the file containing all the mapping functions used in the associated mapping file.
  • Maximum Length: 256
    Description of the collaboration message definition.
  • Value that uniquely identifies the collaboration message definition.
  • Maximum Length: 256
    Name of the collaboration message definition.
  • Read Only: true
    Maximum Length: 100
    Value that identifies the code of the messaging standard.
  • Title: Meaning
    Read Only: true
    Maximum Length: 80
    Value that describes the messaging standard. For example, OracleB2B.
  • Read Only: true
    Maximum Length: 512
    A unique value used to identify a message when multiple messages share the same root element.
  • Read Only: true
    Maximum Length: 100
    The name of a unique XML schema definition for a document, representing the root element of the payload, such as Process Purchase Order.
  • Read Only: true
    Maximum Length: 100
    Version of the message standard, for example 10.1.
  • Maximum Length: 2000
    Value that identifies the XPath expression locating the object key in an XML payload. For example, the invoice number is the object key in the invoice XML file.
  • Payload template associated with the message definition. A payload template is an XML sample that may be used for testing or validating your message setup.
  • Maximum Length: 2000
    Path that identifies the email recipient in the payload.
  • Name of the service provider that the message definition was created for.
  • Maximum Length: 30
    Value that indicates whether the document is transformed using an XSLT style sheet or a mapping file.
  • Value that uniquely identifies the original message from which attributes are used to create a new message definition.
  • Read Only: true
    Maximum Length: 10
    Value that indicates whether the message definition is predefined. Contains one of the following values, true or false. If true, it's a predefined message, if false, it's a user-created message
  • XSL file that's associated with the message definition. An XSL file is used for the transformation of the message.
Nested Schema : B2B Location Assignments
Type: array
Title: B2B Location Assignments
Details of the bill-to and ship-to location assignments configured for a message definition.
Show Source
Nested Schema : Email Properties
Type: array
Title: Email Properties
An email property represents the layout of attributes that are included in the body of a B2B message email. The attributes are extracted from the message payload for the email.
Show Source
Nested Schema : b2bMessageDefinitions-b2bLocationAssignments-item-response
Type: object
Show Source
Nested Schema : b2bMessageDefinitions-emailProperties-item-response
Type: object
Show Source
Back to Top