Get a process list
Get a process
Create a process run
Process run list of a process
Data steps of a process
Lists all processes the user has access to. The caller can supply filters to adjust the results.
GET /api/v1/processes
This request does not have any path parameters.
| Name | Type | Description |
|---|---|---|
| name | string |
Filters the results by the process name. |
| dateCreatedStart | string |
The filter to return processes with dateCreated parameter older than dateCreatedStart. |
| dateCreatedEnd | string |
The filter to return processes with dateCreated parameter earlier than dateCreatedEnd. |
The request body must be empty.
The successful response contains an array of instances of Process List Item.
The error response contains an Error.
Request
curl https://app.solvexia.com/api/v1/processes -X GET -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"With query parameters
curl https://app.solvexia.com/api/v1/processes?name=sales&dateCreatedStart=2020-07-28T00:28:10.677Z -X GET -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
[
{
"id": "p-1234",
"name": "Weekly CFO Summary v2"
},
{
"id": "p-234987",
"name": "Sales reconciliation"
}
]Returns a process at a given id.
GET /v1/processes/{processId}
| Name | Type | Description |
|---|---|---|
| processId | string |
The id of a process to request. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an instance of a Process.
The error response contains an Error.
Request
curl https://app.solvexia.com/api/v1/processes/p-114273 -X GET -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
{
"id": "p-114273",
"name": "processapitest",
"alertEmailAddress": "",
"alertSMS": "",
"availableToSubscriber": false,
"runsAvailableToSubscriber": false,
"description": "Description here",
"lastModifiedBy": "usa.john.adams",
"dateModified": "2020-06-15T02:21:35.1500000",
"dateCreated": "2020-06-15T02:21:32.2300000"
}Creates a process run of a process, returning the newly created process run. The process run itself is created, but not started.
POST /v1/processes/{processId}/processruns
| Name | Type | Description |
|---|---|---|
| processId | string |
The process id to create a process run from. |
The query parameters are not expected.
The request body is optional. When supplied, it must be in the following format. Run name is prefixed with given "namePrefix"
{
"namePrefix": string
}
The successful response contains an instance of a Process Run.
The error response contains an Error.
Request
curl "https:///app.solvexia.com/api/v1/processes/p-114273/processruns" -X POST -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
{
"id": "pr-114283",
"name": "processapitest : run #2",
"process": "p-114273",
"alertEmailAddress": "",
"alertSMS": "",
"description": "Description here",
"lastModifiedBy": "usa.john.adams",
"dateModified": "2020-06-17T04:55:54.5430000",
"dateCreated": "2020-06-17T04:55:54.5430000"
}Returns a list of process runs for a process.
GET /v1/processes/{processId}/processruns
| Name | Type | Description |
|---|---|---|
| processId | string |
The process id to get a list of process runs for a process. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an array of instances Process Run List Item.
The error response contains an Error.
Request
curl "https:///app.solvexia.com/api/v1/processes/p-114273/processruns" -X GET -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
[
{
"id": "pr-1234"
, "name": "Weekly CFO Summary v2: Run #32"
}
, {
"id": "pr-1235"
, "name": "Weekly CFO Summary v2: Run #33"
}
]Returns a list of data steps of a process.
GET /v1/processes/{processId}/steps
| Name | Type | Description |
|---|---|---|
| processId | string |
The process id to get a list of data steps for. |
The query parameters are not expected.
The request body must be empty.
The successful response contains an array of instances of Data Step.
The error response contains an Error.
Request
curl "https:///app.solvexia.com/api/v1/processes/p-114273/steps" -X GET -H "Authorization: Bearer syPHeMY5H--kdRtfpoXTgYFF7LHgVOhIjOQ5QkIvSD68VZvc2_uAew.P07tEVThD5SqNCV_tFwbAg"Response
[
{
"isEnabled": true,
"stepOrder": "1.1",
"id": "ds-114274",
"name": "New data step"
},
{
"isEnabled": true,
"stepOrder": "1.2",
"id": "ds-114275",
"name": "New data step 2"
}
]