Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visit Details tab not updated with Visit Info from api download #25

Open
volkcj opened this issue Jul 14, 2017 · 2 comments
Open

Visit Details tab not updated with Visit Info from api download #25

volkcj opened this issue Jul 14, 2017 · 2 comments

Comments

@volkcj
Copy link
Contributor

volkcj commented Jul 14, 2017

Not sure if Visit Details attributes are pulled from api yet, but I don't think they are (they should be at some point). Indicator is the fact that CategoryName and VisitPhase are empty in the Visit Details attribute list.

https://dl.dropboxusercontent.com/u/22543727/Snapshots/2017-07-13_174618.png

@philipbaileynar
Copy link
Contributor

The VisitPhase does not appear to be available on the API.

I think that the Category is available on the API. @volkcj is a Category value of "Asotin IMW" appropriate for Visit ID 3431? Here's the part of the API response where I'm getting this:

"siteApiEndpoint": "https://www.monitoringresources.org/api/v1/designs/256/sites/ASW00001-CC-F2 P1BR",
"category": "Asotin IMW",
"id": 3431,
"name": "3431",
"url": "https://api.CHaMPMonitoring.org/api/v1/visits/3431",
"siteName": "ASW00001-CC-F2 P1BR",
"siteUrl": "https://api.CHaMPMonitoring.org/api/v1/sites/asw00001ccf2p1br",
"lastMeasurementChange": "2017-01-06T17:23:25.447",
"status": "Data Approved",
"sampleYear": 2015,
"sampleDate": "2015-08-29T00:00:00",
"lastUpdated": "2016-02-17T11:43:44.387",
"objectType": "Visit",
"scoutingDocumentsUrl": "https://api.CHaMPMonitoring.org//FieldSupport/GetFieldSupportReferenceFileForVisit/12/3431"

@volkcj
Copy link
Contributor Author

volkcj commented Jul 19, 2017

yes, category =Asotin IMW is appropriate for CategoryName in workbench.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants