-
Notifications
You must be signed in to change notification settings - Fork 0
API ‐ V2
Version 2 of the Binacle.Net API expands upon Version 1 by providing both the Fitting and Packing functions. In addition to finding the smallest bin for fitting, it returns results for all bins. This version provides more detailed information and increased flexibility compared to the deprecated Version 1.
🔍 Learn more:
GET /api/v2/presets
📩 Returns: A list of predefined bin collections.
POST /api/v2/fit/by-preset/{preset}
📡 Request: Provide a list of items and a preset key.
📩 Returns: The API performs the Fitting function and returns results for each bin in the preset, indicating which bins can accommodate all items.
POST /api/v2/fit/by-custom
📡 Request: Provide a list of bins and items.
📩 Returns: The API performs the Fitting function and returns results for each bin, specifying which bins can fit all items.
POST /api/v2/pack/by-preset/{preset}
📡 Request: Provide a list of items and a preset key.
📩 Returns: The API performs the Packing function and returns results for each bin in the preset, including the specific locations for each item.
POST /api/v2/pack/by-custom
📡 Request: Provide a list of bins and items.
📩 Returns: The API performs the Packing function and returns results for each bin, including the specific locations for each item.