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:
| ||||||||||||
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();