During testing, you can simulate your trading partner sending you inbound messages.
Post the test file yourself
You can post transactions to yourself, just make sure you send the correct parameters in your POST request:
typeThis is the transaction type. For an inbound purchase order, this should be850_PURCHASE_ORDERreceiver- This should be your own ISA ID to test inbound transactionssender: your Trading partner's ISA IDstreamshould be set totestmessagethis is the document itself. Use a sample payload from HERE, or create your own
Upload a file#
You can also manually upload files in the UI
- Go to the Transactions page in the Orderful UI
- Click on "Create Transaction"
- Select Upload transaction
- Choose the file you want to upload.
The file you upload should match this format:
{
"type": {
"name": "TRANSACTION_TYPE_NAME"
},
"stream": "test",
"message": {
[...] // Enter your data here
},
"sender": {
"isaId": "ISA_ID_SENDER"
},
"receiver": {
"isaId": "ISA_ID_RECEIVER"
}
}For the "message" content, use a sample payload from HERE, or create your own
