---
title: "Create action"
method: POST
path: "/actions"
tags: ["Actions"]
---

# Create action

`POST /actions`

Creates action for specified journey

## Headers

- `X-Request-ID` unknown

## Request body

- CreateActionRequestDto
  - `journeyId` integer
  - `type` 'DRIVER_DELAYED' | 'TRAVELLER_NO_SHOW' | 'ADDITIONAL_PROOF_TRAVELLER_NO_SHOW' | 'DRIVER_LEFT_PICKUP'
  - `position` GeoPositionDto
    - `lat` number, double
    - `lng` number, double

## Response `200`

OK

- ActionDto
  - `id` integer
  - `journeyId` integer
  - `created` string, date-time
  - `updated` string, date-time
  - `type` 'DRIVER_DELAYED' | 'TRAVELLER_NO_SHOW' | 'ADDITIONAL_PROOF_TRAVELLER_NO_SHOW' | 'DRIVER_LEFT_PICKUP'
  - `attachmentFileIds` integer[]

---

[API](https://skmtc.net/transferz/apis/authentication-api.md) · [All operations](https://skmtc.net/transferz/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/transferz/authentication-api/versions/73249fb480f2/schema)
