# Save Package Component Hier Save Package Component Hier Endpoint: POST /rest/2.0/PACKAGE_COMPONENT_HIER Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.PackageId` (string, required) PackageId - `brmObjects.Id` (string, required) Id - `brmObjects.PackageComponentLabel` (string) PackageComponentLabel - `brmObjects.ProductId` (integer, required) ProductId: Billing Component - `brmObjects.PackageComponentPath` (string) PackageComponentPath - `brmObjects.PackageComponentLabelHier` (string) PackageComponentLabelHier ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.PackageId` (string) PackageId - `retrieveResponse.Id` (string) Id - `retrieveResponse.PackageComponentLabel` (string) PackageComponentLabel - `retrieveResponse.ProductId` (integer) ProductId: Billing Component - `retrieveResponse.PackageComponentPath` (string) PackageComponentPath - `retrieveResponse.PackageComponentLabelHier` (string) PackageComponentLabelHier ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error