public interface IJetAPIBulkProductUpload extends IJetAPI
Modifier and Type | Method and Description |
---|---|
FileIdRec |
getJetFileId(String fileId)
Query the status of an uploaded file..
|
BulkUploadAuthRec |
getUploadToken()
Retrieve an upload token for uploading a bulk feed of some sort.
|
IJetAPIResponse |
sendAuthorizedFile(String url,
PostFile file)
Once you receive the url to upload to from getUploadToken(), feed that
into the url argument in this method along with the file to upload..
|
IJetAPIResponse |
sendGetJetFileId(String fileId)
Query the status of an uploaded file..
|
IJetAPIResponse |
sendGetUploadToken()
Retrieve a token for uploading some file.
|
IJetAPIResponse |
sendPostUploadedFiles(String uploadUrl,
String filename,
BulkUploadFileType uploadType)
Tell jet that a file has been uploaded and to start processing.
|
get, getHeaderBuilder, getJSONHeaderBuilder, getPlainHeaderBuilder, post, post, post, put, put, put, setErrorHandler
FileIdRec getJetFileId(String fileId) throws APIException, JetException
fileId
- Jet File idAPIException
JetException
BulkUploadAuthRec getUploadToken() throws APIException, JetException
APIException
JetException
IJetAPIResponse sendAuthorizedFile(String url, PostFile file) throws APIException, JetException
url
- Url from getUploadToken()APIException
JetException
IJetAPIResponse sendGetJetFileId(String fileId) throws APIException, JetException
fileId
- Jet File idAPIException
JetException
IJetAPIResponse sendGetUploadToken() throws APIException, JetException
APIException
JetException
IJetAPIResponse sendPostUploadedFiles(String uploadUrl, String filename, BulkUploadFileType uploadType) throws APIException, JetException
file
- File to sendfilename
- The basename of the local file sent to jet.
If this does not match the name sent via sendAuthorizedFile(), then
jet will say "not found" in the partner portal and nothing will be found.uploadType
- File typeAPIException
JetException
Copyright © 2017. All rights reserved.