Sintetic GeoDB API (0.2.0)
Download OpenAPI specification:Download
Web API for single item identification for forest production, protection and management.
Please, notice that resource tags are ordered by dependency and/or place along the forest value chain. For instance, in order to create a Forest Operation, a respective Forest Property must be created first.
Retrieves all organizations
All organizations are returned, including those soft deleted. Available only for administrators.
Authorizations:
Responses
Response samples
- 200
[- {
- "id": 0,
- "name": "string",
- "abbreviation": "string",
- "website": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "soft_deleted_at": "2019-08-24T14:15:22Z"
}
]
Creates an organization
Available only for administrators.
Authorizations:
Request Body schema: application/jsonrequired
name required | string |
abbreviation required | string |
website required | string |
Responses
Request samples
- Payload
{- "name": "string",
- "abbreviation": "string",
- "website": "string"
}
Retrieves an organization
Available only for administrators.
Authorizations:
path Parameters
organization_id required | string Example: organization_id |
Responses
Response samples
- 200
{- "id": 0,
- "name": "string",
- "abbreviation": "string",
- "website": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "soft_deleted_at": "2019-08-24T14:15:22Z"
}
Updates an organization
Available only for administrators.
Authorizations:
path Parameters
organization_id required | string Example: organization_id |
Request Body schema: application/jsonrequired
name required | string |
abbreviation required | string |
website required | string |
Responses
Request samples
- Payload
{- "name": "string",
- "abbreviation": "string",
- "website": "string"
}
Soft deletes an organization
All of the organization's users will be soft deleted and their respective login tokens will be deactivated. Soft deletion is used to maintain data integrity and for accountability reasons. Deletion of the current logged-in user's organization is not allowed. If an organization is already soft deleted this operation has no effect. Available only for administrators.
Authorizations:
path Parameters
organization_id required | string Example: organization_id |
Responses
Users who belong to a participant organization and have programmatic access to the Sintetic GeoDB API.
Retrieves all users
All users are returned, including those soft deleted. Available only for administrators.
Authorizations:
Responses
Response samples
- 200
[- {
- "id": 0,
- "email": "string",
- "name": "string",
- "admin": true,
- "organization": {
- "id": 0,
- "name": "string",
- "abbreviation": "string",
- "website": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "soft_deleted_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "soft_deleted_at": "2019-08-24T14:15:22Z"
}
]
Creates a user
Available only for administrators.
Authorizations:
Request Body schema: application/jsonrequired
email required | string |
name required | string |
password required | string |
organization_id required | integer |
Responses
Request samples
- Payload
{- "email": "string",
- "name": "string",
- "password": "string",
- "organization_id": 0
}
Retrieves a user
Available when logged in as the requested user or as an administrator.
Authorizations:
path Parameters
user_id required | string Example: user_id |
Responses
Response samples
- 200
{- "id": 0,
- "email": "string",
- "name": "string",
- "admin": true,
- "organization": {
- "id": 0,
- "name": "string",
- "abbreviation": "string",
- "website": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "soft_deleted_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "soft_deleted_at": "2019-08-24T14:15:22Z"
}
Updates a user
Available only for administrators.
Authorizations:
path Parameters
user_id required | string Example: user_id |
Request Body schema: application/jsonrequired
email required | string |
name required | string |
organization_id required | integer |
Responses
Request samples
- Payload
{- "email": "string",
- "name": "string",
- "organization_id": 0
}
Soft deletes a single user
All of the user's login tokens will be deactivated.
Soft deletion is used to maintain data integrity and for accountability reasons.
Self-deletion is not possible, i.e., the currently logged-in user cannot delete themself.
If a user is already soft deleted this operation has no effect.
Available only for administrators.
Authorizations:
path Parameters
user_id required | string Example: user_id |
Responses
List the current user's bearer logins
Only the active bearer logins of the logged-in user are returned.
Authorizations:
Responses
Response samples
- 200
[- {
- "id": 0,
- "name": "string",
- "scopes": [
- "string"
], - "active_at": "2019-08-24T14:15:22Z",
- "inactive_at": "2019-08-24T14:15:22Z"
}
]
Create bear login token
Authorizations:
Request Body schema: application/jsonrequired
Bearer login details.
object | |||||
|
Responses
Request samples
- Payload
{- "bearer_login": {
- "name": "string",
- "scopes": [
- "string"
]
}
}
Response samples
- 200
{- "bearer_login": {
- "id": 0,
- "name": "string",
- "scopes": [
- "string"
], - "active_at": "2019-08-24T14:15:22Z",
- "inactive_at": "2019-08-24T14:15:22Z"
}, - "token": "string"
}
Get bearer login
Retrieves only bearer logins from the current user
Authorizations:
path Parameters
bearer_login_id required | string Example: bearer_login_id |
Responses
Response samples
- 200
{- "id": 0,
- "name": "string",
- "scopes": [
- "string"
], - "active_at": "2019-08-24T14:15:22Z",
- "inactive_at": "2019-08-24T14:15:22Z"
}
Log in using email and password
Request Body schema: application/jsonrequired
Login credentials.
object | |||||
|
Responses
Request samples
- Payload
{- "login": {
- "email": "user@example.com",
- "password": "pa$$word"
}
}
Response samples
- 200
{- "login": {
- "token": "string",
- "expiry": "2019-08-24T14:15:22Z",
- "user_id": 0
}
}
Reset user password
Update password of the user associated to the password reset token, if valid.
Request Body schema: application/jsonrequired
Pasword reset token.
token | string |
object |
Responses
Request samples
- Payload
{- "token": "string",
- "password_reset": {
- "password": "pa$$word"
}
}
Shared naming of tree species.
Immediate associations:
- has many: Inventory Trees
- has many: Harvested Trees
- has many: Inventory Reports
- has many: Harvesting Reports
- has many: Tree Log Reports
- has many: Tree Log Product Definitions
List tree species
query Parameters
name | string Search by name |
common_name | string Search by common name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Get tree species
Available only for administrators.
path Parameters
tree_species_id required | string Example: tree_species_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update tree species
Available only for administrators.
Authorizations:
path Parameters
tree_species_id required | string Example: tree_species_id |
Request Body schema: application/jsonrequired
name required | string |
common_name | string |
Responses
Request samples
- Payload
{- "name": "string",
- "common_name": "string"
}
Proprietors of forestland used for logging operations.
Immediate associations:
- has_many: Forest Properties
List forest property owners
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
name | string Search by name |
type | string Enum: "legal_entity" "person" Filter by forest property owner |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create forest property owner
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
type | string Enum: "legal_entity" "person" |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity"
}
Get forest property owner
Authorizations:
path Parameters
forest_property_owner_id required | string Example: forest_property_owner_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update forest property owner
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
forest_property_owner_id required | string Example: forest_property_owner_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
type | string Enum: "legal_entity" "person" |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity"
}
Forestland units used for logging operations.
Immediate associations:
- belongs to: Forest Property Owner
- has many: Forest Operations
- has many: Subcompartments
[
subcompartmentable_type=forest_property]
List forest properties
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
created_at | string (TimeInterval) Filter by creation datetime interval |
country_iso | string Filter by country (ISO 3166-1 alpha-2) |
owner_id | string <uuid> (Universally unique identitifier) Filter by forest property owner ID |
ownership_type | string Enum: "public" "private" Filter by ownership type |
bbox | Array of numbers (BoundingBox) Example: bbox=11.1,43.2,12.8,44.9 Filter by intersection of location and bounding box |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create forest property
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id | string <uuid> (Universally unique identitifier) |
name required | string |
required | object (GeoJSONPoint) Centroid of associated forest operation boundaries. |
ownership_type | string Enum: "public" "private" |
country_iso | string Uppercase country code (ISO 3166-1 alpha-2). |
subdivision_iso | string Uppercase administrative subsivision (ISO 3166-2). |
description | string |
owner_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05"
}
Get forest property
Authorizations:
path Parameters
forest_property_id required | string Example: forest_property_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update forest property
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
forest_property_id required | string Example: forest_property_id |
Request Body schema: application/jsonrequired
id | string <uuid> (Universally unique identitifier) |
name required | string |
required | object (GeoJSONPoint) Centroid of associated forest operation boundaries. |
ownership_type | string Enum: "public" "private" |
country_iso | string Uppercase country code (ISO 3166-1 alpha-2). |
subdivision_iso | string Uppercase administrative subsivision (ISO 3166-2). |
description | string |
owner_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05"
}
Operations break down forestland spatially and temporarily, easing management and reporting.
Immediate associations:
- belongs to: Forest Property
- has many: Forest Operation Attachments
- has many: Sample Plots
- has many: Subcompartments
[
subcompartmentable=forest_operation]
- has many: StanForD Attachments
- has many: Inventory Reports
[
forest_reportable=forest_operation]
- has many: Harvesting Reports
[
forest_reportable=forest_operation]
- has many: Tree Log Reports
[
forest_reportable=forest_operation]
List forest operations
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
name | string Search by name |
forest_property_id | string <uuid> (Universally unique identitifier) Filter by forest property ID |
type | string Enum: "thinning" "clearfell" "continuous_cover_forestry" Filter by type |
status | string Enum: "planned" "in_progress" "on_hold" "complete" Filter by status |
start_date | string (TimeInterval) Filter by start date |
end_date | string (TimeInterval) Filter by end date |
manager | string Search by manager |
bbox | Array of numbers (BoundingBox) Example: bbox=11.1,43.2,12.8,44.9 Filter by intersection of location and bounding box |
origin_property_id | string <uuid> (Universally unique identitifier) Filter by the ID of the forest property of origin |
origin_property_owner_id | string <uuid> (Universally unique identitifier) Filter by the owner ID of the forest property of origin |
origin_property_country_iso | string Filter by the country (ISO 3166-1 alpha-2) of the forest property of origin |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create forest operation
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
status | string Enum: "planned" "in_progress" "on_hold" "complete" |
type | string Enum: "thinning" "clearfell" "continuous_cover_forestry" |
manager | string |
start_date | string <date> |
end_date | string <date> |
object (GeoJSONPoint) | |
area required | number Unit: hectare (ha). |
productive_area | number Unit: hectare (ha). |
harvested_area | number Unit: hectare (ha). |
forest_property_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}
Get forest operation
Authorizations:
path Parameters
forest_operation_id required | string Example: forest_operation_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update forest operation
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
forest_operation_id required | string Example: forest_operation_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
status | string Enum: "planned" "in_progress" "on_hold" "complete" |
type | string Enum: "thinning" "clearfell" "continuous_cover_forestry" |
manager | string |
start_date | string <date> |
end_date | string <date> |
object (GeoJSONPoint) | |
area required | number Unit: hectare (ha). |
productive_area | number Unit: hectare (ha). |
harvested_area | number Unit: hectare (ha). |
forest_property_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}
Generic attachment files for a forest operation.
Immediate associations:
- belongs to: Forest Operation
List forest operation attachments
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
forest_operation_id | string <uuid> (Universally unique identitifier) Filter by forest operation ID |
name | string Search by name |
type | string Filter by type |
category | string Enum: "office" "image" "geo_vector" "geo_raster" "data_exchange" "archive" Filter by category |
tag | string Filter by tag |
sort_by | string Default: "newest" Enum: "newest" "oldest" "type" "name" "largest" "smallest" Sort results |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "category": "office",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create forest operation attachment
Authorizations:
Request Body schema: multipart/form-data
attachment:forest_operation_id required | string <uuid> |
attachment:name | string If missing it will default to the filename without extension |
attachment:tags | Array of strings |
attachment:description | string |
attachment:file required | string <binary> |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "category": "office",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get forest operation attachment
Authorizations:
path Parameters
forest_operation_attachment_id required | string Example: forest_operation_attachment_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "category": "office",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update forest operation attachment
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
forest_operation_attachment_id required | string Example: forest_operation_attachment_id |
Request Body schema: application/jsonrequired
required | object | ||||||
|
Responses
Request samples
- Payload
{- "attachment": {
- "name": "string",
- "description": "string",
- "tags": [
- "string"
]
}
}
Basic forest management units for mapping, display, and analysis as contextual references.
Immediate associations:
- belongs to: subcompartmentable
{
Forest Property|
Forest Operation}
- has many: Harvested Trees
- has many: Inventory Reports
[
forest_reportable=subcompartment]
- has many: Harvesting Reports
[
forest_reportable=subcompartment]
- has many: Tree Log Reports
[
forest_reportable=subcompartment]
List subcompartments
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
name | string Search by name |
subcompartmentable_type | string Enum: "forest_operation" "forest_property" Filter by subcompartmentable type |
forest_property_id | string <uuid> (Universally unique identitifier) Filter by forest property ID |
forest_operation_id | string <uuid> (Universally unique identitifier) Filter by forest operation ID |
bbox | Array of numbers (BoundingBox) Example: bbox=11.1,43.2,12.8,44.9 Filter by intersection of boundaries and bounding box |
origin_property_id | string <uuid> (Universally unique identitifier) Filter by the ID of the forest property of origin |
origin_property_owner_id | string <uuid> (Universally unique identitifier) Filter by the owner ID of the forest property of origin |
origin_property_country_iso | string Filter by the country (ISO 3166-1 alpha-2) of the forest property of origin |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create subcompartment
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
object (GeoJSONPolygon) | |
area | number Unit: hectare (ha). |
productive_area | number Unit: hectare (ha). |
harvested_area | number Unit: hectare (ha). |
altitude | number Unit: meter (m). |
exposition | string |
slope | number |
variety | string Unit: percent of slope (%[slope]). |
co2_capture | number Unit: tonne (t). |
distance_to_road | number |
biomass | number |
subcompartmentable_id required | string <uuid> (Universally unique identitifier) |
subcompartmentable_type required | string Enum: "forest_operation" "forest_property" |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_id": "9d37112e-782b-4f0c-b324-c0798cd32c2c",
- "subcompartmentable_type": "forest_operation",
- "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}
}
Get subcompartment
Authorizations:
path Parameters
subcompartment_id required | string Example: subcompartment_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update subcompartment
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
subcompartment_id required | string Example: subcompartment_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
object (GeoJSONPolygon) | |
area | number Unit: hectare (ha). |
productive_area | number Unit: hectare (ha). |
harvested_area | number Unit: hectare (ha). |
altitude | number Unit: meter (m). |
exposition | string |
slope | number |
variety | string Unit: percent of slope (%[slope]). |
co2_capture | number Unit: tonne (t). |
distance_to_road | number |
biomass | number |
subcompartmentable_id required | string <uuid> (Universally unique identitifier) |
subcompartmentable_type required | string Enum: "forest_operation" "forest_property" |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_id": "9d37112e-782b-4f0c-b324-c0798cd32c2c",
- "subcompartmentable_type": "forest_operation",
- "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}
}
Plots of landforest samples used for inventory purposes.
Immediate associations:
- belongs to: Forest Operation
- has many: Tree Logs
- has many: Tree Log Reports
- has many: Tree Log Locations
- has many: Harvesting Reports
- has many: StanForD Attachments
List sample plots
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
created_at | string (TimeInterval) Filter by creation datetime interval |
forest_operation_id | string <uuid> (Universally unique identitifier) Filter by forest operation ID |
measured_at | string (TimeInterval) Filter by measurement datetime interval |
bbox | Array of numbers (BoundingBox) Example: bbox=11.1,43.2,12.8,44.9 Filter by intersection of location and bounding box |
origin_property_id | string <uuid> (Universally unique identitifier) Filter by the ID of the forest property of origin |
origin_property_owner_id | string <uuid> (Universally unique identitifier) Filter by the owner ID of the forest property of origin |
origin_property_country_iso | string Filter by the country (ISO 3166-1 alpha-2) of the forest property of origin |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create sample plot
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name | string |
measured_at | string <date-time> Timestamp of measurement in the field. |
required | object (GeoJSONPoint) |
shape required | string Enum: "circle" "rectangle" "polygon" |
object (GeoJSONPolygon) Required if shape is | |
radius | number Required if shape is |
length | number Required if shape is |
width | number Required if shape is |
sample_area | number Unit: hectare (ha). |
object | |
forest_operation_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "forest_operation_id": "e960db52-0db3-4b8c-9119-d11faac14929"
}
Get sample plot
Authorizations:
path Parameters
sample_plot_id required | string Example: sample_plot_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update sample plot
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
sample_plot_id required | string Example: sample_plot_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name | string |
measured_at | string <date-time> Timestamp of measurement in the field. |
required | object (GeoJSONPoint) |
shape required | string Enum: "circle" "rectangle" "polygon" |
object (GeoJSONPolygon) Required if shape is | |
radius | number Required if shape is |
length | number Required if shape is |
width | number Required if shape is |
sample_area | number Unit: hectare (ha). |
object | |
forest_operation_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "forest_operation_id": "e960db52-0db3-4b8c-9119-d11faac14929"
}
Devices (e.g., harvesters, forwarders) used to process trees.
Immediate associations:
- has many: Inventory Trees
- has many: Inventory Reports
[
forest_reportable=sample_plot]
- has many: Harvesting Reports
[
forest_reportable=sample_plot]
- has many: Tree Log Reports
[
forest_reportable=sample_plot]
List tree processors
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
created_at | string (TimeInterval) Filter by creation datetime interval |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create tree processor
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
type | string Enum: "harvester" "forwarder" "manual" "other" |
operator_label | string |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string"
}
Get tree processor
Authorizations:
path Parameters
tree_processor_id required | string Example: tree_processor_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update tree processor
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
tree_processor_id required | string Example: tree_processor_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
type | string Enum: "harvester" "forwarder" "manual" "other" |
operator_label | string |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string"
}
Attachment files in the StanForD format, both the classic and 2010 editions.
Immediate associations:
- belongs to: Forest Operation
- belongs to: Tree Processor
List StanForD attachments
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
forest_operation_id | string <uuid> (Universally unique identitifier) Filter by forest operation ID |
tree_processor_id | string <uuid> (Universally unique identitifier) Filter by tree processor ID |
name | string Search by name |
type | string Filter by type |
classic | boolean Filter by classic StanForD (true) or StanForD 2010 (false) |
compressed | boolean Filter by file compression (available only for StanForD 2010) |
tag | string Filter by tag |
sort_by | string Default: "newest" Enum: "newest" "oldest" "type" "name" "largest" "smallest" Sort results |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create StanForD attachment
Bearer token with scope harvest_write
required.
Authorizations:
Request Body schema: multipart/form-data
attachment:forest_operation_id required | string <uuid> |
attachment:tree_processor_id required | string <uuid> |
attachment:file required | string <binary> |
attachment:name | string If missing it will default to the filename without extension |
attachment:tags | Array of strings |
attachment:description | string |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get StanForD attachment
Authorizations:
path Parameters
stanford_attachment_id required | string Example: stanford_attachment_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update StanForD attachment
Bearer token with scope harvest_write
required.
Authorizations:
path Parameters
stanford_attachment_id required | string Example: stanford_attachment_id |
Request Body schema: application/jsonrequired
required | object | ||||||
|
Responses
Request samples
- Payload
{- "attachment": {
- "name": "string",
- "description": "string",
- "tags": [
- "string"
]
}
}
Definitions of targeted log products in actual or simulated harvesting.
Immediate associations:
- belongs to: Tree Species
- has many: Cutting Instruction Sets
List tree log product definitions
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
tree_species_id | string <uuid> (Universally unique identitifier) Filter by tree species ID |
created_at | string (TimeInterval) Filter by creation datetime interval |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create tree log product definition
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
max_sweep | number Unit: millimeter per meter (mm/m). |
max_length | number Unit: meter (m). |
min_length | number Unit: meter (m). |
min_small_end_diameter | integer Unit: tenth of millimeter (mm/10). |
max_small_end_diameter | integer Unit: tenth of millimeter (mm/10). |
min_large_end_diameter | integer Unit: tenth of millimeter (mm/10). |
max_large_end_diameter | integer Unit: tenth of millimeter (mm/10). |
tree_species_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8"
}
Get tree log product definition
Authorizations:
path Parameters
tree_log_product_definition_id required | string Example: tree_log_product_definition_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update tree log product definition
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
tree_log_product_definition_id required | string Example: tree_log_product_definition_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
max_sweep | number Unit: millimeter per meter (mm/m). |
max_length | number Unit: meter (m). |
min_length | number Unit: meter (m). |
min_small_end_diameter | integer Unit: tenth of millimeter (mm/10). |
max_small_end_diameter | integer Unit: tenth of millimeter (mm/10). |
min_large_end_diameter | integer Unit: tenth of millimeter (mm/10). |
max_large_end_diameter | integer Unit: tenth of millimeter (mm/10). |
tree_species_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8"
}
Groups of cutting instruction items related to a tree log product definition.
Immediate associations:
- belongs to: Tree Log Product Definition
- has many: Cutting Instruction Items
- has many: Tree Log Reports
List cutting instruction sets
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
created_at | string (TimeInterval) Filter by creation datetime interval |
tree_log_product_definition_id | string <uuid> (Universally unique identitifier) Filter by tree log product definition ID |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source": "string",
- "tree_log_product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create cutting instruction set
Bearer token with scope harvest_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
source | string |
tree_log_product_definition_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source": "string",
- "tree_log_product_definition_id": "f49d7c01-e2cc-4499-b4a0-ceebfd4a8154"
}
Get cutting instruction set
Authorizations:
path Parameters
cutting_instruction_set_id required | string Example: cutting_instruction_set_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source": "string",
- "tree_log_product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update cutting instruction set
Bearer token with scope harvest_write
required.
Authorizations:
path Parameters
cutting_instruction_set_id required | string Example: cutting_instruction_set_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
source | string |
tree_log_product_definition_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source": "string",
- "tree_log_product_definition_id": "f49d7c01-e2cc-4499-b4a0-ceebfd4a8154"
}
List cutting instruction items
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
set_id | string <uuid> (Universally unique identitifier) Filter by cutting instruction set ID |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sed_classes": [
- 0
], - "weightings": [
- 0
], - "set": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source": "string",
- "tree_log_product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create cutting instruction item
Bearer token with scope harvest_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
sed_classes | Array of numbers |
weightings required | Array of numbers |
set_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sed_classes": [
- 0
], - "weightings": [
- 0
], - "set_id": "516c4b88-fac0-4d1c-bb7a-9a8534cc5e71"
}
Get cutting instruction item
Authorizations:
path Parameters
cutting_instruction_item_id required | string Example: cutting_instruction_item_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sed_classes": [
- 0
], - "weightings": [
- 0
], - "set": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source": "string",
- "tree_log_product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update cutting instruction item
Bearer token with scope harvest_write
required.
Authorizations:
path Parameters
cutting_instruction_item_id required | string Example: cutting_instruction_item_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
sed_classes | Array of numbers |
weightings required | Array of numbers |
set_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sed_classes": [
- 0
], - "weightings": [
- 0
], - "set_id": "516c4b88-fac0-4d1c-bb7a-9a8534cc5e71"
}
Trees within a sample plot used for forest inventory. After harvesting, a related harvested tree record should exist. Associated tree logs are simulated.
Immediate associations:
- belongs to: Sample Plot
- belongs to: Tree Species
- belongs to: Harvested Tree
- has many: Tree Logs
[
simulated=true]
- has many: Quality Indicator Items
[
qualifiable=harvested_tree]
List inventory trees
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
tree_species_id | string <uuid> (Universally unique identitifier) Filter by tree species ID |
sample_plot_id | string <uuid> (Universally unique identitifier) Filter by sample plot ID |
harvested_tree_id | string <uuid> (Universally unique identitifier) Filter by harvested tree ID |
measured_at | string (TimeInterval) Filter by measurement datetime interval |
external_id | string Filter by external identifier ID |
external_id_type | string Enum: "other" "rfid" "hammer" "barcode" "paint" Filter by external identifier type |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create inventory tree
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
tree_species_id required | string <uuid> (Universally unique identitifier) |
harvested_tree_id | string <uuid> (Universally unique identitifier) |
sample_plot_id | string <uuid> (Universally unique identitifier) |
measured_at | string <date-time> |
planted_at | string <date-time> |
object (GeoJSONPoint) | |
dbh | number Unit: centimeter (cm). |
biomass | number Unit: cubic meter (m3). |
volume | number Unit: cubic meter (m3). |
height | number Unit: meter (m). |
required | Array of objects (ExternalIdentifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "harvested_tree_id": "e5e92a12-2704-43b5-bb27-c19911fc2548",
- "sample_plot_id": "dbf8a575-aa48-432f-8e2f-585e90f120b0",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
]
}
Get inventory tree
Authorizations:
path Parameters
inventory_tree_id required | string Example: inventory_tree_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update inventory tree
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
inventory_tree_id required | string Example: inventory_tree_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
tree_species_id required | string <uuid> (Universally unique identitifier) |
harvested_tree_id | string <uuid> (Universally unique identitifier) |
sample_plot_id | string <uuid> (Universally unique identitifier) |
measured_at | string <date-time> |
planted_at | string <date-time> |
object (GeoJSONPoint) | |
dbh | number Unit: centimeter (cm). |
biomass | number Unit: cubic meter (m3). |
volume | number Unit: cubic meter (m3). |
height | number Unit: meter (m). |
required | Array of objects (ExternalIdentifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "harvested_tree_id": "e5e92a12-2704-43b5-bb27-c19911fc2548",
- "sample_plot_id": "dbf8a575-aa48-432f-8e2f-585e90f120b0",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
]
}
Trees already harvested and processed. They must belong to a forest operation subcompartment. If the given tree was part of a sample plot, a related inventory tree record should exist. Associated tree logs are non-simulated.
Immediate associations:
- belongs to: Subcompartment
[
subcompartmentable=forest_operation]
- belongs to: Tree Species
- has one: Inventory Tree
- has many: Tree Logs
[
simulated=false]
- has many: Quality Indicator Items
[
qualifiable=harvested_tree]
List harvested trees
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
tree_species_id | string <uuid> (Universally unique identitifier) Filter by tree species ID |
external_id | string Filter by external identifier ID |
external_id_type | string Enum: "other" "rfid" "hammer" "barcode" "paint" Filter by external identifier type |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create harvested tree
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
field_mark | string |
planted_at | string <date-time> |
object (GeoJSONPoint) | |
dbh | number Unit: centimeter (cm). |
biomass | number Unit: cubic meter (m3). |
volume | number Unit: cubic meter (m3). |
height | number Unit: meter (m). |
required | Array of objects (ExternalIdentifier) |
tree_species_id required | string <uuid> (Universally unique identitifier) |
subcompartment_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "subcompartment_id": "d12bd93d-888a-4a99-b8ab-a0be016fb97c"
}
Get harvested tree
Authorizations:
path Parameters
harvested_tree_id required | string Example: harvested_tree_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update harvested tree
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
harvested_tree_id required | string Example: harvested_tree_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
field_mark | string |
planted_at | string <date-time> |
object (GeoJSONPoint) | |
dbh | number Unit: centimeter (cm). |
biomass | number Unit: cubic meter (m3). |
volume | number Unit: cubic meter (m3). |
height | number Unit: meter (m). |
required | Array of objects (ExternalIdentifier) |
tree_species_id required | string <uuid> (Universally unique identitifier) |
subcompartment_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "subcompartment_id": "d12bd93d-888a-4a99-b8ab-a0be016fb97c"
}
A harvested log (related to a harvested tree) or a simulated log (related to an inventory tree) not yet harvested.
Immediate associations:
- belongs to: Tree Processor
- belongs_to: Inventory Tree
(
simulated=true)
- belongs_to: Harvested Tree
(
simulated=false)
- has many: Tree Log Locations
- has one: Tree Log Sawmill Measurement
- has many: Boards
- has many: Quality Indicator Items
[
qualifiable=tree_log]
List tree logs
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
simulated | boolean Filter by the given tree log being simulated or not |
harvested_tree_id | string <uuid> (Universally unique identitifier) Filter by harvested tree ID |
inventory_tree_id | string <uuid> (Universally unique identitifier) Filter by inventory tree ID |
tree_processor_id | string <uuid> (Universally unique identitifier) Filter by tree processor ID |
product_definition_id | string <uuid> (Universally unique identitifier) Filter by tree log production definition ID |
measured_at | string (TimeInterval) Filter by the measurement datetime interval |
external_id | string Filter by external identifier ID |
external_id_type | string Enum: "other" "rfid" "hammer" "barcode" "paint" Filter by external identifier type |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "simulated": true,
- "log_part": 0,
- "forced_cutting_reason": "automatic",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "bottom_height": 0,
- "top_height": 0,
- "biomass": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "inventory_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
Create tree log
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
measured_at required | string <date-time> |
simulated required | boolean True if not an actually harvested tree log. |
log_part | integer Log's position within the standing tree, from bottom to top. |
forced_cutting_reason | string Enum: "automatic" "decay" "damage" "crook" "sweep" "grade_break" "pulpwood_grade" "top_break" "spinning" "other_manual" |
length | number Unit: meter (m). |
small_end_diameter | integer Unit: tenth of millimeter (mm/10). |
middle_end_diameter | integer Unit: tenth of millimeter (mm/10). |
large_end_diameter | integer Unit: tenth of millimeter (mm/10). |
bottom_height | number Unit: meter (m). Log bottom height in the stem. |
top_height | number Unit: meter (m). Log top height in the stem. |
biomass | number Unit: cubic meter (m3). |
volume_ab | number Unit: cubic meter (m3). Total volume above bark (e.g. Smaliana). |
volume_bb | number Unit: cubic meter (m3). Total volume below bark (e.g. Smaliana). |
sweep | integer Unit: tenth of millimeter (mm/10). |
taper | integer Unit: tenth of millimeter (mm/10). |
required | Array of objects (ExternalIdentifier) |
tree_processor_id required | string <uuid> (Universally unique identitifier) |
harvested_tree_id | string <uuid> (Universally unique identitifier) |
inventory_tree_id | string <uuid> (Universally unique identitifier) |
product_definition_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "simulated": true,
- "log_part": 0,
- "forced_cutting_reason": "automatic",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "bottom_height": 0,
- "top_height": 0,
- "biomass": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_processor_id": "5b1f1314-624e-4e0e-8d0a-7d2a36382530",
- "harvested_tree_id": "e5e92a12-2704-43b5-bb27-c19911fc2548",
- "inventory_tree_id": "83382e8f-3d54-4223-bf83-8d1a8b3f5f6c",
- "product_definition_id": "ee3b7fed-4198-4ce5-b3a9-d0f9fced1bab"
}
Get tree log
Authorizations:
path Parameters
tree_log_id required | string Example: tree_log_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "simulated": true,
- "log_part": 0,
- "forced_cutting_reason": "automatic",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "bottom_height": 0,
- "top_height": 0,
- "biomass": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "inventory_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update tree log
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
tree_log_id required | string Example: tree_log_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
measured_at required | string <date-time> |
simulated required | boolean True if not an actually harvested tree log. |
log_part | integer Log's position within the standing tree, from bottom to top. |
forced_cutting_reason | string Enum: "automatic" "decay" "damage" "crook" "sweep" "grade_break" "pulpwood_grade" "top_break" "spinning" "other_manual" |
length | number Unit: meter (m). |
small_end_diameter | integer Unit: tenth of millimeter (mm/10). |
middle_end_diameter | integer Unit: tenth of millimeter (mm/10). |
large_end_diameter | integer Unit: tenth of millimeter (mm/10). |
bottom_height | number Unit: meter (m). Log bottom height in the stem. |
top_height | number Unit: meter (m). Log top height in the stem. |
biomass | number Unit: cubic meter (m3). |
volume_ab | number Unit: cubic meter (m3). Total volume above bark (e.g. Smaliana). |
volume_bb | number Unit: cubic meter (m3). Total volume below bark (e.g. Smaliana). |
sweep | integer Unit: tenth of millimeter (mm/10). |
taper | integer Unit: tenth of millimeter (mm/10). |
required | Array of objects (ExternalIdentifier) |
tree_processor_id required | string <uuid> (Universally unique identitifier) |
harvested_tree_id | string <uuid> (Universally unique identitifier) |
inventory_tree_id | string <uuid> (Universally unique identitifier) |
product_definition_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "simulated": true,
- "log_part": 0,
- "forced_cutting_reason": "automatic",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "bottom_height": 0,
- "top_height": 0,
- "biomass": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_processor_id": "5b1f1314-624e-4e0e-8d0a-7d2a36382530",
- "harvested_tree_id": "e5e92a12-2704-43b5-bb27-c19911fc2548",
- "inventory_tree_id": "83382e8f-3d54-4223-bf83-8d1a8b3f5f6c",
- "product_definition_id": "ee3b7fed-4198-4ce5-b3a9-d0f9fced1bab"
}
Indicates the location of a tree log at a given moment as recorded by a given tree processor.
Immediate associations:
- belongs to: Tree Log
List tree log locations
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
recorded_at | string (TimeInterval) Filter by original record datetime interval |
bbox | Array of numbers (BoundingBox) Example: bbox=11.1,43.2,12.8,44.9 Filter by intersection of location and bounding box |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "recorded_at": "2019-08-24T14:15:22Z",
- "related_overview": {
- "tree_log": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "simulated": true
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "operator_label": "string"
}
}, - "tree_log": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "simulated": true,
- "log_part": 0,
- "forced_cutting_reason": "automatic",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "bottom_height": 0,
- "top_height": 0,
- "biomass": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "inventory_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- null,
- null
], - [
- null,
- null
], - [
- null,
- null
], - [
- null,
- null
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- null,
- null
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": null,
- "name": null
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create tree log location
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
required | object (GeoJSONPoint) |
recorded_at required | string <date-time> |
tree_log_id required | string <uuid> (Universally unique identitifier) |
tree_processor_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "recorded_at": "2019-08-24T14:15:22Z",
- "tree_log_id": "db56064e-19b1-4da8-ac78-59ba604cf5df",
- "tree_processor_id": "5b1f1314-624e-4e0e-8d0a-7d2a36382530"
}
Get tree log location
Authorizations:
path Parameters
tree_log_location_id required | string Example: tree_log_location_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "recorded_at": "2019-08-24T14:15:22Z",
- "related_overview": {
- "tree_log": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "simulated": true
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "operator_label": "string"
}
}, - "tree_log": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "simulated": true,
- "log_part": 0,
- "forced_cutting_reason": "automatic",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "bottom_height": 0,
- "top_height": 0,
- "biomass": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "inventory_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update tree log location
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
tree_log_location_id required | string Example: tree_log_location_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
required | object (GeoJSONPoint) |
recorded_at required | string <date-time> |
tree_log_id required | string <uuid> (Universally unique identitifier) |
tree_processor_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "recorded_at": "2019-08-24T14:15:22Z",
- "tree_log_id": "db56064e-19b1-4da8-ac78-59ba604cf5df",
- "tree_processor_id": "5b1f1314-624e-4e0e-8d0a-7d2a36382530"
}
Legal entities that manage sawing operations.
Immediate associations:
- has many: Sawmill Sites
List sawmill companies
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
created_at | string (TimeInterval) Filter by creation datetime interval |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create sawmill company
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
Get sawmill company
Authorizations:
path Parameters
sawmill_company_id required | string Example: sawmill_company_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update sawmill company
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
sawmill_company_id required | string Example: sawmill_company_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
Industrial facilities focused on sawing operations.
Immediate associations:
- belongs to: Sawmill Company
- has many: Sawlines
- has many: Sawmill Batches
List sawmill sites
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
created_at | string (TimeInterval) Filter by creation datetime interval |
company_id | string <uuid> (Universally unique identitifier) Filter by sawmill company ID |
bbox | Array of numbers (BoundingBox) Example: bbox=11.1,43.2,12.8,44.9 Filter by intersection of location and bounding box |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create sawmill site
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
object (GeoJSONPoint) | |
country_iso | string Uppercase country code (ISO 3166-1 alpha-2). |
company_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "company_id": "b2e6a1c3-1a5e-44ae-a8fd-81f76fd715cf"
}
Get sawmill site
Authorizations:
path Parameters
sawmill_site_id required | string Example: sawmill_site_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update sawmill site
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
sawmill_site_id required | string Example: sawmill_site_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
object (GeoJSONPoint) | |
country_iso | string Uppercase country code (ISO 3166-1 alpha-2). |
company_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "company_id": "b2e6a1c3-1a5e-44ae-a8fd-81f76fd715cf"
}
At a sawline, tree logs are processed into lumber through a series of cutting and sorting operations.
Immediate associations:
- belongs to: Sawmill Site
List sawlines
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
type | string Search by type |
created_at | string (TimeInterval) Filter by creation datetime interval |
sawmill_site_id | string <uuid> (Universally unique identitifier) Filter by sawmill site ID |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "related_overview": {
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create sawline
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
type required | string |
sawmill_site_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "sawmill_site_id": "d61af51c-2e98-4797-912e-e9214d4c6327"
}
Get sawline
Authorizations:
path Parameters
sawline_id required | string Example: sawline_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "related_overview": {
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update sawline
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
sawline_id required | string Example: sawline_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
type required | string |
sawmill_site_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "sawmill_site_id": "d61af51c-2e98-4797-912e-e9214d4c6327"
}
Generic attachment files for a sawline.
Immediate associations:
- belongs to: Sawline
List sawline attachments
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
sawline_id | string <uuid> (Universally unique identitifier) Filter by sawline ID |
name | string Search by name |
type | string Filter by type |
category | string Enum: "office" "image" "geo_vector" "geo_raster" "data_exchange" "archive" Filter by category |
tag | string Filter by tag |
sort_by | string Default: "newest" Enum: "newest" "oldest" "type" "name" "largest" "smallest" Sort results |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "category": "office",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "sawline": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create sawline attachment
Authorizations:
Request Body schema: multipart/form-data
attachment:sawline_id required | string <uuid> |
attachment:name | string If missing it will default to the filename without extension |
attachment:tags | Array of strings |
attachment:description | string |
attachment:file required | string <binary> |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "category": "office",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "sawline": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Get sawline attachment
Authorizations:
path Parameters
sawline_attachment_id required | string Example: sawline_attachment_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "string",
- "category": "office",
- "size": 0,
- "url": "string",
- "description": "string",
- "tags": [
- "string"
], - "related_overview": {
- "sawline": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update sawline attachment
Bearer token with scope sawmill_write
required.
Authorizations:
path Parameters
sawline_attachment_id required | string Example: sawline_attachment_id |
Request Body schema: application/jsonrequired
required | object | ||||||
|
Responses
Request samples
- Payload
{- "attachment": {
- "name": "string",
- "description": "string",
- "tags": [
- "string"
]
}
}
Sets of boards produced as a single group on a given sawmill site.
Immediate associations:
- belongs to: Sawmill Site
- has many: Boards
List sawmill batches
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
sawmill_site_id | string <uuid> (Universally unique identitifier) Filter by sawmill site ID |
external_id | string Filter by external identifier ID |
created_at | string (TimeInterval) Filter by creation datetime interval |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_id": "string",
- "related_overview": {
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create sawmill batch
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
external_id | string |
sawmill_site_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_id": "string",
- "sawmill_site_id": "d61af51c-2e98-4797-912e-e9214d4c6327"
}
Get sawmill batch
Authorizations:
path Parameters
sawmill_batch_id required | string Example: sawmill_batch_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_id": "string",
- "related_overview": {
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update sawmill batch
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
sawmill_batch_id required | string Example: sawmill_batch_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
external_id | string |
sawmill_site_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_id": "string",
- "sawmill_site_id": "d61af51c-2e98-4797-912e-e9214d4c6327"
}
Measurements of a given log as part of a sawmill batch.
Immediate associations:
- belongs to: Tree Log
[
simulated=false]
List tree log sawmill measurements
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
sawmill_batch_id | string <uuid> (Universally unique identitifier) Filter by sawmill batch ID |
processed_at | string (TimeInterval) Filter by processing datetime interval |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "tree_log_id": "db56064e-19b1-4da8-ac78-59ba604cf5df",
- "processed_at": "2019-08-24T14:15:22Z",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "related_overview": {
- "sawmill_batch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "sawmill_batch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_id": "string",
- "related_overview": {
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
Create tree log sawmill measurement
Bearer token with scope sawmill_write
required.
Authorizations:
Request Body schema: application/jsonrequired
tree_log_id required | string <uuid> (Universally unique identitifier) |
processed_at required | string <date-time> |
length | number Unit: meter (m). |
small_end_diameter | integer Unit: tenth of millimeter (mm/10). |
middle_end_diameter | integer Unit: tenth of millimeter (mm/10). |
large_end_diameter | integer Unit: tenth of millimeter (mm/10). |
volume_ab | number Unit: cubic meter (m3). Total volume above bark (e.g. Smaliana). |
volume_bb | number Unit: cubic meter (m3). Total volume below bark (e.g. Smaliana). |
sweep | integer Unit: tenth of millimeter (mm/10). |
taper | integer Unit: tenth of millimeter (mm/10). |
sawmill_batch_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "tree_log_id": "db56064e-19b1-4da8-ac78-59ba604cf5df",
- "processed_at": "2019-08-24T14:15:22Z",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "sawmill_batch_id": "8f6d0ea6-413b-49e5-a151-986619298529"
}
Get tree log sawmill measurement
Authorizations:
path Parameters
tree_log_id required | string Example: tree_log_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "tree_log_id": "db56064e-19b1-4da8-ac78-59ba604cf5df",
- "processed_at": "2019-08-24T14:15:22Z",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "related_overview": {
- "sawmill_batch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "sawmill_batch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_id": "string",
- "related_overview": {
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update tree log sawmill measurement
Bearer token with scope sawmill_write
required.
Authorizations:
path Parameters
tree_log_sawmill_measurement_id required | string Example: tree_log_sawmill_measurement_id |
Request Body schema: application/jsonrequired
tree_log_id required | string <uuid> (Universally unique identitifier) |
processed_at required | string <date-time> |
length | number Unit: meter (m). |
small_end_diameter | integer Unit: tenth of millimeter (mm/10). |
middle_end_diameter | integer Unit: tenth of millimeter (mm/10). |
large_end_diameter | integer Unit: tenth of millimeter (mm/10). |
volume_ab | number Unit: cubic meter (m3). Total volume above bark (e.g. Smaliana). |
volume_bb | number Unit: cubic meter (m3). Total volume below bark (e.g. Smaliana). |
sweep | integer Unit: tenth of millimeter (mm/10). |
taper | integer Unit: tenth of millimeter (mm/10). |
sawmill_batch_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "tree_log_id": "db56064e-19b1-4da8-ac78-59ba604cf5df",
- "processed_at": "2019-08-24T14:15:22Z",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "sawmill_batch_id": "8f6d0ea6-413b-49e5-a151-986619298529"
}
Specific wood quality classes associated with boards.
Immediate associations:
- has many: Boards
List board classes
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
name | string Search by name |
group_name | string Search by group name |
created_at | string (TimeInterval) Filter by creation datetime interval |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "group_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create board class
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
group_name required | string |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "group_name": "string"
}
Get board class
Authorizations:
path Parameters
board_class_id required | string Example: board_class_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "group_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update board class
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
board_class_id required | string Example: board_class_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
group_name required | string |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "group_name": "string"
}
Lumber boards belonging to a specific class and sawmill batch.
Immediate associations:
- belongs to: Sawmill Batch
- belongs to: Board Class
- belongs to: Tree Log
- has many: Quality Indicator Items
[
qualifiable=board]
List boards
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
tree_log_id | string <uuid> (Universally unique identitifier) Filter by tree log ID |
sawmill_batch_id | string <uuid> (Universally unique identitifier) Filter by sawmill batch ID |
board_class_id | string <uuid> (Universally unique identitifier) Filter by board class ID |
external_id | string Filter by external identifier ID |
external_id_type | string Enum: "other" "rfid" "hammer" "barcode" "paint" Filter by external identifier type |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "thickness": 0,
- "width": 0,
- "length": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_log": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "simulated": true,
- "log_part": 0,
- "forced_cutting_reason": "automatic",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "bottom_height": 0,
- "top_height": 0,
- "biomass": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "inventory_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- null,
- null
], - [
- null,
- null
], - [
- null,
- null
], - [
- null,
- null
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- null,
- null
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": null,
- "name": null
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "sawmill_batch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_id": "string",
- "related_overview": {
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "board_class": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "group_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create board
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
measured_at required | string <date-time> |
thickness required | integer Unit: tenth of millimeter (mm/10). |
width required | integer Unit: tenth of millimeter (mm/10). |
length required | integer Unit: tenth of millimeter (mm/10). |
required | Array of objects (ExternalIdentifier) |
tree_log_id required | string <uuid> (Universally unique identitifier) |
sawmill_batch_id required | string <uuid> (Universally unique identitifier) |
board_class_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "thickness": 0,
- "width": 0,
- "length": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_log_id": "db56064e-19b1-4da8-ac78-59ba604cf5df",
- "sawmill_batch_id": "8f6d0ea6-413b-49e5-a151-986619298529",
- "board_class_id": "d0e333af-2977-4485-aecc-ffed922f3e62"
}
Get board
Authorizations:
path Parameters
board_id required | string Example: board_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "thickness": 0,
- "width": 0,
- "length": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_log": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "simulated": true,
- "log_part": 0,
- "forced_cutting_reason": "automatic",
- "length": 0,
- "small_end_diameter": 0,
- "middle_end_diameter": 0,
- "large_end_diameter": 0,
- "bottom_height": 0,
- "top_height": 0,
- "biomass": 0,
- "volume_ab": 0,
- "volume_bb": 0,
- "sweep": 0,
- "taper": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "inventory_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}, - "sawmill_batch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "external_id": "string",
- "related_overview": {
- "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "sawmill_site": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "country_iso": "IT",
- "related_overview": {
- "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "company": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "board_class": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "group_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update board
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
board_id required | string Example: board_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
measured_at required | string <date-time> |
thickness required | integer Unit: tenth of millimeter (mm/10). |
width required | integer Unit: tenth of millimeter (mm/10). |
length required | integer Unit: tenth of millimeter (mm/10). |
required | Array of objects (ExternalIdentifier) |
tree_log_id required | string <uuid> (Universally unique identitifier) |
sawmill_batch_id required | string <uuid> (Universally unique identitifier) |
board_class_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "thickness": 0,
- "width": 0,
- "length": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_log_id": "db56064e-19b1-4da8-ac78-59ba604cf5df",
- "sawmill_batch_id": "8f6d0ea6-413b-49e5-a151-986619298529",
- "board_class_id": "d0e333af-2977-4485-aecc-ffed922f3e62"
}
Specification of a quality feature for trees, tree logs, or boards.
Immediate associations:
- has many: Quality Indicator Items
List quality indicators
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
name | string Search by name |
kind | string Enum: "tree" "tree_log" "board" Filter by indicator kind |
sort_by | string Default: "newest" Enum: "newest" "oldest" "name" Sort results by creation date or name |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "kind": "tree",
- "value_schema": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create quality indicator
Bearer token with scope quality_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
name required | string |
description required | string |
kind required | string Enum: "tree" "tree_log" "board" |
required | object JSON Schema object |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "kind": "tree",
- "value_schema": { }
}
Get quality indicator
Authorizations:
path Parameters
quality_indicator_id required | string Example: quality_indicator_id |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "kind": "tree",
- "value_schema": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update quality indicator
Bearer token with scope quality_write
required.
path Parameters
quality_indicator_id required | string Example: quality_indicator_id |
Request Body schema: application/jsonrequired
required | object | ||||
|
Responses
Request samples
- Payload
{- "quality_indicator": {
- "name": "string",
- "description": "string"
}
}
Instance values of a quality indicator for a specific entity item.
Immediate associations:
- belongs to: Quality Indicator
- belongs to: qualifiable
{
Harvested Tree|
Inventory Tree|
Tree Log|
Board}
List quality indicator items
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
qualifiable_type | string Enum: "inventory_tree" "harvested_tree" "tree_log" "board" Filter by qualifiable type |
harvested_tree_id | string <uuid> (Universally unique identitifier) Filter by harvested tree ID |
inventory_tree_id | string <uuid> (Universally unique identitifier) Filter by inventory tree ID |
tree_log_id | string <uuid> (Universally unique identitifier) Filter by tree log ID |
board_id | string <uuid> (Universally unique identitifier) Filter by board ID |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "value": { },
- "start_position": 0,
- "end_position": 0,
- "qualifiable_type": "inventory_tree",
- "related_overview": {
- "indicator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "inventory_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "tree_log": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "board": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "indicator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "kind": "tree",
- "value_schema": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "qualifiable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
Create quality indicator item
Bearer token with scope quality_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
required | object |
start_position | number |
end_position | number |
qualifiable_id required | string <uuid> (Universally unique identitifier) |
qualifiable_type required | string Enum: "inventory_tree" "harvested_tree" "tree_log" "board" |
indicator_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "value": { },
- "start_position": 0,
- "end_position": 0,
- "qualifiable_id": "66c02e49-115c-49c3-99ea-28fcdb62b978",
- "qualifiable_type": "inventory_tree",
- "indicator_id": "f81eef5f-65bd-4ca0-ad15-4c29e7ba67ee",
- "qualifiable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "harvested_tree_id": "e5e92a12-2704-43b5-bb27-c19911fc2548",
- "sample_plot_id": "dbf8a575-aa48-432f-8e2f-585e90f120b0",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
]
}
}
Get quality indicator item
Authorizations:
path Parameters
quality_indicator_item_id required | string Example: quality_indicator_item_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "value": { },
- "start_position": 0,
- "end_position": 0,
- "qualifiable_type": "inventory_tree",
- "related_overview": {
- "indicator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "inventory_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "tree_log": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "board": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "indicator": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "kind": "tree",
- "value_schema": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "qualifiable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "harvested_tree": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "field_mark": "string",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "altitude": 0,
- "exposition": "string",
- "slope": 0,
- "variety": "string",
- "co2_capture": 0,
- "distance_to_road": 0,
- "biomass": 0,
- "subcompartmentable_type": "forest_operation",
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "subcompartmentable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "measured_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "shape": "circle",
- "boundaries": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
]
}, - "radius": 0,
- "length": 0,
- "width": 0,
- "sample_area": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
Update quality indicator item
Bearer token with scope quality_write
required.
Authorizations:
path Parameters
quality_indicator_item_id required | string Example: quality_indicator_item_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
required | object |
start_position | number |
end_position | number |
qualifiable_id required | string <uuid> (Universally unique identitifier) |
qualifiable_type required | string Enum: "inventory_tree" "harvested_tree" "tree_log" "board" |
indicator_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "value": { },
- "start_position": 0,
- "end_position": 0,
- "qualifiable_id": "66c02e49-115c-49c3-99ea-28fcdb62b978",
- "qualifiable_type": "inventory_tree",
- "indicator_id": "f81eef5f-65bd-4ca0-ad15-4c29e7ba67ee",
- "qualifiable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "harvested_tree_id": "e5e92a12-2704-43b5-bb27-c19911fc2548",
- "sample_plot_id": "dbf8a575-aa48-432f-8e2f-585e90f120b0",
- "measured_at": "2019-08-24T14:15:22Z",
- "planted_at": "2019-08-24T14:15:22Z",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "dbh": 0,
- "biomass": 0,
- "volume": 0,
- "height": 0,
- "external_identifiers": [
- {
- "id": "string",
- "type": "other"
}
]
}
}
List harvesting reports
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
forest_reportable_type | string Enum: "forest_operation" "sample_plot" "subcompartment" Filter by forest reportable type |
forest_operation_id | string <uuid> (Universally unique identitifier) Filter by forest operation ID |
subcompartment_id | string <uuid> (Universally unique identitifier) Filter by subcompartment ID |
sample_plot_id | string <uuid> (Universally unique identitifier) Filter by sample plot ID |
tree_species_id | string <uuid> (Universally unique identitifier) Filter by tree species ID |
origin_property_id | string <uuid> (Universally unique identitifier) Filter by the ID of the forest property of origin |
origin_property_owner_id | string <uuid> (Universally unique identitifier) Filter by the owner ID of the forest property of origin |
origin_property_country_iso | string Filter by the country (ISO 3166-1 alpha-2) of the forest property of origin |
tree_processor_id | string <uuid> (Universally unique identitifier) Filter by tree processor ID |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "forest_reportable_type": "forest_operation",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "stem_count": 0,
- "mean_height": 0,
- "mean_dbh": 0,
- "volume": 0,
- "biomass": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
Create harvesting report
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
tree_species_id | string <uuid> (Universally unique identitifier) |
forest_reportable_id required | string <uuid> (Universally unique identitifier) |
forest_reportable_type required | string Enum: "forest_operation" "sample_plot" "subcompartment" |
stem_count | integer |
mean_height | number Unit: meter (m). |
mean_dbh | number Unit: centimeter (cm). |
volume | number Unit: cubic meter (m3). |
biomass | number Unit: tonne (t). |
object | |
tree_processor_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "forest_reportable_id": "57e232dd-6652-425b-b69c-d6ae4e38bbdf",
- "forest_reportable_type": "forest_operation",
- "stem_count": 0,
- "mean_height": 0,
- "mean_dbh": 0,
- "volume": 0,
- "biomass": 0,
- "additional_info": { },
- "tree_processor_id": "5b1f1314-624e-4e0e-8d0a-7d2a36382530"
}
Get harvesting report
Authorizations:
path Parameters
harvesting_report_id required | string Example: harvesting_report_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "forest_reportable_type": "forest_operation",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "stem_count": 0,
- "mean_height": 0,
- "mean_dbh": 0,
- "volume": 0,
- "biomass": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update harvesting report
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
harvesting_report_id required | string Example: harvesting_report_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
tree_species_id | string <uuid> (Universally unique identitifier) |
forest_reportable_id required | string <uuid> (Universally unique identitifier) |
forest_reportable_type required | string Enum: "forest_operation" "sample_plot" "subcompartment" |
stem_count | integer |
mean_height | number Unit: meter (m). |
mean_dbh | number Unit: centimeter (cm). |
volume | number Unit: cubic meter (m3). |
biomass | number Unit: tonne (t). |
object | |
tree_processor_id required | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "forest_reportable_id": "57e232dd-6652-425b-b69c-d6ae4e38bbdf",
- "forest_reportable_type": "forest_operation",
- "stem_count": 0,
- "mean_height": 0,
- "mean_dbh": 0,
- "volume": 0,
- "biomass": 0,
- "additional_info": { },
- "tree_processor_id": "5b1f1314-624e-4e0e-8d0a-7d2a36382530"
}
List inventory reports
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
forest_reportable_type | string Enum: "forest_operation" "sample_plot" "subcompartment" Filter by forest reportable type |
forest_operation_id | string <uuid> (Universally unique identitifier) Filter by forest operation ID |
subcompartment_id | string <uuid> (Universally unique identitifier) Filter by subcompartment ID |
sample_plot_id | string <uuid> (Universally unique identitifier) Filter by sample plot ID |
tree_species_id | string <uuid> (Universally unique identitifier) Filter by tree species ID |
origin_property_id | string <uuid> (Universally unique identitifier) Filter by the ID of the forest property of origin |
origin_property_owner_id | string <uuid> (Universally unique identitifier) Filter by the owner ID of the forest property of origin |
origin_property_country_iso | string Filter by the country (ISO 3166-1 alpha-2) of the forest property of origin |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "forest_reportable_type": "forest_operation",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "age": 0,
- "stem_count": 0,
- "mean_height": 0,
- "mean_dbh": 0,
- "volume": 0,
- "biomass": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}
}
]
Create inventory report
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
tree_species_id | string <uuid> (Universally unique identitifier) |
forest_reportable_id required | string <uuid> (Universally unique identitifier) |
forest_reportable_type required | string Enum: "forest_operation" "sample_plot" "subcompartment" |
age | number Unit: year (a). |
stem_count | integer |
mean_height | number Unit: meter (m). |
mean_dbh | number Unit: centimeter (cm). |
volume | number Unit: cubic meter (m3). |
biomass | number Unit: tonne (t). |
object |
Responses
Request samples
- Payload
{- "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "forest_reportable_id": "57e232dd-6652-425b-b69c-d6ae4e38bbdf",
- "forest_reportable_type": "forest_operation",
- "age": 0,
- "stem_count": 0,
- "mean_height": 0,
- "mean_dbh": 0,
- "volume": 0,
- "biomass": 0,
- "additional_info": { }
}
Get inventory report
Authorizations:
path Parameters
inventory_report_id required | string Example: inventory_report_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "forest_reportable_type": "forest_operation",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "age": 0,
- "stem_count": 0,
- "mean_height": 0,
- "mean_dbh": 0,
- "volume": 0,
- "biomass": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}
}
Update inventory report
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
inventory_report_id required | string Example: inventory_report_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
tree_species_id | string <uuid> (Universally unique identitifier) |
forest_reportable_id required | string <uuid> (Universally unique identitifier) |
forest_reportable_type required | string Enum: "forest_operation" "sample_plot" "subcompartment" |
age | number Unit: year (a). |
stem_count | integer |
mean_height | number Unit: meter (m). |
mean_dbh | number Unit: centimeter (cm). |
volume | number Unit: cubic meter (m3). |
biomass | number Unit: tonne (t). |
object |
Responses
Request samples
- Payload
{- "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "forest_reportable_id": "57e232dd-6652-425b-b69c-d6ae4e38bbdf",
- "forest_reportable_type": "forest_operation",
- "age": 0,
- "stem_count": 0,
- "mean_height": 0,
- "mean_dbh": 0,
- "volume": 0,
- "biomass": 0,
- "additional_info": { }
}
List tree log reports
Authorizations:
query Parameters
page | integer Default: 1 Page number |
per_page | integer Default: 25 Maximum number of items per page, with an upper limit of 100 |
created_at | string (TimeInterval) Filter by creation datetime interval |
forest_reportable_type | string Enum: "forest_operation" "sample_plot" "subcompartment" Filter by forest reportable type |
forest_operation_id | string <uuid> (Universally unique identitifier) Filter by forest operation ID |
subcompartment_id | string <uuid> (Universally unique identitifier) Filter by subcompartment ID |
sample_plot_id | string <uuid> (Universally unique identitifier) Filter by sample plot ID |
tree_species_id | string <uuid> (Universally unique identitifier) Filter by tree species ID |
origin_property_id | string <uuid> (Universally unique identitifier) Filter by the ID of the forest property of origin |
origin_property_owner_id | string <uuid> (Universally unique identitifier) Filter by the owner ID of the forest property of origin |
origin_property_country_iso | string Filter by the country (ISO 3166-1 alpha-2) of the forest property of origin |
sort_by | string Default: "newest" Enum: "newest" "oldest" Sort results by creation date |
Responses
Response samples
- 200
[- {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "forest_reportable_type": "forest_operation",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "volume": 0,
- "mean_length": 0,
- "mean_sed": 0,
- "summed_sed": 0,
- "sed_histogram": { },
- "tree_log_count": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "cutting_instruction_set": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "cutting_instruction_set": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source": "string",
- "tree_log_product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
]
Create tree log report
Bearer token with scope inventory_write
required.
Authorizations:
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
tree_species_id | string <uuid> (Universally unique identitifier) |
forest_reportable_id required | string <uuid> (Universally unique identitifier) |
forest_reportable_type required | string Enum: "forest_operation" "sample_plot" "subcompartment" |
volume | number Unit: cubic meter (m3). |
mean_length | number Unit: meter (m). |
mean_sed | number Unit: tenth of millimeter (mm/10). |
summed_sed | number Unit: tenth of millimeter (mm/10). |
object | |
tree_log_count required | integer |
object | |
tree_processor_id | string <uuid> (Universally unique identitifier) |
cutting_instruction_set_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "forest_reportable_id": "57e232dd-6652-425b-b69c-d6ae4e38bbdf",
- "forest_reportable_type": "forest_operation",
- "volume": 0,
- "mean_length": 0,
- "mean_sed": 0,
- "summed_sed": 0,
- "sed_histogram": { },
- "tree_log_count": 0,
- "additional_info": { },
- "tree_processor_id": "5b1f1314-624e-4e0e-8d0a-7d2a36382530",
- "cutting_instruction_set_id": "908ca8e7-440d-47f2-ba0f-89cc63bd008e"
}
Get tree log report
Authorizations:
path Parameters
tree_log_report_id required | string Example: tree_log_report_id |
query Parameters
expand_related required | boolean Include expanded related associations; otherwise, only a summary is provided in |
Responses
Response samples
- 200
{- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "related_overview": {
- "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}
}, - "forest_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "ownership_type": "public",
- "country_iso": "IT",
- "subdivision_iso": "IT-52",
- "description": "string",
- "related_overview": {
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "legal_entity",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "forest_reportable_type": "forest_operation",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "volume": 0,
- "mean_length": 0,
- "mean_sed": 0,
- "summed_sed": 0,
- "sed_histogram": { },
- "tree_log_count": 0,
- "additional_info": { },
- "related_overview": {
- "forest_operation": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "sample_plot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subcompartment": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "origin_property": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "country_iso": "string"
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "cutting_instruction_set": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_processor": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "harvester",
- "operator_label": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "cutting_instruction_set": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "source": "string",
- "tree_log_product_definition": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "max_sweep": 0,
- "max_length": 0,
- "min_length": 0,
- "min_small_end_diameter": 0,
- "max_small_end_diameter": 0,
- "min_large_end_diameter": 0,
- "max_large_end_diameter": 0,
- "related_overview": {
- "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
}, - "tree_species": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "common_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update tree log report
Bearer token with scope inventory_write
required.
Authorizations:
path Parameters
tree_log_report_id required | string Example: tree_log_report_id |
Request Body schema: application/jsonrequired
id required | string <uuid> (Universally unique identitifier) |
tree_species_id | string <uuid> (Universally unique identitifier) |
forest_reportable_id required | string <uuid> (Universally unique identitifier) |
forest_reportable_type required | string Enum: "forest_operation" "sample_plot" "subcompartment" |
volume | number Unit: cubic meter (m3). |
mean_length | number Unit: meter (m). |
mean_sed | number Unit: tenth of millimeter (mm/10). |
summed_sed | number Unit: tenth of millimeter (mm/10). |
object | |
tree_log_count required | integer |
object | |
tree_processor_id | string <uuid> (Universally unique identitifier) |
cutting_instruction_set_id | string <uuid> (Universally unique identitifier) |
Responses
Request samples
- Payload
{- "forest_reportable": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "planned",
- "type": "thinning",
- "manager": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "location": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "area": 0,
- "productive_area": 0,
- "harvested_area": 0,
- "forest_property_id": "5d6232cf-1bc2-4d95-b482-70ba73bac5a0"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tree_species_id": "14e60a59-fa80-4ddf-9d9b-8dbb245693e8",
- "forest_reportable_id": "57e232dd-6652-425b-b69c-d6ae4e38bbdf",
- "forest_reportable_type": "forest_operation",
- "volume": 0,
- "mean_length": 0,
- "mean_sed": 0,
- "summed_sed": 0,
- "sed_histogram": { },
- "tree_log_count": 0,
- "additional_info": { },
- "tree_processor_id": "5b1f1314-624e-4e0e-8d0a-7d2a36382530",
- "cutting_instruction_set_id": "908ca8e7-440d-47f2-ba0f-89cc63bd008e"
}