GoldLeaf DocumentationGoldLeaf Documentation
User Guide
API
User Guide
API
  • Getting Started

    • Introduction
    • API Key Types
    • Configuration
    • Limitations
  • E-Commerce Configurator

    • Introduction
    • Security Tokens
    • Setting up the Configurator
  • API Endpoints

    • Adaptor

      • [GET]adaptors-cross
      • [GET]adaptors-search
      • [GET]adaptor-{adaptorId}
      • [GET]adaptors-configuration
      • [POST]adaptors-create
      • [GET]organization-adaptors
      • [GET]organization-customadaptors
      • [POST]organization-adaptor-{adaptorId}-update
    • Brand

      • [GET]brands
      • [GET]hosebrands
      • [GET]adaptorbrands
      • [GET]wrapbrands
      • [GET]otheritembrands
      • [GET]brandnames
      • [POST]brand-{brandId}-delete
      • [POST]brand-{brandId}-update
      • [POST]brands-export
      • [GET]organization-defaultbrand
      • [GET]organization-defaultadaptorbrand
    • Component

      • [POST]components-import
      • [POST]components-exceltemplate
      • [POST]components-export
      • [GET]organization-components
    • CrimpFitting

      • [POST]crimpfittings-sizes
      • [POST]crimpfittings-create
      • [GET]crimpfitting-{crimpfittingId}
      • [POST]organization-crimpfitting-{crimpfittingId}-update
      • [GET]organization-couplingseries
      • [GET]organization-couplingseriesdetails
      • [GET]organization-crimpfittings
      • [GET]organization-crimpfittingswithferrules
      • [GET]organization-customcrimpfittings
    • Customer

      • [GET]customers
      • [GET]customernamess
      • [POST]customers-create
      • [GET]customer-{customerId}
      • [POST]customer-{customerId}-update
      • [POST]customer-{customerId}-delete
      • [POST]customers-exceltemplate
      • [POST]customers-export
      • [GET]customer-{customerId}-items
      • [POST]customer-{customerId}-item-{itemId}-update
      • [POST]customer-{customerId}-item-{itemId}-delete
      • [POST]customers-items-import
      • [POST]customers-items-exceltemplate
      • [POST]customer-{customerId}-items-export
      • [GET]customer-{customerId}-locations
      • [POST]customer-{customerId}-location-{locationId}-update
      • [POST]customer-{customerId}-location-{locationId}-delete
    • Ferrule

      • [POST]ferrules-create
      • [GET]ferrule-{ferruleId}
      • [GET]organization-ferrule
      • [POST]organization-ferrule-{ferruleId}-update
      • [GET]organization-ferrules
      • [GET]organization-customferrules
    • Gender

      • [GET]genders
    • Hose

      • [POST]hoses-sizes
      • [POST]hoses-create
      • [GET]hose-{hoseId}
      • [GET]hose-{hoseId}-crimpspecs
      • [POST]organization-hose-{hoseId}-update
      • [GET]organization-hoses
      • [GET]organization-customhoses
      • [GET]organization-hasparker
    • HoseAssembly

      • [POST]hoseassemblies-checkexisting
      • [POST]hoseassemblies-create
      • [POST]hoseassembly-:hoseAssemblyId-datasheet
      • [POST]hoseassembly-{hoseAssemblyId}-label
      • [GET]hoseassemblies
      • [GET]hoseassembly-{hoseAssemblyId}
      • [GET]hoseassemblies-parse
      • [POST]hoseassemblies-parsefeedback
      • [POST]hoseassembly-{hoseAssemblyId}-saveas
      • [POST]hoseassembly-:hoseAssemblyId-update
      • [POST]hoseassembly-:hoseAssemblyId-delete
      • [POST]hoseassembly-{hoseAssemblyId}-customers-update
      • [POST]hoseassembly-{hoseAssemblyId}-customers-delete
      • [POST]hoseassemblies-import
      • [POST]hoseassemblies-exceltemplate
      • [POST]hoseassemblies-export
      • [POST]hoseassembly-{hoseAssemblyId}-getBillOfMaterials
      • [POST]hoseassembly-{hoseAssemblyId}-getmarkenfile
      • [POST]hoseassembly-{hoseAssemblyId}-getparkerptsfile
      • [POST]hoseassembly-{hoseAssemblyId}-price
      • [POST]hoseassembly-price
      • [POST]hoseassembly-{hoseAssemblyId}-release
      • [POST]hoseassembly-{hoseAssemblyId}-unrelease
      • [POST]hoseassembly-{hoseAssemblyId}-obsolete
      • [POST]hoseassembly-{hoseAssemblyId}-newversion
      • [POST]hoseassembly-{hoseAssemblyId}-rollback
      • [POST]hoseassembly-{hoseAssemblyId}-revise
    • HoseKit

      • [POST]hosekits-checkexisting
      • [POST]hosekits-create
      • [GET]hosekits
      • [GET]hosekit-{hoseKitId}
      • [POST]hosekit-{hoseKitId}-update
      • [POST]hosekit-{hoseKitId}-release
      • [POST]hosekit-{hoseKitId}-newversion
      • [POST]hosekit-{hoseKitId}-rollback
      • [POST]hosekit-{hoseKitId}-revise
      • [POST]hosekit-{hoseKitId}-delete
      • [POST]hosekit-{hoseKitId}-addhoseassembly
      • [POST]hosekit-{hoseKitId}-addadaptor
      • [POST]hosekit-{hoseKitId}-addotheritem
      • [GET]hosekit-{hoseKitId}-hoseassemblies
      • [GET]hosekit-{hoseKitId}-adaptors
      • [GET]hosekit-{hoseKitId}-otheritems
      • [GET]hosekit-{hoseKitId}-allitems
      • [POST]hosekit-{hoseKitId}-item-{itemId}-delete
      • [POST]hosekit-{hoseKitId}-hoseassembly-{itemId}-update
      • [POST]hosekit-{hoseKitId}-adaptor-{itemId}-update
      • [POST]hosekit-{hoseKitId}-otheritem-{itemId}-update
      • [POST]hosekit-:hoseKitId-getHoseKitDataSheet
      • [POST]hosekit-{hoseKitId}-getBillOfMaterials
      • [POST]hosekit-{hoseKitId}-getmarkenfile
      • [POST]hosekit-{hoseKitId}-getparkerptsfile
      • [POST]hosekits-export
      • [POST]hosekit-{hoseKitId}-labels
      • [POST]hosekit-{hoseKitId}-price
    • Image

      • [GET]image-{belongsToId}
    • Inventory

      • [GET]inventory
      • [POST]inventory-import
      • [POST]inventory-exceltemplate
      • [POST]inventoryitems-export
      • [POST]inventoryitem-{inventoryItemId}-delete
      • [POST]inventoryitem-update
      • [GET]organization-hideinventory
    • Item

      • [GET]item-{itemId}
      • [GET]organization-items
      • [GET]organization-itemtypes
      • [GET]organization-pendingitems
      • [POST]organization-item-{itemId}-update
    • Organization

      • [GET]organization
      • [POST]organization-update
      • [GET]organization-defaults
      • [GET]organization-currencies
      • [POST]organization-currencies-update
      • [GET]organization-subscription
      • [GET]organization-erpname
      • [GET]organization-usebetafeatures
      • [POST]organization-acceptterms
      • [GET]organization-hasacceptedterms
      • [POST]organization-productgroups-update
      • [POST]organization-suppliers-update
      • [POST]organization-locations-update
      • [GET]organization-productgroups
      • [GET]organization-suppliers
      • [GET]organization-locations
      • [GET]organization-apikeys
      • [POST]organization-apikeys-{apiKeyId}-update
      • [POST]organization-apikeys-{apiKeyId}-delete
      • [GET]organization-nextpartnumber
      • [GET]organization-revisiondelimiter
      • [GET]organization-api-history
    • OtherItem

      • [POST]otheritems-create
      • [POST]otheritems-{itemId}-delete
      • [POST]otheritems-{itemId}-update
      • [GET]otheritem-{otherItemId}
      • [POST]organization-otheritem-{otherItemId}-update
      • [GET]organization-customotheritems
    • PriceList

      • [GET]pricelists
      • [GET]pricelistnames
      • [POST]pricelists-create
      • [GET]pricelist-{priceListId}
      • [POST]pricelist-{priceListId}-update
      • [POST]pricelist-{priceListId}-delete
      • [POST]pricelists-import
      • [POST]pricelists-exceltemplate
      • [POST]pricelists-export
    • SalesEstimate

      • [POST]salesestimates-checkexisting
      • [POST]salesestimates-create
      • [GET]salesestimates
      • [GET]salesestimate-{salesEstimateId}
      • [GET]salesestimate-{salesEstimateId}-currentpricing
      • [POST]salesestimate-{salesEstimateId}-update
      • [POST]salesestimate-{salesEstimateId}-item-{itemId}-update
      • [POST]salesestimate-{salesEstimateId}-item-{itemId}-delete
      • [POST]salesestimate-{salesEstimateId}-release
      • [POST]salesestimate-{salesEstimateId}-newversion
      • [POST]salesestimate-{salesEstimateId}-rollback
      • [POST]salesestimate-{salesEstimateId}-revise
      • [POST]salesestimate-:salesEstimateId-getSalesEstimateDataSheet
      • [POST]salesestimate-{salesEstimateId}-getBillOfMaterials
      • [GET]salesestimate-{salesEstimateId}-refresh
      • [GET]salesestimate-{salesEstimateId}-items
      • [POST]salesestimates-export
    • Shape

      • [GET]shapes
    • Size

      • [GET]hosesizes
      • [GET]endsizes
    • Style

      • [GET]styles
    • User

      • [GET]user
      • [POST]users-update
      • [POST]user-resetpassword
      • [GET]organization-userroles
      • [GET]organization-userrolesandsubscription
      • [GET]organization-roles
      • [POST]organization-users-invite
      • [POST]organization-user-{userId}-delete
      • [POST]organization-user-{userId}-remind
      • [GET]organization-users
    • Warehouse

      • [GET]warehouses
      • [GET]warehouse-{warehouseId}
      • [POST]warehouses-create
      • [POST]warehouse-{warehouseId}-delete
      • [POST]warehouse-{warehouseId}-update
      • [POST]warehouses-export
      • [POST]warehouses-import
      • [POST]warehouses-exceltemplate
      • [GET]organization-defaultwarehouse
    • WorkOrder

      • [POST]workorders-checkexisting
      • [POST]workorders-create
      • [GET]workorders
      • [GET]workorder-{workOrderId}
      • [POST]workorder-{workOrderId}-update
      • [POST]workorder-{workOrderId}-delete
      • [POST]workorder-{workOrderId}-addline
      • [POST]workorder-{workOrderId}-release
      • [POST]workorder-{workOrderId}-newversion
      • [POST]workorder-{workOrderId}-rollback
      • [POST]workorder-{workOrderId}-revise
      • [GET]workorder-{workOrderId}-items
      • [POST]workorder-{workOrderId}-item-{itemId}-delete
      • [POST]workorder-{workOrderId}-item-{itemId}-update
      • [POST]workorder-{workOrderId}-getWorkOrderDataSheet
      • [POST]workorder-{workOrderId}-getmarkenfile
      • [POST]workorder-{workOrderId}-getparkerptsfile
      • [POST]workorders-export
      • [POST]workorder-{workOrderId}-labels
    • Wrap

      • [POST]wraps-create
      • [GET]wrap-{wrapId}
      • [GET]organization-wrapstyles
      • [GET]organization-wrapcoverage
      • [POST]organization-wrap-{wrapId}-update
      • [GET]organization-wraps
      • [GET]organization-customwraps
  • API Schemas

    • Adaptor
    • Brand
    • BrandProperties
    • CrimpFitting
    • Customer
    • CustomerItemProperties
    • Ferrule
    • Hose
    • HoseAssembly
    • HoseKit
    • ImageProperties
    • InventoryItem
    • ItemProperties
    • Item
    • OrganizationCurrency
    • OrganizationOtherItem
    • OrganizationProperties
    • PriceList
    • PriceListItem
    • SalesEstimate
    • Warehouse
    • WorkOrder
    • Wrap

