Method GetDetailedStatusBottles
- Namespace
- Everest.Service.Containers
- Assembly
- Everest.Service.dll
GetDetailedStatusBottles(bool)
Returns the full bottle kind description and stock information for all bottles (optionally filtering out those that are out of stock)
[OperationContract]
[SwaggerWcfTag("Containers", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "The extended description and status for all bottles (currently on stock)", Description = "Returns bottle kind description and stock information for all bottles (optionally filtering out those that are out of stock)")]
[WebGet(UriTemplate = "Bottles/Status?onStock={onStock}", 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[] GetDetailedStatusBottles(bool onStock = true)
Parameters
onStock
boolTrue if the list should include only the bottles that are currently on stock
Returns
- BottleKindDetailedStatusContract[]
The list of bottles corresponding to filter criterion