public async Task <ActionResult <string> > PostProcessInfo(ProcessInfoRequest processInfoRequest) { if (!IsProcessInfoRequestValid(processInfoRequest)) { return(BadRequest("process data incomplete")); } var pi = await _manager.GetUploadInfoByKey(processInfoRequest.ExternalID); if (pi == null) { return(NotFound()); } var processInfo = _mapper.Map <ProcessInfo>(processInfoRequest); await _manager.TrackOperation(processInfoRequest.ExternalID, processInfo); return(Ok()); }