示例#1
0
        public ActionResult <HealthCheckResponseDto> HealthCheck(HealthCheckRequestDto requestDto)
        {
            // The Partner is free to perform any checks that can be useful to relay to Talentech
            // This will enable us to indicate for customer users if an integration can be used or not.
            var response = new HealthCheckResponseDto
            {
                Status = HealthCheckStatus.Healthy,
                Errors = new List <ErrorDto>()
            };

            return(Ok(response));
        }
示例#2
0
 /// <inheritdoc />
 public Task <HealthCheckResponseDto> CheckHealth(HealthCheckRequestDto dto = null) =>
 new HealthCheckOperation(_apiClient, _apiBaseAddress, this.RefreshAccessTokenAsync)
 .Call(dto);