---
title: "List trips"
method: POST
path: "/v2/list-organisation-trips"
tags: ["Trips"]
deprecated: true
---

# List trips

`POST /v2/list-organisation-trips`

> **Deprecated.**

Retrieves the list of trips associated with an organization.
{% admonition type="warning" name="Deprecation notice" %}
The **List Trips** `/v2/list-organisation-trips` endpoint has been deprecated.
Use the new **List trip summaries for a company** `/v3/trips/companies/{companyId}/list` endpoint instead.
{% /admonition %}

## Request body

- ListOrganisationTripsRequest — Request for giving trips and associated Pnr's for a certain organisation that are updated after a certain time
  - `organizationId` OrganizationId, required — Organization id for traveler.
    - `id` string, required
  - `updatedAt` DateTimeOffset — ISO8601 UTC Date Time
    - `iso8601` string, required
  - `pnrType` 'AIR' | 'CAR' | 'RAIL' | 'HOTEL' | 'LIMO' | 'ALL', required — Type of PNR
  - `customFieldIds` CustomFieldId[] — List of custom field IDs to filter. This field is not in use and has been deprecated.
    - `type` 'QUESTION' | 'MEETING' | 'BUDGET' | 'BREX_TOKEN', required — The type of custom field.
    - `externalId` string, required — Meeting id or budget id based on custom field type.

## Response `200`

OK

- ListOrganisationTripsResponse — Gives Trips and associated Pnr's for a certain organisation that are updated after a certain time
  - `trips` OrgTripInfo[]
    - `tripId` string, required — Spotnana trip ID
    - `pnrInfos` PnrInfo[], required — Pnr Info for the organisation trips
      - `pnrId` string, required — Pnr ID
      - `customFields` CustomField[]
        - `id` string, required — Meeting id or budget id based on custom field type.
        - `type` 'QUESTION' | 'MEETING' | 'BUDGET' | 'BREX_TOKEN', required — The type of custom field.
        - `description` string, required — Description of the custom Field
    - `tripName` string — Trip Name
    - `tripDescription` string — Trip Description
    - `applicationId` string, uuid — Application used while creating trip.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — The specified resource was not found.

---

[API](https://skmtc.net/spotnana/apis/trip-api.md) · [All operations](https://skmtc.net/spotnana/apis/trip-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/trip-api/revisions/ccddd94cdc01/schema)
