SDM Data Access (Soil Data Access) Test Post

Use this SDA web page to test select POST functions within SDA.

Test 1: Perform REST/POST Tabular Query


  1. Click following button to issue a REST/POST request for the same SQL statement shown above.

    {{testTabularRest.postResults}}

  2. Confirm that the button click returns result, as JSON or XML, below the button.
  3. Click above the button again to clear the results.

Test 2: Perform REST/POST AOI-Create Query



aoi/create parameters

For AOI creation, use service=aoi, request=create. AoiCoords, MuKeyList, SSA and WssAoiId are mutually exclusive. Filter and/or Partname are only meaningful with AoiCoords (when the AoiCoords data is GeoJSON). An additional parameter may be specified in the "open-ended and experimental section's" "(other)" area by using a parameter name/value pair expressed as:

    name=value







aoi/registerSld parameters

To register an SLD with an AOI use service=aoi, request=registersld. Both sld and aoiid are required.



open-ended and experimental parameters

  1. Click following button to issue a REST/POST request.

    {{testTabularRestAoi.postResults}}

  2. Confirm that the button click returns result below the button.
  3. Click above the button again to clear the results.

Test 3: Perform REST/POST Interpretation Requests

interpretation request parameters

requestparameters
getusecategories  (none)
getcatalog aoiid, usecategoryid (optional, defaults to 0)
getruledata aoiid, format (optional, defaults to "short"), one of {attributekey, interpresultiid, thematicmapid}
getdescription attributekey
getrating either shortformdata or both attributekey and aoiid













  1. Click following button to issue a REST/POST request.

    {{testTabularRestInterp.postResults}}

  2. Confirm that the button click returns result below the button.
  3. Click above the button again to clear the results.

Test 4: Perform REST/POST Report Requests

report request parameters

requestparameters
getusecategories  (none)
getcatalog aoiid, usecategoryid (optional, defaults to 0)
getreportdata aoiid, format (optional, defaults to "short"), reportid
getdescription reportid
getreport either shortformdata or both reportid and aoiid











  1. Click following button to issue a REST/POST request.

    {{testTabularRestReport.postResults}}

  2. Confirm that the button click returns result below the button.
  3. Click above the button again to clear the results.

Test 5: GetStyles


  1. Click following button to issue a REST/POST request for the layer's SLD.

    {{testSpatialRest1.postResults}}

  2. Confirm that the button click returns result, as XML, below the button.
  3. Click above the button again to clear the results.

Test 6: GetMap/SLD-Body



  1. Click following button to issue a REST/POST request for the layer's map following the SLD.

    {{testSpatialRest2.postResults}}

  2. Confirm that the button click returns result, as a map image, below the button.
  3. Click above the button again to clear the results.