AS2

AS2 lets one receive and send messages over AS2 transport protocol in business to business communications. AS2 stands for Applicability Statement 2. Data is transported securely and reliably over the Internet. Security is achieved by using digital certificates and encryption.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions and Integration Service Environments (ISEs)
Contact
Name Microsoft
URL https://support.microsoft.com/
Email abapi@microsoft.com
Connector Metadata
Publisher Microsoft
Website https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-as2
Privacy policy https://privacy.microsoft.com/
Categories IT Operations;Commerce

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
Integration Account ID string Integration Account ID True
Integration Account SAS URL securestring Integration Account SAS URL True

Throttling Limits

Name Calls Renewal Period
API calls per connection 3000 60 seconds

Actions

Add or update MIC contents

Add or update MIC contents

Decode AS2 message

Decode AS2 message

Encode to AS2 message

Encode to AS2 message

Resolve AS2 agreement

Resolve AS2 agreement

Add or update MIC contents

Add or update MIC contents

Parameters

Name Key Required Type Description
AgreementName
AgreementName string

Gets or sets the agreement name.

MicValue
MicValue string

Gets or sets the MIC content.

MicHashAlgorithm
MicHashAlgorithm string

Gets or sets the MIC hashing algorithm.

MicChangedTime
MicChangedTime date-time

Gets or sets the changed time when AS2 message is processed.

MessageId
MessageId string

Gets or sets the message Id.

As2From
As2From string

Gets or sets the As2-From identifier.

As2To
As2To string

Gets or sets the As2-To identifier.

Returns

Decode AS2 message

Decode AS2 message

Parameters

Name Key Required Type Description
body
body True binary

Returns

The response message returned by AS2 api.

Encode to AS2 message

Encode to AS2 message

Parameters

Name Key Required Type Description
AS2-From
as2From True string

The AS2-From identifier.

AS2-To
as2To True string

The AS2-To identifier.

File name
fileName string

File name.

body
body True binary
content type
Content-Type string

content type.

Returns

The response message returned by AS2 api.

Resolve AS2 agreement

Resolve AS2 agreement

Parameters

Name Key Required Type Description
AS2-From
as2From True string

The AS2-From identifier.

AS2-To
as2To True string

The AS2-To identifier.

Returns

The AS2 agreement properties.

Triggers

When a MIC value is created

When a MIC value is created

When a MIC value is created

When a MIC value is created

Parameters

Name Key Required Type Description
DateTime to start MIC sync
startSyncTime date-time

Initial date time to poll for changes.

Returns

Definitions

As2ReplicableMicContent

The Replicable MIC content.

Name Path Type Description
AgreementName
AgreementName string

Gets or sets the agreement name.

MicValue
MicValue string

Gets or sets the MIC content.

MicHashAlgorithm
MicHashAlgorithm string

Gets or sets the MIC hashing algorithm.

MicChangedTime
MicChangedTime date-time

Gets or sets the changed time when AS2 message is processed.

MessageId
MessageId string

Gets or sets the message Id.

As2From
As2From string

Gets or sets the As2-From identifier.

As2To
As2To string

Gets or sets the As2-To identifier.

MicUpdateResponse

Name Path Type Description
Status of the create or update MIC action
MicUpdateStatus string
ExistingMicContent
ExistingMicContent MicContent
ErrorDetails
ErrorDetails EipErrorResponseBody

Error Response Body

MicContent

Name Path Type Description
AgreementName
AgreementName string
MicValue
MicValue string
MicHashAlgorithm
MicHashAlgorithm string
ChangedTime
ChangedTime date-time
MessageId
MessageId string
As2From
As2From string
As2To
As2To string

EipErrorResponseBody

Error Response Body

Name Path Type Description
StatusCode
StatusCode string

HTTP Status code of the response

ErrorMessage
ErrorMessage string

Error Message

source
source string

Source of the error

errors
errors array of string

Errors provided by the source

As2AgreementProperties

The AS2 agreement properties.

Name Path Type Description
AgreementName
AgreementName string

Gets or Sets Agreement name.

GuestPartnerName
GuestPartnerName string

Gets or Sets Guest Partner name.

HostPartnerName
HostPartnerName string

Gets or Sets Host Partner name.

As2To
As2To string

Gets or Sets the AS2-To identifier.

As2From
As2From string

Gets or Sets the AS2-From identifier.

