Pricefx REST API Reference
The Pricefx Backend API
Request
Retrieves a list of users.
Information: If the authenticated user does not have the explicit
USER_FETCHpermission, the fields are reduced to a minimum.
The number of the end row that defines the end of the result set's returned objects. Use this parameter if you want to implement paging for results.
The number of the first row that defines the start of the result set's returned objects. Use this parameter if you want to implement paging for results.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.fetchusers
- URL:https://companynode.pricefx.com/pricefx/companypartition/accountmanager.fetchusers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.fetchusers \
-H 'Content-Type: application/json' \
-d '{
"endRow": 300,
"oldValues": null,
"operationType": "fetch",
"startRow": 0,
"textMatchStyle": "exact",
"data": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "workflowEmailingActivated",
"operator": "notEqual",
"value": true
}
]
}
}'{ "response": { "node": "string", "startRow": 0, "data": [ … ], "endRow": 0, "totalRows": 0, "status": 0 } }
Request
Changes a specified user's password.
The authenticated user needs the ADMIN (including USERADMIN) permissions to perform this action. To change your own password, use the /accountmanager.changepassword endpoint instead.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.changepassword/{userId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/accountmanager.changepassword/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.changepassword/2147490806 \
-H 'Content-Type: application/json' \
-d '{
"data": {
"newPassword": "eqweqweqwQW112131FF*"
}
}'{ "response": { "node": "string", "data": null, "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.changepassword
- URL:https://companynode.pricefx.com/pricefx/companypartition/accountmanager.changepassword
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.changepassword \
-H 'Content-Type: application/json' \
-d '{
"data": {
"newPassword": "eqweqweqwQW112131FF*",
"oldPassword": "12345678pwdd9876543"
}
}'{ "response": { "node": "string", "data": null, "status": 0 } }
See the Key-Value Database Storage Knowledge Base article for more details.
Here you can find all fields of the corresponding entity (represented by the type code).
Use the /metadata.describe endpoint to find out the correct data type of the field that is used in your partition.
Comments