latestOpenAPI 3.1.02026-08-06236494759.4 KB
7be21448a2b3
Expense Review Processes
Update Expense Review Process
Be aware that any change made on the steps of an ExpenseReviewProcess configuration is not applied to already existing transactions. If you need to apply the changes to already existing transactions, you can use the Recalculate Expense Review Processes endpoint. Also, the object returned upon update might have a different ID.
put/business/v2/expense-review/processes/{processId}
Path parameters
processIdstring required
The ExpenseReviewProcess ID.
Example: 2d9f6514-4004-4122-b7f2-dcf7e034741c
Request body
Example request
{
"name": "EXPENSE REVIEW PROCESS",
"description": "EXPENSE REVIEW PROCESS DESCRIPTION",
"conditions": [
{
"value": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
]
}
],
"steps": [
{
"step_number": 2,
"reviewer_info": {
"id": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
]
},
"automation_rule": {
"required_info": true,
"amount_condition": {
"amount": 10.25
}
}
}
]
}Response
The result is a single ExpenseReviewProcess.
Example response
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"name": "EXPENSE REVIEW PROCESS",
"description": "EXPENSE REVIEW PROCESS DESCRIPTION",
"steps_count": 2,
"priority": 2,
"conditions": [
{
"value": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
]
}
],
"steps": [
{
"step_number": 2,
"reviewer_info": {
"id": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
]
},
"automation_rule": {
"required_info": true,
"amount_condition": {
"amount": 10.25
}
}
}
]
}