As2DecodeResponse

The response message returned by AS2 api.

Name Path Type Description
AS2Message
AS2Message As2DecodedMessage

AS2 decoded message payload.

OutgoingMdn
OutgoingMdn As2OutgoingMdn

The outbound MDN generated by the decoder

As2DecodedMessage

AS2 decoded message payload.

Name Path Type Description
Content
Content string

Gets or sets the message content.

AS2From
AS2From string

Gets or sets the AS2-From identifier.

AS2To
AS2To string

Gets or sets the AS2-To identifier.

AgreementName
AgreementName string

Gets or sets the agreement name.

IsMdn
IsMdn boolean

Gets or sets a boolean value indicating whether the message is MDN or not.

IsFailedMessage
IsFailedMessage boolean

Gets or sets a boolean value indicating whether the message processing is succeeded or not.

DispositionType
DispositionType string

Gets or sets the disposition type.

IsAS2MessageSigned
IsAS2MessageSigned boolean

Gets or sets a boolean value indicating whether the AS2 message is signed or not.

IsAS2MessageCompressed
IsAS2MessageCompressed boolean

Gets or sets a boolean value indicating whether the AS2 message is compressed or not.

IsAS2MessageEncrypted
IsAS2MessageEncrypted boolean

Gets or sets a boolean value indicating whether the AS2 message is encrypted or not.

IsAS2MessageDuplicate
IsAS2MessageDuplicate boolean

Gets or sets a boolean value indicating whether the AS2 message is duplicate or not.

AS2MessageId
AS2MessageId string

Gets or sets the AS2 message id.

InboundHttpHeaders
InboundHttpHeaders string

Gets or sets the inbound http headers.

FileName
FileName string

Gets or sets the file name header.

ContentType
ContentType string

Gets or sets the content type.

MicVerification
MicVerification string

Gets or sets MIC Verification

IsNrrEnabled
IsNrrEnabled boolean

Gets or sets NRR Enabled.

MdnStatusCode
MdnStatusCode string

Gets or sets Acknowledgement status code.

MdnExpected
MdnExpected string

Gets or sets Acknowledgement expectation.

ReceiverPartnerName
ReceiverPartnerName string

Gets or sets the receiver partner name.

SenderPartnerName
SenderPartnerName string

Gets or sets the sender partner name.

OriginalMessageId
OriginalMessageId string

Gets or sets message id of the original message.

As2OutgoingMdn

The outbound MDN generated by the decoder

Name Path Type Description
Content
Content string

Gets or sets the MDN content.

OutboundHeaders
OutboundHeaders object

Gets the outbound headers.

MdnType
MdnType string

Gets or sets the MDN type.

ReceiptDeliveryOption
ReceiptDeliveryOption string

Gets or sets the receipt delivery option.

MicVerification
MicVerification string

Gets or sets MIC Verification

IsNrrEnabled
IsNrrEnabled boolean

Gets or sets NRR Enabled.

MdnStatusCode
MdnStatusCode string

Gets or sets Acknowledgement status code.

OriginalMessageId
OriginalMessageId string

Gets or sets message id of the original message in case of MDN.

Error
Error string

Gets or sets error if any received in MDN for the sent message

As2EncodeResponse

The response message returned by AS2 api.

Name Path Type Description
AS2Message
AS2Message As2EncodedMessage

AS2 encoded message

As2EncodedMessage

AS2 encoded message

Name Path Type Description
Content
Content string

Gets or sets the encoded message content.

AS2From
AS2From string

Gets or sets the AS2-From identifier.

AS2To
AS2To string

Gets or sets the AS2-To identifier.

AgreementName
AgreementName string

Gets or sets the agreement name.

AS2MessageId
AS2MessageId string

Gets or sets the AS2 message id.

ReceiverPartnerName
ReceiverPartnerName string

Gets or sets the receiver partner name.

SenderPartnerName
SenderPartnerName string

Gets or sets the sender partner name.

Error
Error string

Gets or sets the error if any.

MdnExpected
MdnExpected string

Gets or sets Acknowledgement expectation.

MdnTypeExpected
MdnTypeExpected string

Gets or sets the MDN type.

IsNrrEnabled
IsNrrEnabled boolean

Gets or sets a flag indicating whether the NRR Enabled is enabled or not.

OutboundHeaders
OutboundHeaders object

Gets the outbound headers.