Pricefx REST API Reference
- Copy Roles
The Pricefx Backend API
Request
Deletes a Business Role. The general datasource /delete operation (/delete/BR) should NOT be used for Business Role object as this special command (/accountmanager.deletebusinessrole) also performs a cleanup of related objects (objects that have this business role assigned).
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.deletebusinessrole
- URL:https://companynode.pricefx.com/pricefx/companypartition/accountmanager.deletebusinessrole
- 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.deletebusinessrole \
-H 'Content-Type: application/json' \
-d '{
"data": {
"typedId": "53.BR"
}
}'{ "response": { "node": "string", "data": [ … ], "status": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.copyroles
- URL:https://companynode.pricefx.com/pricefx/companypartition/accountmanager.copyroles
- 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.copyroles \
-H 'Content-Type: application/json' \
-d '{
"data": {
"from": "2147490696.U",
"to": [
"2147490806.U"
]
}
}'{ "response": { "node": "string", "data": null, "status": 0 } }
Request
Generates and returns a non-expiring JSON Web Token for the authenticated user. Allows to restrict the scope of the token by a list of permissions. Used for integration purposes.
Information: The request header must contain real credentials (i.e. not just a session cookie).
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/accountmanager.getjsonwebtoken
- URL:https://companynode.pricefx.com/pricefx/companypartition/accountmanager.getjsonwebtoken
- 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.getjsonwebtoken \
-H 'Content-Type: application/json' \
-d '{
"data": {
"permissions": [
"CUSTOMER_ADD",
"CUSTOMER_FETCH"
]
}
}'{ "response": { "node": "string", "csrfToken": "string", "data": [ … ], "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