# Retrieve suppliers by building ID Return all suppliers of a building id Endpoint: POST /api/tenant/{tenantId_path}/suppliers/getSuppliersByBuildingId Version: v1 ## Path parameters: - `tenantId_path` (string, required) ## Request fields (application/json-patch+json): - `buildingId` (string) - `datatable` (object) - `datatable.sort` (object,null) - `datatable.sort.sortBy` (integer) Enum: 1, 2, 3, 4, 5, 6, 7 - `datatable.sort.sortMode` (integer) Enum: 1, 2 - `datatable.pagination` (object) - `datatable.pagination.page` (integer) - `datatable.pagination.rowsPerPage` (integer) - `datatable.filters` (object,null) - `datatable.search` (object,null) - `datatable.search.value` (string) ## Response 200 fields (text/plain): - `list` (array) - `list.codeNaf` (string,null) - `list.contractsCount` (integer) - `list.id` (string) - `list.mediaId` (string,null) - `list.mediaUrl` (string,null) - `list.name` (string) - `list.reference` (string) - `list.siren` (string,null) - `list.siret` (string,null) - `datatable` (object) - `datatable.sort` (object,null) - `datatable.sort.sortBy` (integer) Enum: 1, 2, 3, 4, 5, 6, 7 - `datatable.sort.sortMode` (integer) Enum: 1, 2 - `datatable.pagination` (object) - `datatable.pagination.page` (integer) - `datatable.pagination.rowsPerPage` (integer) - `datatable.pagination.totalItems` (integer,null) - `datatable.filters` (object,null) - `datatable.filters.filterList` (array) - `datatable.filters.filterList.values` (array) - `datatable.search` (object,null) - `datatable.search.value` (string) - `facets` (array) - `facets.facetInfos` (array) - `facets.facetInfos.label` (string) - `facets.facetInfos.count` (integer,null) ## Response 400 fields (text/plain): - `error` (string)