Table of Contents

Method GetMatrixApplications

Namespace
Everest.Service.ChemTypes
Assembly
Everest.Service.dll

GetMatrixApplications(string)

Retrieves the possible applications of a mixture containing a matrix with the specified chemical.

[OperationContract]
[FaultContract(typeof(ChemTypeNotFoundContract))]
[FaultContract(typeof(ValidationFaultContract))]
[SwaggerWcfTag("Chemicals", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Get the applications of a matrix from the specified chemical", Description = "Get the possible applications of a mixture containing a matrix with the specified chemical.")]
[WebGet(UriTemplate = "Overview/Matrix/Applications/{code}", ResponseFormat = WebMessageFormat.Json)]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.OK, Description = "Success")]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.InternalServerError, Description = "An unexpected error occurred while processing the request.", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.BadRequest, Description = "Fault exception", Type = typeof(JsonErrorMessage))]
ChemicalApplication[] GetMatrixApplications(string code)

Parameters

code string

The unique identifier of the chemical analyte.

Returns

ChemicalApplication[]

An array of Everest.Model.ChemTypes.ChemicalApplication representing the possible applications.

Remarks

This method is accessible via a GET request to the URI template: Overview/Matrix/Applications/{code}.

Exceptions

FaultException<TDetail>

Thrown when the specified chemical is not found.

FaultException<TDetail>

Thrown when the input validation fails.