Docs
Get State Records
GET /procurement-resources/{resourceId}/state-records
GET
/procurement-resources/{resourceId}/state-recordsReturns the resource-state timeline the rules engine computed for a need: each state with its start, end and the rule that triggered it. Requires EventBasicAccess permission on the event.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceId | uuid | Required |
Response
Type: StateRecordSummary[]
StateRecordSummary
| Field | Type | Description |
|---|---|---|
| state | StateRecordSummaryStateRef | |
| startDateTime | date-time | |
| endDateTime | date-time| null | |
| triggeredByRuleName | string| null |
StateRecordSummaryStateRef
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |