Create Location
sia_create_locationCreate a new location by specifying its name, location type ID, and GeoJSON coordinates.
Instructions
Create a new location (e.g. assembly point) in the SIA LocationService.
Args:
name (string): Display name
description (string, optional): Notes
locationType_ID (string): UUID of the location type
geolocation_geojson (string): GeoJSON Point string, e.g. '{"type":"Point","coordinates":[lng, lat]}'
Returns: Created Location object with ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No | ||
| locationType_ID | Yes | ||
| geolocation_geojson | Yes | GeoJSON Point string, e.g. '{"type":"Point","coordinates":[lng,lat]}' |