Get complete hierarchical structure of load categories
GET/truckers/categories/sections
Returns the complete hierarchical structure of merchandise categories:
- Sections: Highest level of classification (e.g., Section I - Live Animals)
- Chapters: Subdivisions within sections (e.g., Chapter 01 - Live Animals)
- Headings: 4-digit codes within chapters (e.g., 0101 - Horses, asses)
- Subheadings: 6-digit codes within headings (e.g., 010121 - Breeding animals)
Data Processing:
- Normalize titles by removing prefixes like section, chapter, etc.
- Combine and clean descriptive labels (remove -, :, extra spaces)
- Sort results alphabetically by title
Use Cases:
- Display complete category navigation tree
- Obtain complete reference for mapping merchandise codes
- Integrate with systems requiring the complete hierarchical structure
Example Response:
[
{
section: {
title: I,
label: Live animals and animal products
},
chapter: {
title: 01,
label: Live animals
},
heading: {
title: 0101,
label: Live horses, asses, mules and hinnies
},
subheading: {
title: 010121,
label: Pure-bred breeding animals
}
}
]
Responses
- 200
- 401
- 500
Array with the complete category structure. Each item contains:
- section: Main section (e.g., Section I)
- chapter: Chapter (optional, e.g., Chapter 01)
- heading: Heading (optional, e.g., 0101)
- subheading: Subheading (optional, e.g., 010121)
Unauthorized - Invalid or missing JWT token
Internal Server Error