---
title: "Get Soil For Structure With Id"
method: GET
path: "/v1/structures/{structure_id}/soil-properties"
tags: ["structures"]
---

# Get Soil For Structure With Id

`GET /v1/structures/{structure_id}/soil-properties`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/structures/{structure_id}/soil-properties`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

This endpoint retrieves the soil properties associated with a structure by its ID, if any.
The structure ID should be provided as a path parameter in the URL.

## Path parameters

- `structure_id` string, required

## Response `200`

Successful Response

- SoilPropertiesView[]
  - `id` integer, required
  - `soilDensity` number, required
  - `heightOfSoil` number, required
  - `angleOfFriction` number, required
  - `cohesionOfSoil` number, required

## Other responses

- `404`: Not found structure or soil properties
- `422`: Validation Error

---

[API](https://skmtc.dev/shapemaker/apis/shapemaker-api.md) - [All operations](https://skmtc.dev/shapemaker/apis/shapemaker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shapemaker/apis/shapemaker-api/revisions/b8461cf1236c?raw)
