ParcelDownloadInner() - DEPRECATED


This function is deprecated as of v2.3.34. ParcelDownload() and ParcelDownloadGZip() now automatically handle this functionality.

Download inner content of Parcel from InBox or Archive with outer X12 ISA/IEA envelope removed.

Public Function ParcelDownloadInner(ByVal SessionID As String, _
                                   
ByVal ParcelID As Long) _
                                   
As FileInfo

Parameters

SessionID
String - GUID
The current session's GUID in string format. This is a 32-character hexidecimal string in the format:
00000000-0000-0000-0000-000000000000. This is the value returned by the Login() function.
ParcelID
Long
The value assigned to track a specific Parcel on ECGrid.

Returns

FileInfo Object

ParcelID
Long
The value assigned to track a specific Parcel on ECGrid.
FileName
String(1,127)
The file name assigned to a Parcel. It will be stored on disk with this name.
FileDate
Date
The date/time stamp of the file (UTC).
Bytes
Integer
The number of bytes in the Parcel.
Content
Byte()
A byte array representing the data in the Parcel. See Uploading & Downloading Files.

Remarks

Downloads the inner contents of Parcel from ECGrid as long as it has not been archived.

Bytes will match the actual inner Content downloaded and not the number of bytes in the complete Parcel when looking at the ParcelIDInfo Object.

Once a Parcel has been successfully downloaded from the InBox the first time, ParcelDownloadConfirm() should be called to remove it from the pending download list.

If the payload is EDI data, then ParcelDownload() should be used to keep the outer EDI Envelope intact.

Example

Visual Basic
[insert code sample]

EventID: 6004

See Also

Parcels
ParcelDownloadConfirm()
ParcelDownload()
ParcelIDInfo Object
Uploading & Downloading Files


© 2008-2011, Loren Data Corp.
All rights reserved.
ECGrid is a registered service mark of Loren Data Corp.
ECGridOS is a service mark of Loren Data Corp.