Location
Create a site
Create a new site under the site group.
post/locations/site
Request body
parent_idinteger
The parent site group ID
namestring required
The site name
country_codeinteger required
The site country code. Get the list of country codes from /countries XAPI.
latitudenumber double
The latitude coordinate for the site
longitudenumber double
The longitude coordinate for the site
Response
OK
idinteger required
The unique identifier
create_timestring date-time required
The create time in UTC (ISO 8601 format)
update_timestring date-time required
The last update time in UTC (ISO 8601 format)
org_idinteger
The organization identifier, valid when enabling HIQ feature
parent_idinteger
The parent site group ID
namestring required
The site name
unique_namestring required
The site unique name
typestring required
The location type
country_codeinteger required
The country code for the site
created_byinteger
The user ID used to create the site
latitudenumber double
The latitude coordinate for the site
longitudenumber double
The longitude coordinate for the site