List Product Extension Objects

post/productmanager.fetch/*/PX/{ProductMasterExtensionName}

Retrieves records from the Product Extensions table.

Export the table to the Excel file (XLSX), CSV, or JSON using the output URL query parameter. When exporting to the file, specify fields (within the resultFields property) you want to include in the output table.

Example request body for the export action:

{
   "data":{
      "criteria":[

      ],
      "operator":"and"
   },
   "resultFields":[
      "sku",
      "lastUpdateDate",
      "attribute1"
   ],
   "valueFields":[

   ]
}

You can choose fields to be returned in the response by employing the resultFields or valueFields filter:
resultFields: returns key-value pairs as objects. This is the more friendly response compared to valueFields but the server fetches all fields from the database in the backend which might result in a slower performance. See the List Products' listProductsResponseExample_resultFields response example.

valueFields: returns just an array of values. Use this option if a better performance is required. See the List Products' listProductsResponseExample_valueFields response example.

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

Enter the name of Product Extension you want to retrieve objects from. You can find the name in Administration > Configuration > Master Data > Product Master Extension or using the /configurationmanager.get/productextension endpoint.

query Parameters
output
string

Specifies the format of the output file.

Possible values: "json" "xls" "csv"
Example: output=xls
useColumnNames
string
Default: "true"

Set to false to retrieve the table with labels (as used in the database) instead of names in the table header.

Possible values: "true" "false"
Example: useColumnNames=false
Request Body schema: application/json
endRow
number
oldValues
any
operationType
string non-empty
startRow
number
textMatchStyle
string non-empty
object
_constructor
string non-empty
operator
string non-empty
Array of objects non-empty unique
Array (non-empty)
fieldName
string non-empty
operator
string non-empty
value
string non-empty
sortBy
Array of objects
Responses
200

A Product Extension response.

Response Schema: application/json
object
node
string non-empty
Array of PX3 (object) or PX6 (object) or PX8 (object) or PX10 (object) or PX20 (object) or PX30 (object) or PX50 (object) non-empty unique
Array (non-empty)
Any of:

The type code is PX3.

typedId
string
createdBy
integer
lastUpdateDate
string <date-time>
name
string <= 255 characters
attribute1
any
attribute3
any
attribute2
any
sku
string <= 255 characters
version
integer
createDate
string <date-time>
lastUpdateBy
integer
endRow
number
totalRows
number
status
number
Request samples
application/json
{
  • "endRow": 0,
  • "oldValues": null,
  • "operationType": "string",
  • "startRow": 0,
  • "textMatchStyle": "string",
  • "data": {
    • "_constructor": "string",
    • "operator": "string",
    • "criteria": [
      • {
        • "fieldName": "string",
        • "operator": "string",
        • "value": "string"
        }
      ]
    },
  • "sortBy": [
    • { }
    ]
}
Response samples
application/json
{
  • "response": {
    • "node": "e2e-staging-node",
    • "data": [
      • {
        • "version": 1,
        • "typedId": "20.PX8",
        • "name": "pcost",
        • "sku": "11111",
        • "createDate": "2021-11-04T17:01:34",
        • "createdBy": 2147490696,
        • "lastUpdateDate": "2021-11-04T17:02:34",
        • "lastUpdateBy": 2147490696,
        • "attribute1": "100",
        • "attribute2": null,
        • "attribute3": null,
        • "attribute4": null,
        • "attribute5": null,
        • "attribute6": null,
        • "attribute7": null,
        • "attribute8": null
        }
      ],
    • "endRow": 1,
    • "totalRows": 1,
    • "status": 0
    }
}