Developer Docs
...
API Reference
Formation
Bulk Add / Update Formation Property Data
code examples curl location 'https //data onxecta com/api/production/formation' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ data '\[ { "sourcewellid" "", "sourcewellboreid" "", "sourceid" "", "name" "", "pressureformationinitialdatum" "", "temperatureformationdatum" "", "depth" "", "primaryfluidtype" "oil", "rsi" "", "fluidgravityapi" "", "fluidgravitygas" "", "fluidsalinitywater" "" } ]'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var raw = json stringify(\[ { "sourcewellid" "", "sourcewellboreid" "", "sourceid" "", "name" "", "pressureformationinitialdatum" "", "temperatureformationdatum" "", "depth" "", "primaryfluidtype" "oil", "rsi" "", "fluidgravityapi" "", "fluidgravitygas" "", "fluidsalinitywater" "" } ]); var requestoptions = { method 'post', headers myheaders, body raw, redirect 'follow' }; fetch("https //data onxecta com/api/production/formation", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));import requests import json url = "https //data onxecta com/api/production/formation" payload = json dumps(\[ { "sourcewellid" "", "sourcewellboreid" "", "sourceid" "", "name" "", "pressureformationinitialdatum" "", "temperatureformationdatum" "", "depth" "", "primaryfluidtype" "oil", "rsi" "", "fluidgravityapi" "", "fluidgravitygas" "", "fluidsalinitywater" "" } ]) headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("post", url, headers=headers, data=payload) print(response text) var options = new restclientoptions("https //data onxecta com") { maxtimeout = 1, }; var client = new restclient(options); var request = new restrequest("/api/production/formation", method post); request addheader("accept", "application/json"); request addheader("content type", "application/json"); var body = @"\[" + "\n" + @" {" + "\n" + @" ""sourcewellid"" """"," + "\n" + @" ""sourcewellboreid"" """"," + "\n" + @" ""sourceid"" """"," + "\n" + @" ""name"" """"," + "\n" + @" ""pressureformationinitialdatum"" """"," + "\n" + @" ""temperatureformationdatum"" """"," + "\n" + @" ""depth"" """"," + "\n" + @" ""primaryfluidtype"" ""oil""," + "\n" + @" ""rsi"" """"," + "\n" + @" ""fluidgravityapi"" """"," + "\n" + @" ""fluidgravitygas"" """"," + "\n" + @" ""fluidsalinitywater"" """"" + "\n" + @" }" + "\n" + @"]"; request addstringbody(body, dataformat json); restresponse response = await client executeasync(request); console writeline(response content);okhttpclient client = new okhttpclient() newbuilder() build(); mediatype mediatype = mediatype parse("application/json"); requestbody body = requestbody create(mediatype, "\[\n {\n \\"sourcewellid\\" \\"\\",\n \\"sourcewellboreid\\" \\"\\",\n \\"sourceid\\" \\"\\",\n \\"name\\" \\"\\",\n \\"pressureformationinitialdatum\\" \\"\\",\n \\"temperatureformationdatum\\" \\"\\",\n \\"depth\\" \\"\\",\n \\"primaryfluidtype\\" \\"oil\\",\n \\"rsi\\" \\"\\",\n \\"fluidgravityapi\\" \\"\\",\n \\"fluidgravitygas\\" \\"\\",\n \\"fluidsalinitywater\\" \\"\\"\n }\n]"); request request = new request builder() url("https //data onxecta com/api/production/formation") method("post", body) addheader("accept", "application/json") addheader("content type", "application/json") build(); response response = client newcall(request) execute(); responses // ok \[ { "xid" "", "sourceid" "", "name" "", "allocationfactor" "", "compressibilityrock" "", "pressureformationinitialdatum" "", "temperatureformationdatum" "", "depth" "", "thicknessformation" "", "porosity" "", "saturationwaterinitial" "", "saturationgasinitial" "", "saturationoilinitial" "", "primaryfluidtype" "", "rsi" "", "condensategasratio" "", "watergasratio" "", "originalgasinplace" "", "originaloilinplace" "", "volumeaquiferinitial" "", "fluidgravityapi" "", "fluidgravitygas" "", "fluidsalinitywater" "", "fluidcommingledgor" "", "fluidmolarfracn2" "", "fluidmolarfracco2" "", "fluidmolarfrach2s" "", "startdate" "", "langmuirpressure" "", "langmuirvolume" "", "initialgascontent" "", "bulkdensity" "" } ]