You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are the results of a series of test on the QA API from 12/22/2020, conducted by Ryan J of WSWC. API queries that failed are as follow (see below): 7, 8, 9, 14, 15
SiteUUID, string, Search based on a univeral Site identifer across all the states in WaDE https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?SiteUUID=UTss_S1 Response: Success, returns dictionary. Returns all related site info, water source, organization, variable, method and any time series variable amounts.
SiteTypeCV, string, Search based on a controlled Site type identifier across all the states in WaDE https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?SiteTypeCV=Public Response: Success, returns dictionary. Returns related water source, organization, variable, method and any site and associated variable amounts associated with the site type.
VariableCV, string($string), pass an optional search string for looking up inventory https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?VariableCV=Unspecified Response: Success. Returns dictionary of related water source, organization, variable, method and any site and associated variable amounts associated with the variable.
BeneficialUseCV, string, Search for site specific data based on a beneficial Use category (primary?) (i.e. Irrigation) as defined by each state https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?BeneficialUseCV=Domestic Response:: Success. Returns dictionary of related water source, organization, variable, method and any site and associated variable amounts associated with the beneficial use.
USGSCategoryNameCV, string ,a USGS water use category from the USGS controlled vocabulary (e.g. irrigation, groundwater, fresh) https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?USGSCategoryNameCV=’’ Response: Returns empty dictionary, which is the expected outcome as USGSCategoryNameCV was blank for testing site specific data.
StartDate, string, Search for site specific data with StartDate later than this end date DD/MM/YYYY (e.g., Leaving it empty would return all data to the earliest date in the database https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?StartDate=01/01/2019 Response: Failed. Returns error ‘JSONDecodeError: Expecting value: line 1 column 1 (char 0)’
EndDate, string, Search for site specific with EndDate date earlier than this end date DD/MM/YYYY (e.g. Leaving it empty would return all data to the last TimeframeEndDate date in the database https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?EndDate=12/31/2019 Response: Failed. Returns error ‘JSONDecodeError: Expecting value: line 1 column 1 (char 0)’
State, string, Two letter state abbreviation. https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?State=UT Response: Success. Returns dictionary of related water source, organization, variable, method and any site and associated variable amounts associated with the state.
Here are the results of a series of test on the QA API from 12/22/2020, conducted by Ryan J of WSWC. API queries that failed are as follow (see below): 7, 8, 9, 14, 15
============================================================================
SiteUUID, string, Search based on a univeral Site identifer across all the states in WaDE
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?SiteUUID=UTss_S1
Response: Success, returns dictionary. Returns all related site info, water source, organization, variable, method and any time series variable amounts.
SiteTypeCV, string, Search based on a controlled Site type identifier across all the states in WaDE
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?SiteTypeCV=Public
Response: Success, returns dictionary. Returns related water source, organization, variable, method and any site and associated variable amounts associated with the site type.
VariableCV, string($string), pass an optional search string for looking up inventory
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?VariableCV=Unspecified
Response: Success. Returns dictionary of related water source, organization, variable, method and any site and associated variable amounts associated with the variable.
VariableSpecificCV, string($string), number of records to skip for pagination
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?VariableSpecificCV=Unspecified
Response: Success. Returns dictionary of related water source, organization, variable, method and any site and associated variable amounts associated with the variablespecific.
BeneficialUseCV, string, Search for site specific data based on a beneficial Use category (primary?) (i.e. Irrigation) as defined by each state
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?BeneficialUseCV=Domestic
Response:: Success. Returns dictionary of related water source, organization, variable, method and any site and associated variable amounts associated with the beneficial use.
USGSCategoryNameCV, string ,a USGS water use category from the USGS controlled vocabulary (e.g. irrigation, groundwater, fresh)
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?USGSCategoryNameCV=’’
Response: Returns empty dictionary, which is the expected outcome as USGSCategoryNameCV was blank for testing site specific data.
StartDate, string, Search for site specific data with StartDate later than this end date DD/MM/YYYY (e.g., Leaving it empty would return all data to the earliest date in the database
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?StartDate=01/01/2019
Response: Failed. Returns error ‘JSONDecodeError: Expecting value: line 1 column 1 (char 0)’
EndDate, string, Search for site specific with EndDate date earlier than this end date DD/MM/YYYY (e.g. Leaving it empty would return all data to the last TimeframeEndDate date in the database
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?EndDate=12/31/2019
Response: Failed. Returns error ‘JSONDecodeError: Expecting value: line 1 column 1 (char 0)’
SearchBoundary, string, Search for water allocations within a geo-spatial boundary within or across state boarders (e.g., Bear River watershed)
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?SearchBoundary=x
Response:
….. how does that even tie into WaDE at the moment?
HUC8**,** string
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?HUC8=’’
Response: Returns empty dictionary, which is the expected outcome as HUC8 was blank for testing site specific data.
HUC12, string
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?HUC12=’’
Response: Returns empty dictionary, which is the expected outcome as HUC8 was blank for testing site specific data.
County, string
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?County=Washington
Response: Success. Returns dictionary of related water source, organization, variable, method and any site and associated variable amounts associated with the county.
State, string, Two letter state abbreviation.
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?State=UT
Response: Success. Returns dictionary of related water source, organization, variable, method and any site and associated variable amounts associated with the state.
StartIndex, integer minimum: 0, 0-based index for where to start querying for records. Defaults to 0 if not specified.
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?StartIndex=10
Response:
….. how does that even tie into WaDE at the moment?
RecordCount, integer, Number of records to retrieve. Defaults to 1000 if not specified.
https://wade-api-qa.azure-api.net/v1/SiteVariableAmounts?RecordCount=5
Response:
….. how does that even tie into WaDE at the moment?
The text was updated successfully, but these errors were encountered: