file_upload_job

This class provides RESTful services to display summary and detail for a file upload job. It uses the FileUploadJob noun.

Handler Class:

com.ibm.commerce.rest.fileupload.handler.FileUploadJobHandler

Method Summary

HTTP MethodPathDescription
GET/store/{storeId}/file_upload_job?q={q}Finds file upload jobs by a query. See each query for details on input and output.
GET/store/{storeId}/file_upload_job?q=byNumberOfDaysAndUploadTypeFinds the file upload jobs in recent specified days by upload type.
GET/store/{storeId}/file_upload_job?q=byUploadTypeGets file upload jobs by file upload job type.
GET/store/{storeId}/file_upload_job/{fileUploadJobId}Finds a file upload job by its ID.

Method Details

GET /store/{storeId}/file_upload_job?q={q}

Finds file upload jobs by a query. See each query for details on input and output.

Handler Method:

findByQuery

Secure Call Mandatory:

false

Partial Authentication Allowed:

false

Parameters:
NameDescriptionParameter TypeData TypeRequiredAllow Multiple
storeIdThe store identifier.pathstringtrueN/A
qThe query name.querystringtruefalse
HTTP Status Codes:
HTTP Status CodeDescription
200The requested completed successfully.
400Bad request. Some of the inputs provided to the request aren't valid.
401Not authenticated. The user session isn't valid.
403The user isn't authorized to perform the specified request.
500Internal server error. Additional details will be contained on the server logs.

GET /store/{storeId}/file_upload_job?q=byNumberOfDaysAndUploadType

Finds the file upload jobs in recent specified days by upload type.

Handler Method:

byNumberOfDaysAndUploadType

Secure Call Mandatory:

false

Partial Authentication Allowed:

false

Parameters:
NameDescriptionParameter TypeData TypeRequiredAllow Multiple
storeIdThe store identifier.pathstringtrueN/A
qThe query name.querystringtruefalse
numberOfDaysReturns the file upload jobs loaded later than the specified number days from current datequerystringtruefalse
uploadTypeReturns the file upload jobs of the specified upload type, for example, RequisitionListUploadquerystringtruefalse
HTTP Status Codes:
HTTP Status CodeDescription
200The requested completed successfully.
400Bad request. Some of the inputs provided to the request aren't valid.
401Not authenticated. The user session isn't valid.
403The user isn't authorized to perform the specified request.
500Internal server error. Additional details will be contained on the server logs.
Response Data Type:

file_upload_job-IBM_Store_Summary

GET /store/{storeId}/file_upload_job?q=byUploadType

Gets file upload jobs by file upload job type.

Handler Method:

byUploadType

Secure Call Mandatory:

false

Partial Authentication Allowed:

false

Parameters:
NameDescriptionParameter TypeData TypeRequiredAllow Multiple
storeIdThe store identifier.pathstringtrueN/A
qThe query name.querystringtruefalse
uploadTypeReturns the file upload jobs of the specified upload type, for example, RequisitionListUploadquerystringtruefalse
HTTP Status Codes:
HTTP Status CodeDescription
200The requested completed successfully.
400Bad request. Some of the inputs provided to the request aren't valid.
401Not authenticated. The user session isn't valid.
403The user isn't authorized to perform the specified request.
500Internal server error. Additional details will be contained on the server logs.
Response Data Type:

file_upload_job-IBM_Store_Summary

GET /store/{storeId}/file_upload_job/{fileUploadJobId}

Finds a file upload job by its ID.

Handler Method:

findByFileUploadJobId

Secure Call Mandatory:

false

Partial Authentication Allowed:

false

Parameters:
NameDescriptionParameter TypeData TypeRequiredAllow Multiple
storeIdThe store identifier.pathstringtrueN/A
fileUploadJobIdThe file upload job ID.pathstringtrueN/A
HTTP Status Codes:
HTTP Status CodeDescription
200The requested completed successfully.
400Bad request. Some of the inputs provided to the request aren't valid.
401Not authenticated. The user session isn't valid.
403The user isn't authorized to perform the specified request.
404The specified resource couldn't be found.
500Internal server error. Additional details will be contained on the server logs.
Response Data Type:

file_upload_job-IBM_Store_Summary

Data Type Details

file_upload_job-FileInfo

Properties:
NameData TypeRequired
filePathstringfalse
fileNamestringtrue
fileSizestringfalse
fileEncodingstringfalse

file_upload_job-FileProperty

Properties:
NameData TypeRequired
valuestringfalse

file_upload_job-IBM_Store_Summary

Properties:
NameData TypeRequired
recordSetTotalstringfalse
recordSetCompletestringfalse
recordSetStartNumberstringfalse
resultListfile_upload_job-IBM_Store_Summary_item arrayfalse
recordSetCountstringfalse

file_upload_job-IBM_Store_Summary_item

Properties:
NameData TypeRequired
userDataFieldfile_upload_job-IBM_Store_Summary_item.userDataField arrayfalse
uploadTypestringfalse
fileUploadJobIdstringfalse
processFilefile_upload_job-IBM_Store_Summary_item.processFile arrayfalse
storeIdstringfalse
uploadFilestringfalse

file_upload_job-IBM_Store_Summary_item.processFile

Properties:
NameData TypeRequired
statusstringfalse
endTimestringfalse
startTimestringfalse

file_upload_job-IBM_Store_Summary_item.userDataField

Properties:
NameData TypeRequired
valuestringfalse
keystringtrue

file_upload_job-UploadFile

Properties:
NameData TypeRequired
propertiesfile_upload_job-FileProperty arrayfalse
userNamestringfalse
fileInfostringfalse
uploadTimestringfalse