TIH API v2 Updates - A new version for all TIH APIs is now available and its older API versions will be deprecated in 2023. Click on the "News" tab for more information.
createWalkingTrail

post

createWalkingTrail

Allow the creation of a Walking Trail POI. To create successfully, the following input parameters are mandatory: name, type, tags, description and body.

Resource URL

https://tih-api.stb.gov.sg/content /v1.1/admin/walking-trail

Query Parameters

Name Values Description
language

Supported language [en | zh-cn | zh-tw | ja | ko].
Validation: acceptable language code

Body Parameters

Name Values Description
WalkingTrail
(required)

Example

JSON which holds all the properties of the Walking Trail to be created.

Request Attributes

Parameter Name Type Max Length Description Example

Response Error Details

HTTP Code Description
400 Bad Request
401 Unauthorized
404 Not found
409 Conflict
410 XSS Threat Detected

Resource Summary

Security Content Type Category

application/json

Walking Trails

Working...