Skip to content
GurtOS

Who would approve this

GET
/business/route
curl --request GET \
--url http://127.0.0.1:7700/api/business/route \
--header 'Authorization: Bearer <token>'

Preview. Where the policy would send a request, without asking one.

text
string

The words of the request, up to 500 characters.

amount
integer

The amount, in US cents.

app
string

The app the request would come from.

asked
string

The id of the person who would ask.

The route.

Media typeapplication/json

Business: where the policy sent a request, and why.

object
rule
required

The policy line that matched, such as Over $10,000 goes to the Controller.

string
to
required

Who it goes to as the policy says it: the Controller, IT, any approver.

string
amountCents
required

The amount the rules and limits were checked against

integer
people
required

The people who could approve it when it was asked.

Array<object>
object
id
string
name
string
why
required

One sentence for people.

string

Example generated

{
"rule": "example",
"to": "example",
"amountCents": 1,
"people": [
{
"id": "example",
"name": "example"
}
],
"why": "example"
}