Skip to content

Create transport certificate

Creates a new transport certificate.

Note: This endpoint requires a user-scoped OAuth token. A pure client_credentials token without user context will be rejected. The treating user is automatically derived from the token and cannot be set manually.

Request

POST /api/oauth/v2/resource/transports

HeaderValue
AuthorizationBearer {access_token}
Content-Typeapplication/json

Body parameters

FieldTypeRequiredDescription
customerUuidstringYesUUID of the assigned customer
diagnosestringNoDiagnosis (ICD code or free text)
publicTransportbooleanNoPublic transport
therapyPlaceWishbooleanNoPreferred therapy location requested
transportWasRequiredbooleanNoTransport was medically necessary
transportWasRequiredReasonstringNoReason for necessity
escortbooleanNoEscort required
escortReasonstringNoReason for escort
paramedicbooleanNoParamedic required
paramedicReasonstringNoReason for paramedic
printedbooleanNoTransport certificate has been printed
datestringNoDate of the transport certificate (YYYY-MM-DD, default: today)

Response

Success (201 Created)

json
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "diagnose": "M54.5",
    "publicTransport": false,
    "therapyPlaceWish": true,
    "transportWasRequired": true,
    "transportWasRequiredReason": "Patient unable to walk",
    "escort": true,
    "escortReason": "Escort medically required",
    "paramedic": false,
    "paramedicReason": null,
    "printed": false,
    "date": "2026-06-09",
    "customer": {
      "id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
      "firstName": "Anna",
      "lastName": "Muster"
    },
    "treatingUser": {
      "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "firstName": "Dr. Maria",
      "lastName": "Huber"
    }
  }
}

Response fields

See Get transport certificate for the full field description.

Beispiele
bash
curl -X POST "https://my.offisy.at/api/oauth/v2/resource/transports" \
  -H "Authorization: Bearer {access_token}" \
  -H "Content-Type: application/json" \
  -d '{
    "customerUuid": "b2c3d4e5-f6a7-8901-bcde-f01234567890",
    "diagnose": "beispiel",
    "publicTransport": "beispiel",
    "therapyPlaceWish": "beispiel",
    "transportWasRequired": "beispiel",
    "transportWasRequiredReason": "beispiel",
    "escort": "beispiel",
    "escortReason": "beispiel",
    "paramedic": "beispiel",
    "paramedicReason": "beispiel",
    "printed": "beispiel",
    "date": "2026-04-15T10:00:00"
  }'
Parameter
Zuerst Token anfordern

Possible errors

StatusCodeDescription
400validation_errorInvalid request data (e.g. customerUuid missing)
401invalid_clientInvalid or missing access token
403insufficient_scopeScope medicals not present
404not_foundCustomer not found

Offisy GmbH