Containers
Get Containers
GET
https://api.binity.io/v1/companies/:uuid/containers
Get all containers of that specific company.
Headers
Authorization
string
Bearer Token
{
"containers":[
{
"uuid":"2c58129f-7bb8-429f-867f-27afc9fa85be",
"status":"enabled",
"name":"Mehrzweckhalle / Im Käppele 32",
"lat":"48.58243064",
"lng":"9.37502179",
"replace_coordinates":false,
"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",
"garbage_type":0,
"fill_level":125,
"fill_level_manually_added":true,
"enabled":false,
"measured_at":"2021-07-21T08:42:24.468+02:00",
"measured_at_formatted":"21.07.2021 08:42 Uhr",
"type_uuid":"62eacc73-0a1f-4669-9581-572114875118",
"area_uuid":null,
"site_uuid":"",
"zone_uuid":"",
"zone_location_uuid":"",
"company_uuid":"f0634f09-e8d4-48dc-93ea-717aae9a47ca",
"project_uuid":"8e87b803-f5f7-43a5-844f-4a48758b3933",
"wdl_synced":false,
"description":null,
"clearing_method":null,
"replace_plant_area":false,
"replace_container_area":false,
"identification_type":null,
"identifier":null,
"next_uvv_check":null,
"display_mode":"dynamic",
"images":[],
"internal_id":null,
"condition":null,
"empty_method":null,
"plate_serial_number":null,
"plate_year":null,
"plate_description":null,
"fixed_location":true,
"customer_owned":false,
"customized_description":null,
"name_location_customer":null,
"name_location_number":null,
"contract_number":null,
"contract_item":null,
"uvv_checks":[],
"sensors":[],
"type":{},
"empty_templates":[
{
"uuid":"7199b8b3-ad58-4b11-86f6-454ff9c6a104",
"repeat_type":"recurring",
"repeat_interval":2,
"interval_day":"wednesday",
"start_even_cw":false,
"route_position":2,
"last_emptied_cw":17,
"created_at":"2021-06-29T21:58:43.314+02:00",
"updated_at":"2021-06-29T21:58:43.314+02:00"
}
],
"identifiers":[],
"created_at":"2021-04-06T08:02:09.299+02:00",
"updated_at":"2021-07-28T08:55:59.610+02:00",
}
],
"meta":{
"pagination":{
"per_page":25,
"total_pages":1,
"total_objects":1,
"links":{
"first":"/v1/companies/f0634f09-e8d4-48dc-93ea-717aae9a47ca/containers?page=1",
"last":"/v1/companies/f0634f09-e8d4-48dc-93ea-717aae9a47ca/containers?page=1",
}
}
}
}
Create Container
POST
https://api.binity.io/v1/companies/:uuid/containers
Create a new container.
Headers
Authorization
string
Bearer Token
Request Body
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
{
"container":{
"uuid":"2c58129f-7bb8-429f-867f-27afc9fa85be",
"status":"enabled",
"name":"Mehrzweckhalle / Im Käppele 32",
"lat":"48.58243064",
"lng":"9.37502179",
"replace_coordinates":false,
"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",
"garbage_type":0,
"fill_level":125,
"fill_level_manually_added":true,
"enabled":false,
"measured_at":"2021-07-21T08:42:24.468+02:00",
"measured_at_formatted":"21.07.2021 08:42 Uhr",
"type_uuid":"62eacc73-0a1f-4669-9581-572114875118",
"area_uuid":null,
"site_uuid":"",
"zone_uuid":"",
"zone_location_uuid":"",
"company_uuid":"f0634f09-e8d4-48dc-93ea-717aae9a47ca",
"project_uuid":"8e87b803-f5f7-43a5-844f-4a48758b3933",
"wdl_synced":false,
"description":null,
"clearing_method":null,
"replace_plant_area":false,
"replace_container_area":false,
"identification_type":null,
"identifier":null,
"next_uvv_check":null,
"display_mode":"dynamic",
"images":[],
"internal_id":null,
"condition":null,
"empty_method":null,
"plate_serial_number":null,
"plate_year":null,
"plate_description":null,
"fixed_location":true,
"customer_owned":false,
"customized_description":null,
"name_location_customer":null,
"name_location_number":null,
"contract_number":null,
"contract_item":null,
"uvv_checks":[],
"sensors":[],
"type":{},
"empty_templates":[
{
"uuid":"7199b8b3-ad58-4b11-86f6-454ff9c6a104",
"repeat_type":"recurring",
"repeat_interval":2,
"interval_day":"wednesday",
"start_even_cw":false,
"route_position":2,
"last_emptied_cw":17,
"created_at":"2021-06-29T21:58:43.314+02:00",
"updated_at":"2021-06-29T21:58:43.314+02:00"
}
],
"identifiers":[],
"created_at":"2021-04-06T08:02:09.299+02:00",
"updated_at":"2021-07-28T08:55:59.610+02:00",
}
}
Get Container
GET
https://api.binity.io/v1/companies/:uuid/containers/:container_uuid
Get data of a single container.
Headers
Authorization
string
Bearer Token
{
"container":{
"uuid":"2c58129f-7bb8-429f-867f-27afc9fa85be",
"status":"enabled",
"name":"Mehrzweckhalle / Im Käppele 32",
"lat":"48.58243064",
"lng":"9.37502179",
"replace_coordinates":false,
"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",
"garbage_type":0,
"fill_level":125,
"fill_level_manually_added":true,
"enabled":false,
"measured_at":"2021-07-21T08:42:24.468+02:00",
"measured_at_formatted":"21.07.2021 08:42 Uhr",
"type_uuid":"62eacc73-0a1f-4669-9581-572114875118",
"area_uuid":null,
"site_uuid":"",
"zone_uuid":"",
"zone_location_uuid":"",
"company_uuid":"f0634f09-e8d4-48dc-93ea-717aae9a47ca",
"project_uuid":"8e87b803-f5f7-43a5-844f-4a48758b3933",
"wdl_synced":false,
"description":null,
"clearing_method":null,
"replace_plant_area":false,
"replace_container_area":false,
"identification_type":null,
"identifier":null,
"next_uvv_check":null,
"display_mode":"dynamic",
"images":[],
"internal_id":null,
"condition":null,
"empty_method":null,
"plate_serial_number":null,
"plate_year":null,
"plate_description":null,
"fixed_location":true,
"customer_owned":false,
"customized_description":null,
"name_location_customer":null,
"name_location_number":null,
"contract_number":null,
"contract_item":null,
"uvv_checks":[],
"sensors":[],
"type":{},
"empty_templates":[
{
"uuid":"7199b8b3-ad58-4b11-86f6-454ff9c6a104",
"repeat_type":"recurring",
"repeat_interval":2,
"interval_day":"wednesday",
"start_even_cw":false,
"route_position":2,
"last_emptied_cw":17,
"created_at":"2021-06-29T21:58:43.314+02:00",
"updated_at":"2021-06-29T21:58:43.314+02:00"
}
],
"identifiers":[],
"created_at":"2021-04-06T08:02:09.299+02:00",
"updated_at":"2021-07-28T08:55:59.610+02:00",
}
}
Update Container
PATCH
https://api.binity.io/v1/companies/:uuid/containers/:container_uuid
Update data of a single container.
Headers
Authorization
string
Bearer Token
{
"container":{
"uuid":"2c58129f-7bb8-429f-867f-27afc9fa85be",
"status":"enabled",
"name":"Mehrzweckhalle / Im Käppele 32",
"lat":"48.58243064",
"lng":"9.37502179",
"replace_coordinates":false,
"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",
"garbage_type":0,
"fill_level":125,
"fill_level_manually_added":true,
"enabled":false,
"measured_at":"2021-07-21T08:42:24.468+02:00",
"measured_at_formatted":"21.07.2021 08:42 Uhr",
"type_uuid":"62eacc73-0a1f-4669-9581-572114875118",
"area_uuid":null,
"site_uuid":"",
"zone_uuid":"",
"zone_location_uuid":"",
"company_uuid":"f0634f09-e8d4-48dc-93ea-717aae9a47ca",
"project_uuid":"8e87b803-f5f7-43a5-844f-4a48758b3933",
"wdl_synced":false,
"description":null,
"clearing_method":null,
"replace_plant_area":false,
"replace_container_area":false,
"identification_type":null,
"identifier":null,
"next_uvv_check":null,
"display_mode":"dynamic",
"images":[],
"internal_id":null,
"condition":null,
"empty_method":null,
"plate_serial_number":null,
"plate_year":null,
"plate_description":null,
"fixed_location":true,
"customer_owned":false,
"customized_description":null,
"name_location_customer":null,
"name_location_number":null,
"contract_number":null,
"contract_item":null,
"uvv_checks":[],
"sensors":[],
"type":{},
"empty_templates":[
{
"uuid":"7199b8b3-ad58-4b11-86f6-454ff9c6a104",
"repeat_type":"recurring",
"repeat_interval":2,
"interval_day":"wednesday",
"start_even_cw":false,
"route_position":2,
"last_emptied_cw":17,
"created_at":"2021-06-29T21:58:43.314+02:00",
"updated_at":"2021-06-29T21:58:43.314+02:00"
}
],
"identifiers":[],
"created_at":"2021-04-06T08:02:09.299+02:00",
"updated_at":"2021-07-28T08:55:59.610+02:00",
}
}
Delete Container
DELETE
https://api.binity.io/v1/companies/:uuid/containers/:container_uuid
Delete a single container.
Headers
Authorization
string
Bearer Token
{
"deleted": true
}
Last updated
Was this helpful?