Material Categories

API endpoints for managing material categories

GET /materials/categories

Get List of Materials Categories (Without Pagination) Endpoint

Endpoint: GET /open-api/v1/materials/categories

Description

Fetches a complete list of material categories from the Simplio3D API without pagination.

Request Headers

  • Authorization: Bearer token required.

Sample Request

GET /open-api/v1/materials/categories HTTP/1.1
Host: api.simplio3d.com
Authorization: Bearer {your_api_token}

Response

  • Status Code: 200 OK

  • Body: A JSON array containing the material categories available.

  • [
        {
            "id": "1",
            "name": "Wood"
        },
        {
            "id": "2",
            "name": "Metal"
        }
        // ... other categories
    ]

    Error Handling

    • 401 Unauthorized: If the authorization token is missing or invalid.

    • 500 Internal Server Error: For generic server-side errors.

GET /materials/categories/{id}

Get a Specific Material Category by ID

GET /open-api/v1/materials/categories/{id} HTTP/1.1
Host: api.simplio3d.com
Authorization: Bearer {your_api_token}

Response

  • Status Code: 200 OK

  • Materials Not Found: 404

  • Unauthorized: 401

Last updated

Was this helpful?