Method Refresh
- Namespace
- Everest.Service.Containers
- Assembly
- Everest.Service.dll
Refresh(int)
Refresh an existing bottle type definition
[OperationContract]
[FaultContract(typeof(ValidationFaultContract))]
[FaultContract(typeof(DbFaultContract))]
[FaultContract(typeof(BottleNotFoundContract))]
[SwaggerWcfTag("Containers", false)]
[WebInvoke(UriTemplate = "Refresh", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Refresh a bottle definition", Description = "Forces a refresh on the definition of the bottle kind and, if successful, raises the corresponding events to update all affected entities (e.g. catalog products)")]
[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.NotFound, Description = "No container was found matching the provided 'ID'", Type = typeof(JsonErrorMessage))]
[SwaggerWcfResponse(StatusCode = HttpStatusCode.BadRequest, Description = "Fault exception", Type = typeof(JsonErrorMessage))]
void Refresh(int id)
Parameters
id
intThe id associated with the target bottle definition