Table of Contents

Method GetOrderState

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

GetOrderState(string)

[OperationContract]
[FaultContract(typeof(DbFaultContract))]
[FaultContract(typeof(OrderNotFoundContract))]
[SwaggerWcfTag("Orders", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Get information about the state of a particular order", Description = "This result contains information about the order, including the product references, packaging information, as well as information about it's current state / progress.")]
[WebGet(UriTemplate = "/{orderNumber}/State", 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 = "The order number format is invalid", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.NotFound, Description = "No match found for provided orderNumber", Type = typeof(JsonErrorMessage))]
OrderStateInfoContract GetOrderState(string orderNumber)

Parameters

orderNumber string

Returns

OrderStateInfoContract