GET
The GET command is used to access information from the sent transaction and the HTTP response from the remote AS2 server.
Syntax:
Command |
Keyword |
Value |
Developer notes |
GET |
PROPERTY |
value |
Mandatory. Property keyword. |
The following properties come from the created data source that was sent.
Property |
Description |
Values |
*DATAMESSAGEID |
Message-Id. |
|
*DATAMICMD5 |
Calculated MD5 MIC. |
|
*DATAMICSHA1 |
Calculated SHA1 MIC. |
|
*DATAMICSHA256 |
Calculated SHA256 MIC. |
|
*DATAMICSHA384 |
Calculated SHA384 MIC. |
|
*DATAMICSHA512 |
Calculated SHA512 MIC. |
|
*DATARECEIPT |
Receipt requested. |
*YES or *NO |
*DATARECEIPTSIGNED |
Signed receipt requested. |
*YES or *NO. |
*DATARECEIPTDELIVERY |
Receipt delivery requested. |
*YES = asynchronous |
The following properties come from the HTTP response.
Property |
Description |
Values |
*AS2TO |
AS2-To. |
|
*AS2FROM |
AS2-From. |
|
*AS2VERSION |
AS2-Version. |
|
*FROM |
From. |
|
*DATE |
Date. |
|
*SUBJECT |
Subject. |
|
*MESSAGEID |
Message-Id. |
|
*CONTENT |
Type of response content. |
*RECEIPT or *OTHER |
value |
HTTP protocol property. |
|
The following properties come from the received receipt.
Use the GET PROPERTY (*CONTENT) to check if the received response is a receipt.
Property |
Description |
Example message values |
*RECEIPTMESSAGEID |
Message ID of the original transaction. This can be used to match to the original sent transaction. |
|
*RECEIPTMIC |
MIC returned in receipt. This can be compared with the original transaction MIC to check the transaction delivery. |
|
*RECEIPTMICALG |
MIC algorithm. |
MD5, SHA1 |
*RECEIPTDISPOSITIONTYPE |
Status of the AS2 transaction. |
Possible values: |
*RECEIPTDISPOSITIONMODIFIER |
Status of the AS2 transaction. |
Possible values: |