Enhance Tender Approval Filtering with Created Date Parameters
- Added new query parameters `created_from` and `created_to` to the tender approval endpoints for filtering by creation date using Unix timestamps. - Updated the `GetByCompanyID` method in the repository and service layers to support the new filtering options. - Modified the handler methods to parse and pass the new parameters, improving the flexibility of tender approval retrieval. - Updated API documentation to reflect the new query parameters, ensuring clarity for API consumers.
This commit is contained in:
@@ -5075,6 +5075,14 @@ paths:
|
||||
in: query
|
||||
name: status
|
||||
type: string
|
||||
- description: Filter by created date from (Unix timestamp)
|
||||
in: query
|
||||
name: created_from
|
||||
type: integer
|
||||
- description: Filter by created date to (Unix timestamp)
|
||||
in: query
|
||||
name: created_to
|
||||
type: integer
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
|
||||
Reference in New Issue
Block a user