---
title: "Update automatic routing objection"
method: PATCH
path: "/benefits/automatic-routing-process/objection"
tags: ["Benefits"]
---

# Update automatic routing objection

`PATCH /benefits/automatic-routing-process/objection`

Update the automatic routing objection and the routes of automatic routing process when an objection is accepted

## Request body

- object
  - `routingId` string, required
  - `objectionStatus` boolean, required
  - `objectionResponse` string, required
  - `routes` object[], required
    - `orderRoute` number, required
    - `routeWay` number, required
    - `distance` number, required
    - `boardingPlace` string, required
    - `destinationPlace` string, required
    - `routeValue` number, required
    - `transportationLine` string, required
    - `duration` string, required — Time duration based on hh:mm:ss format. e.g., 10:10:10
    - `transportType` 'BUS' | 'SUBWAY' | 'TRAIN' | 'BRT' | 'LIGHT_RAIL' | 'MONORAIL' | 'TRAM' | 'VAN' | 'AQUABUS' | 'TROLLEYBUS' | 'TUK_TUK' | 'FERRY' | 'BOAT' | 'CABLE_CAR' | 'CHARTER' | 'ON_FOOT' | 'RIVER_TRANSPORT', required
    - `transportDesc` string

## Response `200`

Successful operation

## Other responses

- `400` — Bad request

---

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