Update Itinerary

put

Update Itinerary

Allow authorised client applications to allow the user to update their itinerary.

Resource URL

https://api.stb.gov.sg/services/itineraries/v2 /plans/{itinerary-uuid}

Header Parameters

Name Values Description
Content-Type

Format of the request body sent. Accepts only application/json.

X-Content-Language

Language of Places of Interest retrieved for the itinerary.

Body Parameters

Name Values Description
UpdateItineraryRequest
(required)

Request Attributes

Parameter Name Type Max Length Description Example

Response Error Details

HTTP Code Description
400 Bad Request — Subcode example: misisngMandatoryAuthorization
401 Unauthorized — Subcode examples: invalidAccessToken, expiredAccessToken
403 Forbidden — Subcode examples: permissionDenied, noValidUserSession
404 Not Found — Subcode examples: uriNotFound
405 Method Not Allowed — Subcode examples: invalidHTTPMethod
406 Not Acceptable — Subcode examples: invalidAcceptHeader
414 URI Too Long — Subcode examples: uriExceedsLengthLimit
415 Unsupported Media Type — Subcode examples: invalidContentTypeHeader
422 Unprocessable Entity — Subcode examples: incorrectFormatInStartDate
500 Internal Server Error — Subcode examples: internalServerError

Resource Summary

Security Content Type Category

application/json

Itinerary Planner APIs

Working...