ECGrid Forums  

Go Back   ECGrid Forums > Electronic Commerce > ECGridOS > ECGridOS Developer

ECGridOS Developer Development related posts.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2016, 03:54 PM
Todd Gould's Avatar
Todd Gould Todd Gould is offline
Loren Data Corp.
 
Join Date: May 2005
Location: Loren Data Corp.
Posts: 303
Send a message via Skype™ to Todd Gould
Default Parcel Management

Submitted:

Based on your vast experience, what are the best practice in managing the services - recommended API calls (parcel management)?
Reply With Quote
  #2  
Old 11-08-2016, 03:55 PM
Todd Gould's Avatar
Todd Gould Todd Gould is offline
Loren Data Corp.
 
Join Date: May 2005
Location: Loren Data Corp.
Posts: 303
Send a message via Skype™ to Todd Gould
Default

Inbound:

ParcelInBox() and ParcelInBoxEx() are used to check for incoming. The Ex commands with an APIKey assigned to a Network level user allows you to check through all your customer mailboxes with MailboxID:=-1 meaning ďallĒ mailboxes. The non Ex only checks the mailbox assigned to the APIKey used.

ParcelDownload() gets the data

ParcelDownloadConfirm() clears it from the InBox

Outbound:

ParcelUpload() and ParcelUploadExA() post the data to the APIKey or specified MailboxID. With both of these, a ParcelID will be returned that you can use to track the data through the system. A unique feature is if you upload to MailboxID:=0 for a data that is in an Unmanaged mailbox, the system will ultimately figure out which MailboxID to assign it to for you based on Sender QID. (Note that ParcelUploadEx() was a different functionality and is deprecated.)

All successful data goes through this process:
  • ParcelID for the uploaded data
  • InterchangeID(s) for the interchanges within the data (we highly recommend one interchange per file uploaded, but the system can handle multiple; however, by X12.56 rules if one interchange is corrupt/invalid in the file, we cancel them all).
  • ParcelID outbound for each InterchangeID for the file to be downloaded to the receiverís system
Tracking requires looking at the ParcelIDInfo object for the ParcelID, examining the InterchangeIDInfo object within and then calling InterchangeInfo() for that InterchangeID to get the information on the final outbound ParcelIDInfo object.

All status codes are listed on forums.ecgrid.com

For parcels/interchanges that fail, there is an e-mail message and they can also be tracked through ParcelOutBoxError() and ParcelOutBoxErrorEx() calls.

The ParcelOutBoxArchive(), ParcelOutBoxArchiveEx(), ParcelInBoxArchive() and ParcelInBoxArchiveEx() are used to search for historical information.

ParcelUploadDirected() is used to send non-EDI data and requires the Sender and Receiver ECGridIDs to be used.

There are GZip variants that allow the data to be GZipped prior to uploading/downloading to reduce file size. Iím not sure anyone is using these, but they do work.

See: http://forums.ecgrid.com/showthread.php?t=204

-=tg=-
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parcel Errors MitchRees ECGridOS Developer 4 07-26-2013 01:58 PM
Parcel APIs joblesspoet ECGridOS Developer 6 04-08-2013 01:04 PM
Parcel Listing MarcNelson ECGridOS Developer 1 09-13-2010 02:30 PM
Codes & Tables Todd Gould ECGridOS Developer 2 03-18-2010 03:56 PM


All times are GMT -4. The time now is 11:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
ECGrid® is a registered service mark of Loren Data Corp.