Description
Returns the list of configured steps of an organization.
The current user must have administrator rights.
URL
https://api.skriv.com/v1/organization/getSteps/orgId
| Field | Type | Description |
|---|---|---|
| orgId | int | ID of the requested organization |
Response
List of steps (see below).
Step
| Field | Type | Description |
|---|---|---|
| id | int | Step ID |
| dateCreation | datetime | Creation date |
| order | int | Order of the step in the list of steps (starting to zero). |
| name | string | Name |
| defaultDuration | int | Default duration (in days) |
| assignedRoleId | int | Optional. Assigned role ID |
| assignedRoleName | string | Optional. Assigned role name |
| assignedUserId | int | Optional. Assigned user ID |
| assignedUserName | string | Optional. Assigned user name |
| validatorRoleId | int | Optional. Validator role ID |
| validatorRoleName | string | Optional. Validator role name |
| validatorUserId | int | Optional. Validator user ID |
| validatorUserName | string | Optional. Validator user name |