Method Refresh
Refresh(int)
Refresh an existing bottle type definition
[OperationContract]
[FaultContract(typeof(ValidationFaultContract))]
[FaultContract(typeof(DbFaultContract))]
[FaultContract(typeof(StorageConditionNotFoundContract))]
[SwaggerWcfTag("Storage Conditions", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Refresh a storage condition definition", Description = "Forces a refresh on the definition of the storage condition and, if successful, raises the corresponding events to update all affected entities")]
[WebInvoke(UriTemplate = "Refresh", Method = "POST", RequestFormat = WebMessageFormat.Json, 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.NotFound, Description = "No storage condition found with provided code.", 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