Get Purchase Request Finance View
Endpoint
Authentication
This endpoint requires authentication via Basic Authentication.Query Parameters
Type of filter:
1= Previous day2= Previous month3= Current month4= Previous year5= Specific month and year
Specific month to search. Valid range: 1-12. Required when TypeFilter is 5.
Specific year. Valid values from the previous year onwards. Required when TypeFilter is 5.
Page number, starts with 1.
Number of records to retrieve per page.
Response
The current page number being returned.
Name of the grid (e.g., “VistaFinanzasSC”).
Unique identifier for the grid.
Number of records returned in the current page.
Total number of pages available.
Total number of records matching the query.
Contains the field definitions and row data.
Response Codes
- 200 OK: Successfully retrieved purchase request finance view data
- 401 Unauthorized: Missing or invalid authentication token
- 500 Internal Server Error: Server error occurred while processing the request
Caching
This endpoint is cached for 900 seconds (15 minutes).GridRequestParams Model
All provision endpoints use theGridRequestParams model for query parameters. This model provides flexible date filtering and pagination options.
Filter Types
TheTypeFilter parameter supports the following values:
- 1: Previous day - Returns data from yesterday
- 2: Previous month - Returns data from the previous calendar month
- 3: Current month - Returns data from the current calendar month
- 4: Previous year - Returns data from the previous calendar year
- 5: Specific month and year - Returns data from a specific month/year combination (requires
MonthandYearparameters)