doSSEFileUploadMultipart

post

/ccadmin/v1/serverExtensions

Do SSE File Upload Multipart. Upload a file using multipart/form-data (not JSON).

Request

Supported Media Types
Form Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : doSSEFileUploadMultipart_response
Type: object
Show Source
Nested Schema : result
Type: object
Indicates the upload result
Show Source
Nested Schema : failedFilesReasons
Type: object
Additional Properties Allowed
Show Source
  • The table of rejection reasons. Can be any of 'UNKNOWN_REASON', 'INVALID_NAME', 'INVALID_EXTENSION', 'VIRUS_DETECTED', 'VIRUS_SCAN_FAILED', 'INVALID_CONTENT', 'INVALID_ENCODING'
Nested Schema : failedImagesReasons
Type: object
Additional Properties Allowed
Show Source
  • The table of rejection reasons. Can be any of 'UNKNOWN_REASON', 'INVALID_NAME', 'INVALID_EXTENSION', 'VIRUS_DETECTED', 'VIRUS_SCAN_FAILED', 'INVALID_CONTENT', 'INVALID_ENCODING'
Nested Schema : fileResults
Type: array
File uploading results.
Show Source
Nested Schema : items
Type: object
The result of uploading one file.
Show Source
Nested Schema : associatedItems
Type: array
The list of URIs for the items this file was associated with.
Show Source
Example Response (application/json)
{
    "result":{
        "unzipped":false,
        "failedImages":0,
        "allImagesFailed":false,
        "failedImagesReasons":{
        },
        "modifiedImages":1,
        "newImages":0,
        "assignedImages":0
    },
    "success":true,
    "links":[
        {
            "rel":"self",
            "href":"/serverExtensions"
        }
    ],
    "token":"ff8eba3a8a2c_16fe"
}
Example Response (description)
Following model is returned when operation succeeds.

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |20306|The filename is invalid|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top