Table of Contents

Method GetDetailedBottleStatus

Namespace
Everest.Service.Containers
Assembly
Everest.Service.dll

GetDetailedBottleStatus(int)

Returns the bottle kind description and stock information associated with the given id

[OperationContract]
[FaultContract(typeof(ValidationFaultContract))]
[FaultContract(typeof(DbFaultContract))]
[FaultContract(typeof(BottleNotFoundContract))]
[SwaggerWcfTag("Containers", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "The extended description and status for a given bottle identifier", Description = "Returns bottle kind description and stock information corresponding to the given bottle identifier")]
[WebGet(UriTemplate = "Bottles/Status/Details?id={id}", 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))]
BottleKindDetailedStatusContract GetDetailedBottleStatus(int id)

Parameters

id int

The id associated with the target bottle kind

Returns

BottleKindDetailedStatusContract

The detailed bottle kind status corresponding to the given identifier