Skip to content

createPointOfInterest

Mutation

Creates a new PointOfInterest.

Response

Returns PointOfInterest

Arguments

NameTypeDescription
pointOfInterestCreatePointOfInterestInput!

Arguments to create a new point of interest.

Example

mutation createPointOfInterest(
$pointOfInterest: CreatePointOfInterestInput!
) {
createPointOfInterest(
pointOfInterest: $pointOfInterest
) {
id
site {
id
name
timezone
position {
type
coordinates
}
polygon {
type
coordinates
}
devices {
id
uuid
externalId
name
enabled
address
frameRate
transcoderId
lastHeartbeat
}
pointsOfInterest {
id
name
metadata
}
geofences {
id
name
labels
active
}
facilities {
id
name
metadata
}
}
name
position {
type
coordinates
crs {
type
properties
}
}
devices {
id
uuid
externalId
name
enabled
address
frameRate
position {
type
coordinates
}
dataSource {
id
name
type
labels
}
site {
id
name
timezone
}
transcoderId
calibrations {
id
timestamp
precomputeAt
}
pointOfInterest {
id
name
metadata
}
lastHeartbeat
}
geofences {
id
name
labels
site {
id
name
timezone
}
pointOfInterest {
id
name
metadata
}
bounds {
height
}
active
}
metadata
}
}