Workflow status times API

This API endpoint should be treated carefully as it could allow you to create invalid status transition times. It requires activation on the account. Please contact support@aha.io to request access.

If you are looking to only list the workflow status history on a record, you can do so like this:
`/api/v1/<your-record-type>?fields=reference_num,workflow_status_times`

Update a workflow status time

PUT /api/v1/workflow_status_times/:id

Parameters
NameDescription
workflow_status_id *

Numeric ID of the workflow status

started_at

UTC timestamp (in ISO8601 format) when the record entered this status

ended_at

UTC timestamp (in ISO8601 format) when the record left this status. Null if still in this status

Example request

PUT /api/v1/workflow_status_times/6776834763838348078

Example CURL command

curl "https://company.aha.io/api/v1/workflow_status_times/6776834763838348078" -d '{"workflow_status_time":{"started_at":"2019-01-01T00:00:00Z","ended_at":"2019-01-01T00:00:00Z"}}' -X PUT \
	-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body