Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

UploadDocumentDetail Type

Indicates the details for a document to be uploaded.

Remarks

This type contains data describing a document to be uploaded.

Example: Setting the fields of the upload document

UploadDocumentDetail uploadDocDetail = new UploadDocumentDetail
uploadDocDetail.DocNumber = 1
uploadDocDetail.DocType = FedExDocumentTypes.fdtCertificateOfOrigin
uploadDocDetail.LocalFileName = "..\\..\\files\\CertificateOfOrigin.pdf"
uploadDocDetail.UploadFileName = "CertificateOfOrigin.pdf"
uploadDocDetail.Reference = "Test 1"

Fields

DocNumber
int

This is an optional field to specify the sequence number of document to upload.

DocType
int

This is specifies the document type of the document being uploaded.

The valid values are as follows:

Value Description
dtCommercialInvoice (0) Commercial Invoice
dtCertificateOfOrigin (1) Certificate of Origin
dtNAFTACertificateOfOrigin (2) NAFTA Certificate of Origin
dtProFormaInvoice (3) Pro Forma Invoice
dtOther (4) Other document type

FileContent
String

If LocalFileName is not set, this will be used to specify the contents of the file to be uploaded.

LocalFileName
String

This contains the path to the file on the local system. If this is not set, FileContent will be used instead.

Reference
String

This is an optional field to specify the customer reference for the document.

ShipDocument
boolean

This indicates if the document will be sent in a subsequent call to GetShipmentLabels or GetPackageLabel.

UploadFileName
String

This contains the name of file to be uploaded to FedEx.

Constructors

public UploadDocumentDetail();



 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0