createPrecincts

post

createPrecincts

Allow the creation of a Precinct POI. To create successfully, the following input parameters are mandatory: name, tags, description, body, organisation name, perimeter, and recommended dwell time (in hours).

Previous version: v1

Resource URL

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

Query Parameters

Name Values Description
language

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

Body Parameters

Name Values Description
precincts
(required)

Example

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

Request Attributes

Parameter Name Type Max Length Description Example

Response Error Details

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

Resource Summary

Security Content Type Category

application/json

Precincts

Working...