# List with primary inventory locations Returns a paginated list of With Primary Inventory Locations for the specified site. Supports filtering and sorting. Endpoint: GET /site/{siteId}/ahds/v1/with-primary-inventory-location Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Query parameters: - `page` (number) Page number (0-indexed) - `pageSize` (number) Number of items per page - `sortBy` (string) Field to sort by Enum: "createdAt", "updatedAt", "name", "separationType" - `sortOrder` (string) Sort order Enum: "asc", "desc" - `childSeparationId` (string) Identifier of the child separation, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `contactId` (string) Identifier of the associated contact entity, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `isActive` (boolean) Whether this separation is currently active. - `name` (string) Human-readable name of the separation (e.g., clinic or department name). - `parentSeparationId` (string) Identifier of the parent separation, if any. Example: "123e4567-e89b-12d3-a456-426614174000" - `primaryInventoryLocationId` (string) Identifier of the primary inventory location associated with this separation. Example: "123e4567-e89b-12d3-a456-426614174000" - `separationCategory` (string) High-level category of the separation (e.g., division, department). Enum: "division", "department", "location", "other" - `separationType` (string) Free-text type or classification of the separation as used in the source system. ## Response 200 fields ## Response 401 fields