Table of Contents

Method GetCustomerOrderState

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

GetCustomerOrderState(string, 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 customer's 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 = "/{distributorCode}/{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 = "Either the order number or the distributor code format is invalid", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.NotFound, Description = "No match found for the provided order number and distributor code", Type = typeof(JsonErrorMessage))]
CustomerOrderStateInfoContract GetCustomerOrderState(string distributorCode, string orderNumber)

Parameters

distributorCode string
orderNumber string

Returns

CustomerOrderStateInfoContract