Container Groups
Get Container Groups
GET https://api.binity.io/v1/companies/:uuid/container_groups
Get all container groups of that specific company.
Headers
Authorization
string
Bearer Token
{
"container_groups":[
{
"uuid":"ec94f625-7c6f-41a8-b2b4-9060f0eb8cd9",
"name":"Test",
"lat":"48.58243064",
"lng":"9.37502179",
"street_name":"Im Käppele",
"street_number":"29",
"zip_code":"72636",
"city":"Frickenhausen",
"state":"Baden-Württemberg",
"country":"DE",
"preformatted":"Im Käppele 29, 72636 Frickenhausen, Germany",
"containers":[
{
"uuid":"2c58129f-7bb8-429f-867f-27afc9fa85be",
"name":"Mehrzweckhalle / Im Käppele 32",
"preformatted":"Im Käppele 29, 72636 Frickenhausen, Germany",
"type_uuid":"62eacc73-0a1f-4669-9581-572114875118",
}
],
"project_uuid": "7cc3abb8-a949-4f5b-a004-f4a458462c2e",
"company_uuid": "71ec7d2a-6a85-4d6e-aa42-8df4a0e0f53d",
"created_at":"2020-09-09T00:56:12.492+02:00",
"updated_at":"2020-09-09T00:56:12.492+02:00"
}
],
"meta":{
"pagination":{
"per_page":25,
"total_pages":1,
"total_objects":1,
"links":{
"first":"/v1/companies/f0634f09-e8d4-48dc-93ea-717aae9a47ca/container_groups?page=1",
"last":"/v1/companies/f0634f09-e8d4-48dc-93ea-717aae9a47ca/container_groups?page=1"
}
}
}
}Create Container Group
POST https://api.binity.io/v1/companies/:uuid/container_groups
Create a new container group.
Headers
Authorization
string
Bearer Token
Request Body
containers
array
Array of container uuids that should be added to this container group.
name
string
Name of the container.
lat
string
Coordinates (latitude).
lng
string
Coordinates (longitude).
container_type_uuid
string
The uuid of the connected container type.
project_uuid
string
The uuid of the connected project.
description
string
Get Container Group
GET https://api.binity.io/v1/companies/:uuid/container_groups/:container_group_uuid
Get data of a single container group.
Headers
Authorization
string
Bearer Token
Update Container Group
PATCH https://api.binity.io/v1/companies/:uuid/container_groups/:container_group_uuid
Update data of a single container group.
Headers
Authorization
string
Bearer Token
Delete Container Group
DELETE https://api.binity.io/v1/companies/:uuid/container_groups/:container_group_uuid
Delete a single container group.
Headers
Authorization
string
Bearer Token
Last updated
Was this helpful?