Method Register
Register(RegisterStorageConditionOperationContract)
Registers a new storage condition for use
[OperationContract]
[FaultContract(typeof(DbFaultContract))]
[FaultContract(typeof(ValidationFaultContract))]
[SwaggerWcfTag("Storage Conditions", false)]
[SwaggerWcfPath(null, null, null, null, null, false, null, Summary = "Register a new storage condition definition", Description = "Attempts to insert a new storage condition definition and, if successful, raises the corresponding events (untested)")]
[WebInvoke(UriTemplate = "Definitions", 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 flask was found matching the provided barcode.", Type = typeof(JsonErrorMessage))]
void Register(RegisterStorageConditionOperationContract storageConditionRegistration)
Parameters
storageConditionRegistrationRegisterStorageConditionOperationContractContains the storage condition to register (using the user-provided credentials)