webMethods Integration Cloud and Cloud Deployment Documentation 5.6.0 | webMethods Integration Cloud | Applications, Accounts, Operations, Listeners, Upgrade, Keys and Certificates | Applications | Predefined Applications | webMethods.io B2B | Predefined Operations
 
Predefined Operations
The following predefined operations are available for webMethods B2B Cloud application:
Operation
Description
Changes the user status of a specified transaction.
Parse request content passed by the processing rule Call an integration action as bytes or string data type.
Generates a response for the processing rule Call an integration action.
Submits business documents to webMethods B2B Cloud product instance.
changeUserStatus
Changes the user status of a specified transaction.
Input Parameters
transactionID
String Transaction ID of the document in exchange.
userStatus
String The user status for a transaction. For example, New, Open, or Fixed. Character length limit is 255.
Output Parameters
isUpdated
String Indicates if the operation changed the user status of a transaction.
*true. The operation changed the user status of the transaction.
*false. The operation has not changed the status of the transaction.
parseContent
Parses request content passed by the processing rule Call an integration action as bytes or string data type. For more information on Call an integration, see webMethods B2B Cloud Help
Input Parameters
inputContent
String Content passed in the integration request.
loadContentAs
String Data type in which outputContent field value is passed.
*bytes. outputContent is generated as bytes.
*string. outputContent is generated as a string.
encoding
String Type of character set used for encoding inputContent value. This can be any IANA registered character set.
Default UTF-8
Output Parameters
outputContent
Object Content data corresponds to the data type option set for the loadContentAs field.
generateResponse
Generates a response for the processing rule Call an integration action.
Input Parameters
inputContent
String Content data sent as part of integration response after encoding.
readContentAs
String Data type in which inputContent field value is passed.
*bytes. inputContent is read as bytes.
*string. inputContent is read as a string.
contentType
String Content-Type passed corresponds to inputContent field. For example, application/EDI, application/x12, text/plain and so on.
errorCode
String Value of error code passed as part of integration response.
errorMessage
String Value of error message passed as part of integration response.
encoding
String Type of character set used for encoding inputContent value. This can be any IANA registered character set.
Default UTF-8
Output Parameters
response
Document Response is a composite object containing the parameters:
Key
Description
content
String Encoded in Base64. Value is specified in encoding.
type
String Value specified in contentType.
encoding
String Type of encoding used to encode the inputContent. Value is specified in encoding.
error
Document Error is a composite object containing the fields:
Key
Description
code
String Error code received from the input. Value is specified in errorCode.
message
String Error message associated with the input. Value is specified in errorMessage.
submit
Submits the business documents to webMethods B2B Cloud product instance.
Input Parameters
inputContent
Object Content to submit to webMethods B2B Cloud product instance for processing.
readContentAs
String Data type in which inputContent field value is passed.
*bytes. inputContent is read as bytes.
*string. inputContent is read as string.
contentType
String Specifies the type of content.
*application/EDIStream. Content is read as an EDI InputStream.
*application/EDI. Content is read as EDI input.
*application/x12. Content is read as X12 input.
*application/UNEDIFACT. Content is read as UNEDIFACT input.
encoding
String Type of character set used for encoding inputContent value. This can be any IANA registered character set.
Default: UTF-8
Output Parameters
transaction
Document Contains the following information about the transaction created in webMethods B2B Cloud product instance.
Key
Description
transactionID
String Transaction ID of the document created in webMethods B2B Cloud product instance.
senderID
String Sender ID of the document.
receiverID
String Receiver ID of the document.
documentTypeID
String Internal ID of the document type in the webMethods B2B Cloud product instance.
userStatus
String User-defined status of the document.
transactionStatus
String Status of the transaction submitted in the webMethods B2B Cloud product instance.
customAttributes
Document Extracted custom attributes from inputContent. Key is the attribute name and value is the attribute value.

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.