ContainerSite
Represents a container site. A container site is a site where one container exists. The container at the container site may change but the container site will remain the same
type ContainerSite {
id: ID!
name: String!
binBar: BinBar
maxWeight(unit: WeightUnit!): Float
size: Float
lastWeight: WeightPost
allWeights(range: DateRangeInput!, window: Window! = HOUR): [WeightPost!]!
serviceLocation: ServiceLocation!
}
Fields
id (ID!)
ID of the container site
name (String!)
Name of the container site
binBar (BinBar)
BinBar linked with the container site which the container site collects data from
maxWeight (Float)
Maximum weight allowed in the container site. This value determines the estimated fullness percentage of the container
size (Float)
Size of the container site in yards. This field is only used to help users keep track of containers
lastWeight (WeightPost)
Last weight measured at the container site
allWeights ([WeightPost!]!)
A list of all weights recorded by the container site.
DateRangeInput and Window are non-optional. The default for Window is hour
Range of time to return all weights recorded
Time in between measurements
serviceLocation (ServiceLocation!)
The service location linked with the container site