Pricefx REST API Reference
- List Accrual Records
The Pricefx Backend API
Request
The Revoke action is available only for approved records. This action is useful when the Compensation Record was approved in Pricefx, integration did not happen yet and there is nothing to reverse in ERP. When this action is used, the record changes its status to Revoked.
The Administer Compensation Records user role is needed to perform the Revoke action.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/compensationrecord.revoke/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/compensationrecord.revoke/{typedId}
- 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/compensationrecord.revoke/{typedId}'{ "response": { "node": "string", "data": null, "status": 0, "startRow": 0, "endRow": 0 } }
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/fetch/COAR
- URL:https://companynode.pricefx.com/pricefx/companypartition/fetch/COAR
- 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/fetch/COAR \
-H 'Content-Type: application/json' \
-d '{
"endRow": 300,
"oldValues": null,
"operationType": "fetch",
"startRow": 0,
"textMatchStyle": "exact",
"data": {
"_constructor": "AdvancedCriteria",
"operator": "and",
"criteria": [
{
"fieldName": "compensationRecordUN",
"operator": "equals",
"value": "COR-100"
}
]
}
}'{ "response": { "node": "node1", "startRow": 0, "data": [ … ], "endRow": 1, "totalRows": 1, "status": 0 } }
Request
Sends the template with the specified Compensation document data via the e-signature system (DocuSign) and returns the Compensation object.
- Mock serverhttps://api.pricefx.com/_mock/openapi/reference/pricefx-server_openapi/compensation.createsignature/{typedId}
- URL:https://companynode.pricefx.com/pricefx/companypartition/compensation.createsignature/{typedId}
- 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/compensation.createsignature/123.CO \
-H 'Content-Type: application/json' \
-d '{
"data": {
"templateName": "string",
"customerUserOrEmail": "string",
"customerName": "string",
"note": "string"
}
}'{ "response": { "node": "pricefx-cluster-app-frontend-6bdcf77bcd-9c7tx", "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