Pricefx REST API Reference
Pricefx REST API
/Pricefx API Reference/- Change a Current User Password
List Users
Change a User Password
Assign a User to a User Group
List User's User Groups
List User's Roles
List User's Business Roles
List Roles of the Business Role
List Groups of the Business Role
Delete a Business Role
Copy Roles
Generate a JWT Token
Generate a JWT Token (time limited)
Assign a Role to Users
Assign a User Group to Users
Assign a Role to a User
Assign a Business Role to a User
Assign a Business Role
Delete a User Group
Copy a User
Assign a Role to a Business Role
Assign a Group to a Business Role
Get a One Time Token
Add a User
Update a User
Delete a User
Get a User Audit Report
Change a Current User Pas...
The Pricefx Backend API
Download OpenAPI description
Overview
URL
Pricefx
Languages
Servers
Mock server
https://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi
URL:
https://{baseUrl}/pricefx/{partition}
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.
Security
basic or X-PriceFx-jwt
- 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
application/json
{ "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
application/json
{ "response": { "node": "string", "data": null, "status": 0 } }
Bodyapplication/json
Set to true to add the user to the User Group. Set false to remove the user from the group.
TypedId of the User Group you want to assign or revoke. Either typedId or uniqeName is required.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.assigngroup/{userId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/accountmanager.assigngroup/{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.assigngroup/{userId}' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"assign": true,
"uniqueName": "PricingManagers",
"typedId": "15666.UG"
}
}'Response
application/json
{ "response": { "node": "string", "csrfToken": "string", "data": null, "status": 0 } }
See the Key-Value Database Storage Knowledge Base article for more details.
Operations
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