This endpoint retrieves an execution’s input document before it passes through any translation and mappings.
GET
/
executions
/
{executionId}
/
input
curl--request GET -L\--url https://core.us.stedi.com/2023-08-01/executions/{executionId}/input \--header"Authorization: ${STEDI_API_KEY}"
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *250106*1747*^*00801*000000001*0*T*>~GS*HN*SENDERGS*RECEIVERGS*20250106*174726*1*X*008010~ST*277*1001*005010X214~BHT*0085*08*34252920565*20241127*181713*TH~HL*1**20*1~NM1*AY*2*STEDI INC*****46*117151744~TRN*1*20241127181713301~DTP*050*D8*20241127~DTP*009*D8*20241127~HL*2*1*21*1~NM1*41*2*ABA INC*****46*1999999992~TRN*2*01JDQXJK6SN0B9VVDX0H1NKAHX~STC*A1>20*20241127*WQ*832~QTY*AA*1~AMT*YY*832~HL*3*2*19*1~NM1*85*2*ABA INC*****XX*1999999992~TRN*1*0~REF*TJ*123456789~QTY*QC*1~AMT*YY*832~HL*4*3*PT*0~NM1*QC*1*DOE*JOHN****MI*123412345~TRN*2*0000112233~STC*A3>21*20241127*U*832********THE PAYER ID IS NOT VALID. PLEASE CORRECT AND RESUBMIT THE FAILED TRANSACTIONS.~REF*D9*01JDQXKCF9RCY47JPRTH7BJC9V~DTP*472*RD8*20230428-20230428~SE*26*1001~GE*1*1~IEA*1*000000001~
There are no size restrictions on documents when fetching from this endpoint.
This endpoint returns a 302 Temporary redirect to the document download URL. Many HTTP clients will automatically follow this redirect, or have a simple follow redirects configuration to set. For example, the -L or --location flags in cURL requests will automatically follow the redirect.
In the event you cannot, or chose not to automatically follow the redirect, the body of the response contains a JSON object with a single key documentDownloadUrl which contains a temporary URL to download the document. This URL is available for 60 minutes.
curl--request GET -L\--url https://core.us.stedi.com/2023-08-01/executions/{executionId}/input \--header"Authorization: ${STEDI_API_KEY}"
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *250106*1747*^*00801*000000001*0*T*>~GS*HN*SENDERGS*RECEIVERGS*20250106*174726*1*X*008010~ST*277*1001*005010X214~BHT*0085*08*34252920565*20241127*181713*TH~HL*1**20*1~NM1*AY*2*STEDI INC*****46*117151744~TRN*1*20241127181713301~DTP*050*D8*20241127~DTP*009*D8*20241127~HL*2*1*21*1~NM1*41*2*ABA INC*****46*1999999992~TRN*2*01JDQXJK6SN0B9VVDX0H1NKAHX~STC*A1>20*20241127*WQ*832~QTY*AA*1~AMT*YY*832~HL*3*2*19*1~NM1*85*2*ABA INC*****XX*1999999992~TRN*1*0~REF*TJ*123456789~QTY*QC*1~AMT*YY*832~HL*4*3*PT*0~NM1*QC*1*DOE*JOHN****MI*123412345~TRN*2*0000112233~STC*A3>21*20241127*U*832********THE PAYER ID IS NOT VALID. PLEASE CORRECT AND RESUBMIT THE FAILED TRANSACTIONS.~REF*D9*01JDQXKCF9RCY47JPRTH7BJC9V~DTP*472*RD8*20230428-20230428~SE*26*1001~GE*1*1~IEA*1*000000001~
A unique identifier for the file execution within Stedi. This ID is included in the file processed event, or you can retrieve it manually from the file's details page within the Stedi app.
curl--request GET -L\--url https://core.us.stedi.com/2023-08-01/executions/{executionId}/input \--header"Authorization: ${STEDI_API_KEY}"
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *250106*1747*^*00801*000000001*0*T*>~GS*HN*SENDERGS*RECEIVERGS*20250106*174726*1*X*008010~ST*277*1001*005010X214~BHT*0085*08*34252920565*20241127*181713*TH~HL*1**20*1~NM1*AY*2*STEDI INC*****46*117151744~TRN*1*20241127181713301~DTP*050*D8*20241127~DTP*009*D8*20241127~HL*2*1*21*1~NM1*41*2*ABA INC*****46*1999999992~TRN*2*01JDQXJK6SN0B9VVDX0H1NKAHX~STC*A1>20*20241127*WQ*832~QTY*AA*1~AMT*YY*832~HL*3*2*19*1~NM1*85*2*ABA INC*****XX*1999999992~TRN*1*0~REF*TJ*123456789~QTY*QC*1~AMT*YY*832~HL*4*3*PT*0~NM1*QC*1*DOE*JOHN****MI*123412345~TRN*2*0000112233~STC*A3>21*20241127*U*832********THE PAYER ID IS NOT VALID. PLEASE CORRECT AND RESUBMIT THE FAILED TRANSACTIONS.~REF*D9*01JDQXKCF9RCY47JPRTH7BJC9V~DTP*472*RD8*20230428-20230428~SE*26*1001~GE*1*1~IEA*1*000000001~