Table of Contents

Method GetOrderInfo

Namespace
Everest.Service.Orders
Assembly
Everest.Service.dll

GetOrderInfo(string)

[OperationContract]
[FaultContract(typeof(DbFaultContract))]
[FaultContract(typeof(OrderNotFoundContract))]
[SwaggerWcfTag("Orders", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Get the basic order information", Description = "Returns the current status and basic information about the order corresponding to the provided order number")]
[WebGet(UriTemplate = "/{orderNumber}/Info", 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))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.NotFound, Description = "No match found for provided orderNumber", Type = typeof(JsonErrorMessage))]
OrderProductStateContract GetOrderInfo(string orderNumber)

Parameters

orderNumber string

Returns

OrderProductStateContract