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.
updatePrecincts

put

updatePrecincts

Allow an existing Precinct POI to be updated through the use of a unique identifier. The acronym for the unique identifier is uuid. This uuid is created when you submit a content. If you have not documented the uuid, you can fetch it by using searchPrecinctsByKeyword API.

Resource URL

https://tih-api.stb.gov.sg/content /v1.1/admin/precincts/{uuid}

Query Parameters

Name Values Description
language

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

Body Parameters

Name Values Description
body
(required)

Example

JSON which holds all the properties of the Precinct to be updated.

uuid Attribute used to uniquely identify a Precinct. Max: 255 characters null true

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

Precincts

Working...