[Company] Warehouses under a company

[ { "id": 1, "storage_bins": [ { "id": 1, "area": 10000.0, "volume": 300000.0, "weight": 17.5, "code": "SB01", "name": "Storage bin 01" }, { "id": 2, "area": 10000.0, "volume": 300000.0, "weight": 17.5, "code": "SB02", "name": "Storage bin 02" }, { "id": 3, "area": 10000.0, "volume": 300000.0, "weight": 17.5, "code": "SB03", "name": "Storage bin 03" }, { "id": 4, "area": 10000.0, "volume": 300000.0, "weight": 17.5, "code": "SB04", "name": "Storage bin 04" } ], "loading_docks": [ { "id": 2, "code": "LD01", "name": "Loading dock 01" } ], "company_name": "บริษัท 1", "code": "W000002", "name": "ห้วยขวาง", "address": "ห้วยขวาง", "area_unit": "sq_m", "volume_unit": "cubic_meter", "weight_unit": "tonne", "company": 1 }, /* ... */ ]
The Sample API Response
To get: warehouses under a company
Preferred associated module: Company
Sample view: Response

** Request **
URL: "api/company/<id>/warehouses/" where <id> is the ID of company
Request Method: GET

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.