/hoseassemblies/create v1.0.0

Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

Base URLs:

  • https://goldleaf.app/api/v1

Hose Assembly

postHoseAssembliesCreate

Code samples

const inputBody = '{
  "type": "object",
  "required": [
    "params",
    "params.partNumber",
    "params.hose",
    "params.length"
  ],
  "properties": {
    "params": {
      "type": "object",
      "required": [
        "partNumber",
        "hose",
        "length"
      ],
      "properties": {
        "partNumber": {
          "type": "string",
          "description": "Assembly part number."
        },
        "revision": {
          "type": "string",
          "nullable": true
        },
        "hose": {
          "type": "string",
          "format": "mongo-id",
          "description": "MongoDB ID of the base hose."
        },
        "length": {
          "type": "number",
          "format": "decimal",
          "description": "Length of the assembly."
        },
        "hoseBrand": {
          "type": "string",
          "nullable": true
        },
        "hosePartNumber": {
          "type": "string",
          "nullable": true
        },
        "end1PartNumber": {
          "type": "string",
          "nullable": true
        },
        "end2PartNumber": {
          "type": "string",
          "nullable": true
        },
        "description": {
          "type": "string",
          "nullable": true
        },
        "modelCode": {
          "type": "string",
          "nullable": true
        },
        "tag": {
          "type": "string",
          "nullable": true
        },
        "lengthUnit": {
          "type": "string",
          "nullable": true
        },
        "lengthTolerance": {
          "type": "string",
          "nullable": true
        },
        "comments": {
          "type": "string",
          "nullable": true
        },
        "productionNotes": {
          "type": "string",
          "nullable": true
        },
        "printText": {
          "type": "string",
          "nullable": true
        },
        "vendorPartNumber": {
          "type": "string",
          "nullable": true
        },
        "customerPartNumber": {
          "type": "string",
          "nullable": true
        },
        "customerRevision": {
          "type": "string",
          "nullable": true
        },
        "customerName": {
          "type": "string",
          "nullable": true
        },
        "status": {
          "type": "string",
          "nullable": true
        },
        "manualDescription": {
          "type": "boolean",
          "nullable": true
        },
        "definedByCutLength": {
          "type": "boolean",
          "nullable": true
        },
        "proofTest": {
          "type": "boolean",
          "nullable": true
        },
        "burstTest": {
          "type": "boolean",
          "nullable": true
        },
        "WeightLbs": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "minPressurePsi": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "cutLengthEntered": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "orientation": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "proofTestPressureMultiplier": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "proofTestTimeMinutes": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "burstTestPressureMultiplier": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "burstTestTimeMinutes": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "wrapStyle": {
          "type": "object",
          "nullable": true,
          "properties": {
            "wrapType": {
              "type": "string",
              "nullable": true
            },
            "colour": {
              "type": "string",
              "nullable": true
            },
            "imageName": {
              "type": "string",
              "nullable": true
            },
            "coverage": {
              "type": "object",
              "nullable": true,
              "properties": {
                "coverageType": {
                  "type": "string",
                  "nullable": true
                },
                "imageName": {
                  "type": "string",
                  "nullable": true
                },
                "length": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                },
                "length2": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                },
                "offset": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                }
              }
            }
          }
        },
        "extraItems": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "itemType": {
                "type": "string",
                "nullable": true
              },
              "location": {
                "type": "string",
                "nullable": true
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "unitOfMeasure": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "number",
                "nullable": true
              },
              "quantity": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "order": {
                "type": "integer",
                "nullable": true
              },
              "item": {
                "type": "string",
                "format": "mongo-id",
                "nullable": true
              }
            }
          }
        },
        "end1": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "end2": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "ferrule1": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "ferrule2": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "wrap": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "customerOrgId": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        }
      }
    }
  }
}';
const headers = {
  'Content-Type':'application/json',
  'Accept':'application/json'
};

