# StatusActions

> Status- en actie-inrichting

Subject: Sales orders.

Status- en actie-inrichting

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/StatusActions` |
| Key | `action`, `administration_id`, `status`, `type` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS |
| Write licenses | PRODUCTIE, VERKOOP, INKOOP, BEHEER |
| Scopes | FLEDGE_PORTAL, FLEDGE_TERMINAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/StatusActions?$filter=administration_id eq 1&$select=action,status,type,action_condition&$top=50
GET https://odata-api.fledge.nl/v2-8/StatusActions(action={action},administration_id=1,status={status},type={type})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `action` (key) | Int32, not null | Actie |
| `status` (key) | Int32, not null | Status |
| `type` (key) | Int32, not null | Type order: Ordertype |
| `action_condition` | Int32 | Voorwaarde |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)

---

Source: https://docs.fledge.nl/en/api/reference/StatusActions
