updateContainerSiteBinBar
Mutation used to update the relationship between a container site and a BinBar given a container site ID and a optional binBarID.
If a binBarID is not entered, the current BinBar is removed from that container site.
If a binBarID is entered and the container site does not have a BinBar, the BinBar with that ID is attached.
If a binBarID is entered and the container site does have a BinBar, the old BinBar is detached and the new BinBar is attached.
Returns the updated container site if successful and null if unsuccessful
updateContainerSiteBinBar(
id: ID!
binBarID: ID
): ContainerSite
Arguments
id
(ID!
)
ID of the container site to be updated
binBarID
(ID
)
ID of the BinBar to be updated
Type
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