Table of Contents

Method GetOfferableChemicals

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

GetOfferableChemicals()

Returns the list of currently registered chemical definitions

[OperationContract]
[FaultContract(typeof(DbFaultContract))]
[SwaggerWcfTag("Chemicals", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Get All Offerable Chemical", Description = "Get the list of chemical definitions that can be offered (either as a substance or as a part of a mixture)")]
[WebGet(UriTemplate = "Offerable", 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))]
ChemTypeInfoContract[] GetOfferableChemicals()

Returns

ChemTypeInfoContract[]

The list of chemical definitions