Skip to main content
POST
Approve Route Approval

Authorizations

Authorization
string
header
required

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

Path Parameters

routeApprovalId
string<uuid>
required

Route approval identifier

Example:

"0197f150-40d6-7c1a-bdf2-c5884e07d401"

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.

Response

OK

Route approval

routeApprovalId
string<uuid>
required

Route approval identifier

Example:

"0197f150-40d6-7c1a-bdf2-c5884e07d401"

cooperativeId
string<uuid>
required

Cooperative identifier

Example:

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

routeId
string<uuid>
required

Route identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

requestedBy
string<uuid>
required

Requesting user identifier

Example:

"0197a7f6-2c4d-74ae-b89b-9d36d9c341f2"

status
enum<string>
required

Route approval status

Available options:
PENDING,
APPROVED,
REJECTED
Example:

"PENDING"

createdAt
string<date-time>
required

Created at

Example:

"2026-01-01T00:00:00.000Z"

requestedAt
string<date-time>
required

Requested at

Example:

"2026-01-01T00:00:00.000Z"

updatedAt
string<date-time>
required

Updated at

Example:

"2026-01-01T00:00:00.000Z"

transportOperatorId
string<uuid> | null

Transport operator identifier

Example:

null

reviewedBy
string<uuid> | null

Reviewing user identifier

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

reviewedAt
string<date-time> | null

Reviewed at

Example:

null