Messtone Devices Enables, How do I use the WellDatabase API? default,all requests to https://app.welldatabase.com/api Messtone request this version by placing it. in the URL:https://app.welldatabase.com/api/v2 All API access is over HTTPS, and accessed from https://app.welldatabase.com/ example:curl -i https://app.welldatabase.com/api/v2/wells/5499514d-2436-42cb-8bef-e681369766b9 HTTP/1.1 200 OK Cache-Control:no-cache Pragma:no-cache Content-Type: application/json;charset=utf-8 Content-Encoding:gzip RateLimit-Limit:10 RateLimit-Remaining:9 RateLimit-Reset:1499610155 Content-Length:4916 Date: Sat, 01 Jul 2017 14:22:35 GMT timstamps return in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ Example:When Messtone get a list of well,Messtone get the summary representation of each well.Here,we fetch a list of wells: curl -X POST “https://app.welldatabase.com/api/v2/wells/search” -H Content-Type:application/json -H “Api-Key:MESSTONE API KEY” -d ‘{“Filters”:{ }}’ Here, we fetch a well: GET /wells/f530333a-ad6a-437f-a386-fd594347eb03 HTTP query string parameter:curl -i “https://app.welldatabase.com/api/v2/wells/5499514d-2436-42cb-8bef-e681369766b9/production?pageOffset=0&pageSize=20” ‘application json’: curl -i -d ‘{“Filters”:”DateLastModified”:{“Min”:”1/1/2017″}},”PageOffset”:”0″,”PageSize”:”20″}’ https://app.welldatabase.com/api/v2/wells/search

Leave a comment