Class EvaluationController
The Controller class for the evaluation REST interface.
Inherited Members
Namespace: Quantellia.WMServer.Execution
Assembly: WMServer.dll
Syntax
[Route("evaluation")]
[Authorize]
[ApiController]
public class EvaluationController : ControllerBase
Methods
Delete(int)
Delete the Evaluation record with the specified Id.
Declaration
[HttpDelete("{id}")]
public void Delete(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id | ID of the Evaluation record to delete. |
Get(string)
Get the full details of the EvaluationEvaluation record with the specified ID.
Declaration
[HttpGet("{id}")]
public string Get(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | ID of the Evaluation record |
Returns
Type | Description |
---|---|
string | The full details of the Evaluation record with the requested ID. |
GetAll(string)
Get the collection of all Evaluations associated with the specified DecisionModelDecisionModel.
Declaration
[HttpGet("all/{decisionModelID}")]
public IEnumerable<string> GetAll(string decisionModelID)
Parameters
Type | Name | Description |
---|---|---|
string | decisionModelID | ID of the DecisionModel whose Evaluation records are to be retrieved. |
Returns
Type | Description |
---|---|
IEnumerable<string> | Collection of Evaluation records in short EvaluationDTO form |
Put(int, string)
Update the Evaluation record with the specified ID.
Declaration
[HttpPut("{id}")]
public void Put(int id, string value)
Parameters
Type | Name | Description |
---|---|---|
int | id | ID of the Evaluation record to update. |
string | value | Evaluation object containing the values to update. |