Upload Excel to Import Manager

post/importmanager.upload/{slotId}/{typeCode}/{target}

Uploads an Excel file to a specific import via the upload slot created by /uploadmanager.newuploadslot. Use the optional managerUN query parameter to specify the unique name of the Import Manager.
The maximum file size: 1GB

Securitybasic or X-PriceFx-jwt
Request
path Parameters
typeCode
required
string

Target object type code.

Possible values: "P" "PX"
target
required
string

Provides additional details about the target object, such as specifying a PX name if required.

slotId
required
string

ID of the Upload Slot.

query Parameters
managerUN
string

Unique name of the Import Manager in case you are re-uploading the file.

Request Body schema: multipart/form-data
file
string <binary>
Responses
200

File uploaded successfully.

Response Schema: application/json
object
node
string
Array of objects (ImportManager)
Array
lastUpdateByName
string
createdByName
string
targetObject
string <= 255 characters
typedId
string
approvalDate
string or null <date-time>
approvalRequiredEmailAttachments
Array of any
workflowStatus
string <= 255 characters
Possible values: "DRAFT" "SUBMITTED" "DENIED" "APPROVED" "NO_APPROVAL_REQUIRED" "WITHDRAWN" "INVALIDATED"
lastUpdateDate
string <date-time>
approvalState
string <= 255 characters
Possible values: "NOT_APPROVED" "PARTIALLY_APPROVED" "APPROVED" "AUTO_APPROVED" "DENIED"
targetSpecifics
string or null <= 255 characters
label
string <= 255 characters
version
integer
ownerUN
string <= 255 characters
deniedByName
string or null
object or null
uniqueName
string <= 255 characters
createdBy
integer
submittedByName
string or null <= 255 characters
approvedByName
string or null
workflowFormulaName
string or null <= 255 characters
status
string <= 255 characters
Possible values: "DRAFT" "IN_PROGRESS" "CHANGE_DETECTION" "FINISHED" "ERROR"
createDate
string <date-time>
lastUpdateBy
integer
status
integer
400

Invalid parameters or slot ID not found.

415

Unsupported file type uploaded.

Request samples
Response samples
application/json
{
  • "response": {
    • "node": "pricefx-cluster-app-frontend-b6fcc5bb8-9pmxh",
    • "data": [
      • {
        • "version": 7,
        • "typedId": "2.IM",
        • "uniqueName": "IM-2",
        • "label": "New Import",
        • "ownerUN": "admin",
        • "approvalState": "NOT_APPROVED",
        • "approvalDate": null,
        • "createdByName": "admin",
        • "lastUpdateByName": "admin",
        • "submittedByName": null,
        • "workflowStatus": "DRAFT",
        • "workflowFormulaName": null,
        • "status": "CHANGE_DETECTION",
        • "targetObject": "P",
        • "targetSpecifics": null,
        • "importOptions": null,
        • "deniedByName": null,
        • "approvedByName": null,
        • "approvalRequiredEmailAttachments": [ ],
        • "createDate": "2025-01-24T14:37:45",
        • "createdBy": 2147490696,
        • "lastUpdateDate": "2025-01-24T14:48:56",
        • "lastUpdateBy": 2147490696
        }
      ],
    • "status": 0
    }
}