fetch('https://goldleaf.app/api/v1/hoseassemblies/create',
{
  method: 'POST',
  body: inputBody,
  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

POST /hoseassemblies/create

Create a new hose assembly

Creates a new hose assembly using the provided parameters. Requires admin, regular, or customer role.

Body parameter

{
  "type": "object",
  "required": ["params", "params.partNumber", "params.hose", "params.length"],
  "properties": {
    "params": {
      "type": "object",
      "required": ["partNumber", "hose", "length"],
      "properties": {
        "partNumber": {
          "type": "string",
          "description": "Assembly part number."
        },
        "revision": {
          "type": "string",
          "nullable": true
        },
        "hose": {
          "type": "string",
          "format": "mongo-id",
          "description": "MongoDB ID of the base hose."
        },
        "length": {
          "type": "number",
          "format": "decimal",
          "description": "Length of the assembly."
        },
        "hoseBrand": {
          "type": "string",
          "nullable": true
        },
        "hosePartNumber": {
          "type": "string",
          "nullable": true
        },
        "end1PartNumber": {
          "type": "string",
          "nullable": true
        },
        "end2PartNumber": {
          "type": "string",
          "nullable": true
        },
        "description": {
          "type": "string",
          "nullable": true
        },
        "modelCode": {
          "type": "string",
          "nullable": true
        },
        "tag": {
          "type": "string",
          "nullable": true
        },
        "lengthUnit": {
          "type": "string",
          "nullable": true
        },
        "lengthTolerance": {
          "type": "string",
          "nullable": true
        },
        "comments": {
          "type": "string",
          "nullable": true
        },
        "productionNotes": {
          "type": "string",
          "nullable": true
        },
        "printText": {
          "type": "string",
          "nullable": true
        },
        "vendorPartNumber": {
          "type": "string",
          "nullable": true
        },
        "customerPartNumber": {
          "type": "string",
          "nullable": true
        },
        "customerRevision": {
          "type": "string",
          "nullable": true
        },
        "customerName": {
          "type": "string",
          "nullable": true
        },
        "status": {
          "type": "string",
          "nullable": true
        },
        "manualDescription": {
          "type": "boolean",
          "nullable": true
        },
        "definedByCutLength": {
          "type": "boolean",
          "nullable": true
        },
        "proofTest": {
          "type": "boolean",
          "nullable": true
        },
        "burstTest": {
          "type": "boolean",
          "nullable": true
        },
        "WeightLbs": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "minPressurePsi": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "cutLengthEntered": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "orientation": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "proofTestPressureMultiplier": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "proofTestTimeMinutes": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "burstTestPressureMultiplier": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "burstTestTimeMinutes": {
          "type": "number",
          "format": "decimal",
          "nullable": true
        },
        "wrapStyle": {
          "type": "object",
          "nullable": true,
          "properties": {
            "wrapType": {
              "type": "string",
              "nullable": true
            },
            "colour": {
              "type": "string",
              "nullable": true
            },
            "imageName": {
              "type": "string",
              "nullable": true
            },
            "coverage": {
              "type": "object",
              "nullable": true,
              "properties": {
                "coverageType": {
                  "type": "string",
                  "nullable": true
                },
                "imageName": {
                  "type": "string",
                  "nullable": true
                },
                "length": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                },
                "length2": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                },
                "offset": {
                  "type": "number",
                  "format": "decimal",
                  "nullable": true
                }
              }
            }
          }
        },
        "extraItems": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "itemType": {
                "type": "string",
                "nullable": true
              },
              "location": {
                "type": "string",
                "nullable": true
              },
              "comments": {
                "type": "string",
                "nullable": true
              },
              "unitOfMeasure": {
                "type": "string",
                "nullable": true
              },
              "number": {
                "type": "number",
                "nullable": true
              },
              "quantity": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "order": {
                "type": "integer",
                "nullable": true
              },
              "item": {
                "type": "string",
                "format": "mongo-id",
                "nullable": true
              }
            }
          }
        },
        "end1": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "end2": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "ferrule1": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "ferrule2": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "wrap": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        },
        "customerOrgId": {
          "type": "string",
          "format": "mongo-id",
          "nullable": true
        }
      }
    }
  }
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
» paramsbodyobjecttruenone
»» partNumberbodystringtrueAssembly part number.
»» revisionbodystring¦nullfalsenone
»» hosebodystring(mongo-id)trueMongoDB ID of the base hose.
»» lengthbodynumber(decimal)trueLength of the assembly.
»» hoseBrandbodystring¦nullfalsenone
»» hosePartNumberbodystring¦nullfalsenone
»» end1PartNumberbodystring¦nullfalsenone
»» end2PartNumberbodystring¦nullfalsenone
»» descriptionbodystring¦nullfalsenone
»» modelCodebodystring¦nullfalsenone
»» tagbodystring¦nullfalsenone
»» lengthUnitbodystring¦nullfalsenone
»» lengthTolerancebodystring¦nullfalsenone
»» commentsbodystring¦nullfalsenone
»» productionNotesbodystring¦nullfalsenone
»» printTextbodystring¦nullfalsenone
»» vendorPartNumberbodystring¦nullfalsenone
»» customerPartNumberbodystring¦nullfalsenone
»» customerRevisionbodystring¦nullfalsenone
»» customerNamebodystring¦nullfalsenone
»» statusbodystring¦nullfalsenone
»» manualDescriptionbodyboolean¦nullfalsenone
»» definedByCutLengthbodyboolean¦nullfalsenone
»» proofTestbodyboolean¦nullfalsenone
»» burstTestbodyboolean¦nullfalsenone
»» WeightLbsbodynumber(decimal)¦nullfalsenone
»» minPressurePsibodynumber(decimal)¦nullfalsenone
»» cutLengthEnteredbodynumber(decimal)¦nullfalsenone
»» orientationbodynumber(decimal)¦nullfalsenone
»» proofTestPressureMultiplierbodynumber(decimal)¦nullfalsenone
»» proofTestTimeMinutesbodynumber(decimal)¦nullfalsenone
»» burstTestPressureMultiplierbodynumber(decimal)¦nullfalsenone
»» burstTestTimeMinutesbodynumber(decimal)¦nullfalsenone
»» wrapStylebodyobject¦nullfalsenone
»»» wrapTypebodystring¦nullfalsenone
»»» colourbodystring¦nullfalsenone
»»» imageNamebodystring¦nullfalsenone
»»» coveragebodyobject¦nullfalsenone
»»»» coverageTypebodystring¦nullfalsenone
»»»» imageNamebodystring¦nullfalsenone
»»»» lengthbodynumber(decimal)¦nullfalsenone
»»»» length2bodynumber(decimal)¦nullfalsenone
»»»» offsetbodynumber(decimal)¦nullfalsenone
»» extraItemsbody[object]falsenone
»»» itemTypebodystring¦nullfalsenone
»»» locationbodystring¦nullfalsenone
»»» commentsbodystring¦nullfalsenone
»»» unitOfMeasurebodystring¦nullfalsenone
»»» numberbodynumber¦nullfalsenone
»»» quantitybodynumber(decimal)¦nullfalsenone
»»» orderbodyinteger¦nullfalsenone
»»» itembodystring(mongo-id)¦nullfalsenone
»» end1bodystring(mongo-id)¦nullfalsenone
»» end2bodystring(mongo-id)¦nullfalsenone
»» ferrule1bodystring(mongo-id)¦nullfalsenone
»» ferrule2bodystring(mongo-id)¦nullfalsenone
»» wrapbodystring(mongo-id)¦nullfalsenone
»» customerOrgIdbodystring(mongo-id)¦nullfalsenone

Example responses

500 Response

{
  "type": "string"
}

Responses

StatusMeaningDescriptionSchema
201CreatedThe newly created hose assemblyNone
406Not AcceptableReached subscription limitNone
500Internal Server ErrorServer errorstring

Response Schema

This operation does not require authentication
Last Updated:: 2025-07-03, 5:53 p.m.
Prev
[POST]hoseassemblies-checkexisting
Next
[POST]hoseassembly-:hoseAssemblyId-datasheet