Administration/Fiber

Create a fiber production process

Changed on

Creates a global production-process template owned by the caller's company from name, productCategoryId, facilityProcessId and facilityWastageFactorPercentage (all required; 0 to 99.99 — legacy answered 500 above the column's 99.99) and an optional featuredImageFileId. The wastage band is copied from the production factor of the category and facility process, falling back to the category's parent: no factor answers 400 missing_production_factor, a factor without both bounds 400 missing_wastage_factor_range, and a wastage below the minimum 409 invalid_wastage_factor; the maximum is not checked, as in legacy. An unknown featuredImageFileId stores no image; a found one is moved to the public bucket. Responds 201 with the process in the { data, metadata } envelope (legacy answered the bare record, with the full category as productCategoryType).

post/api/admin/fiber/production-processes

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/fiber/production-processes
  • Auth
    none declared

Request body

namestring required
featuredImageFileIdstring nullable
productCategoryIdstring required
facilityWastageFactorPercentagenumber required
facilityProcessIdstring required

Response

Default Response

Changes