Skip to main content
POST
Reject Transport Operator Route

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transportOperatorRouteId
string<uuid>
required

Transport operator route identifier

Example:

"01980d34-4a94-76ef-b826-5c77dc16ca49"

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Body

application/json

Reject transport operator route payload

rejectionReason
string
required

Rejection reason

Example:

"Route is not eligible for this transport operator"

Response

OK

Transport operator route

transportOperatorRouteId
string<uuid>
required

Transport operator route identifier

Example:

"01980d34-4a94-76ef-b826-5c77dc16ca49"

cooperativeId
string<uuid>
required

Cooperative identifier

Example:

"0197a800-24e6-76a2-90ed-ff0f6fba7b0c"

cooperative
object
required

Cooperative identity

transportOperatorId
string<uuid>
required

Transport operator identifier

Example:

"01980d30-6a3c-7a42-9182-17ad6324d3aa"

transportOperator
object
required

Transport operator identity

routeId
string<uuid>
required

Route identifier

Example:

"0197a80c-4204-7b77-9005-48cc23677587"

route
object
required

Route identity

status
enum<string>
required

Transport operator route status

Available options:
PENDING_APPROVAL,
ACTIVE,
REJECTED,
SUSPENDED,
EXPIRED
Example:

"ACTIVE"

createdAt
string<date-time>
required

Created at

Example:

"2026-07-03T15:35:00.000Z"

updatedAt
string<date-time>
required

Updated at

Example:

"2026-07-03T15:45:00.000Z"

vehicleId
string<uuid> | null

Vehicle identifier requested with the authorization

Example:

"0197a809-3eb8-7eb8-9c4f-8a6c2e7e5b1a"

vehicle
object | null

Vehicle requested with the authorization

approvedBy
string<uuid> | null

Approved by

Example:

null

rejectionReason
string | null

Rejection reason

Example:

null

createdBy
string<uuid> | null

Created by

Example:

null

updatedBy
string<uuid> | null

Updated by

Example:

null

deletedBy
string<uuid> | null

Deleted by

Example:

null

approvedAt
string<date-time> | null

Approved at

Example:

null

deletedAt
string<date-time> | null

Deleted at

Example:

null