AS2 Outgoing Messages
An AS2OutgoingMessage is a single record created for each individual AS2 file transfer out to a Partner. It contains the message details and tracks the lifecycle status with milestones of the transfer.
List AS2 Outgoing Messages
SDK Method
as2outgoingmessage.List()
Return Object
[]*As2OutgoingMessage
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
Additional Arguments
The As2OutgoingMessage Object
Some of the methods above return a As2OutgoingMessage object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| Id int64 | Id of the AS2 Partner. |
| WorkspaceId int64 | ID of the Workspace associated with this AS2 Outgoing Message. |
| As2PartnerId int64 | Id of the AS2 Partner associated with this message. |
| As2StationId int64 | Id of the AS2 Station associated with this message. |
| Uuid string | UUID assigned to this message. |
| HttpHeaders object | HTTP Headers sent with this message. |
| ProcessingResult string | Result of processing. Possible values: not_started, send_failed, send_success, send_success_mdn_invalid, send_success_mic_mismatch, send_success_message_id_mismatch, send_success_signature_mismatch, send_success_processing_failure, send_failed_unknown_host, send_failed_bad_http_response_code, send_failed_ssl_error, send_failed_connection_refused |
| ProcessingResultDescription string | Result of processing description. |
| Mic string | AS2 Message Integrity Check SHA1 |
| MicSha256 string | AS2 Message Integrity Check SHA256 |
| As2To string | AS2 TO |
| As2From string | AS2 FROM |
| As2Subject string | AS2 Subject |
| Date string | Date Header |
| MessageId string | AS2 Message Id |
| BodySize string | Encrypted Payload Body Size |
| AttachmentFilename string | Filename of the file being sent. |
| CreatedAt date-time | Message creation date/time |
| HttpResponseCode string | HTTP Response Code received for this message |
| HttpResponseHeaders object | HTTP Headers received for this message. |
| HttpTransmissionDuration double | HTTP transmission duration in seceonds |
| MdnReceived boolean | Did the partner give a response body? |
| MdnValid boolean | Is the response in MDN format? |
| MdnSignatureVerified boolean | MDN signature verified? |
| MdnMessageIdMatched boolean | MDN message id matched? |
| MdnMicMatched boolean | MDN MIC matched? |
| MdnProcessingSuccess boolean | MDN disposition indicate a successful processing? |
| RawUri string | URL to download the original file contents |
| SmimeUri string | URL to download the file contents encoded as smime |
| SmimeSignedUri string | URL to download the file contents as smime with signature |
| EncryptedUri string | URL to download the encrypted signed smime that is to sent as AS2 body |
| MdnResponseUri string | URL to download the http response body |