Table of Contents

Method GetCatalogDefinition

Namespace
Everest.Service.Catalog
Assembly
Everest.Service.dll

GetCatalogDefinition(string)

[OperationContract]
[FaultContract(typeof(CatalogReferenceNotFoundContract))]
[FaultContract(typeof(DbFaultContract))]
[SwaggerWcfTag("Catalog (common)", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Get the definition of a catalog chemical", Description = "Returns the catalog chemical definition for the provided catalog number if it exists.")]
[WebGet(UriTemplate = "/{solutionCode}/Definition", 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.NotFound, Description = "No match found for provided solutionCode", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.BadRequest, Description = "Fault exception", Type = typeof(JsonErrorMessage))]
CatalogChemicalProductsDefinitionContract GetCatalogDefinition(string solutionCode)

Parameters

solutionCode string

Returns

CatalogChemicalProductsDefinitionContract