v1

latestOpenAPI 3.0.32026-07-246304082.0 MB
locations

Create a new location

post/api/v3/projects/{project_id}/locations

Path parameters

project_idstring uuid required

ID of the project this entity belongs to

Headers

Fieldwire-Versionstring date required

Specifies the version of the API to talk to

Request body

idstring uuid

ID of the entity

creator_user_idinteger required

ID of the user who created this entity

last_editor_user_idinteger required

ID of the user who most recently edited this entity

location_idstring uuid nullable

ID of the location this lives under (used for nesting locations). Cannot be changed after creation.

namestring required

Name of the location. Must be unique between locations under the same parent.

device_created_atstring date-time

Time when the device created the entity

device_updated_atstring date-time

Time when the device last updated the entity

Response

Successful response

idstring uuid required

ID of the entity

creator_user_idinteger required

ID of the user who created this entity

last_editor_user_idinteger required

ID of the user who most recently edited this entity

location_idstring uuid nullable

ID of the location this lives under (used for nesting locations). Cannot be changed after creation.

project_idstring uuid required

ID of the project this entity belongs to

namestring required

Name of the location. Must be unique between locations under the same parent.

created_atstring date-time required

Time when the server created the entity

deleted_atstring date-time nullable

Time the server deleted the entity

device_created_atstring date-time required

Time when the device created the entity

device_updated_atstring date-time required

Time when the device last updated the entity

resolved_conflictboolean required

Specifies if PUT/PATCH request was rejected - do not store this field!

updated_atstring date-time required

Time when the server last updated the entity