User Tools

Site Tools


scenario

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scenario [2024/03/15 16:12] shankarscenario [2024/03/19 13:14] (current) shankar
Line 19: Line 19:
 | ::: |::: | text/plain |::: | 500 - Internal Server Error| | ::: |::: | text/plain |::: | 500 - Internal Server Error|
 | ::: |::: | text/csv |::: | :::| | ::: |::: | text/csv |::: | :::|
 +
 +==== POST ====
 +^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^
 +|/scenario   | |         | Creates a new scenario in the selected/default package. The redirect points to the URI of the new scenario. | 300 - See Other|
 +| /package/<id>/scenario |::: | ::: |::: | 500 - Internal Server Error|
 +| /package/<id>/scenario/<id> |//studyname// |  |Modify the scenario identified by the URI. | 200 - OK|
 +| ::: |//collectionURI// |  | | 401 - Unauthorized|
 +| ::: |//studydescription// |  | | 404 - Not Found|
 +| ::: |//date// |  | | 500 - Internal Server Error|
 +| ::: |//scenarioName// |  | | :::|
 +| ::: |//setAsDefaultName// |  | Modify the scenario identified by the URI. Set setAsDefaultName to "setAsDefaultName" to use the new alias as default name.| :::|
 +| ::: |//scenarioDescription// |  | | :::|
 +| ::: |//scenarioDate// |  | | :::|
 +| ::: |//ppsObjects// |  |Attach scenario to array of pathway/compound/reaction/rules URIs | :::|
 +| ::: |//copy// |  |Makes copy of scenario and redirects to new scenario | :::|
 +| ::: |//aiUri// |  |Delete meta-information specified by URI /package/<id>/scenario/<id>/<type> | :::|
 +| ::: |//type// |  |Adds meta-information to the scenario. Possible values: waterstoragecapacity, omcontent, soilsource, temperature, humidity, spikeconcentration, spikecompound, bulkdens, biomass, rulelikelihood, redox, soiltexture2, soiltexture1, soilclassificationsystem, cec, reference, acidity| :::|
 +| ::: |//<type-parameter>// - the parameters for each information-type are given below (*)| ::: |:::| :::|
 +
 +
 +=== (*) Type parameters ===
 +
 +waterstoragecapacity
 +  * wst
 +  * wstConditions
 +
 +omcontent:
 +
 +  * omcontent
 +  * onDim
 +
 +soil source:
 +  * soilsourcedata
 +
 +temperature:
 +  * temperature
 +
 +humidity 
 +  * expHumid
 +
 +spikeconcentration:
 +  * spikeCompSmiles
 +  * spikeComp
 +
 +bulkdens:
 +  * bulkdensity
 +
 +biomass:
 +  * biomassStart
 +  * biomassEnd
 +
 +rulelikelihood:
 +  * rulelikelihood
 +
 +redox:
 +  * redoxType
 +
 +soiltexture2:
 +  * sand
 +  * silt
 +  * clay
 +
 +soiltexture1:
 +  * soilTextureType
 +
 +soilclassificationsystem:
 +  * soilclassificationsystem
 +
 +cec:
 +  * cecdata
 +
 +reference:
 +  * reference
 +  * pmid
 +
 +acidity:
 +  * lowPh
 +  * highPh
 +
 +==== DELETE ====
 +
 +^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^
 +|/package/<id>/scenario/<id>   |::: |    :::     | Delete the pathway identified by the URI. | 303 - See Other|
 +|:::  |::: |    :::     | ::: | 401 - Unauthorized|
 +|:::  |::: |    :::     | ::: | 404 - Not Found|
 +|:::  |::: |    :::     | ::: | 500 - Internal Server Error|
 +
 +==== PUT ====
 +
 +Not Implemented.
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
  
  
  
scenario.1710519138.txt.gz · Last modified: 2024/03/15 16:12 by shankar