modules/check_in/app/services/v2/chip/client.rb
##
# HTTP POST call to the CHIP API to refresh appointments
#
# @return [Faraday::Response]
#
HTTP POST call to the CHIP API to refresh appointments
HTTP POST call to the CHIP API to refresh appointments
def refresh_appointments(token:, identifier_params:)
        connection.post("/#{base_path}/actions/refresh-appointments/#{check_in_session.uuid}") do |req|
          req.headers = default_headers.merge('Authorization' => "Bearer #{token}")
          req.body = identifier_params.to_json
        end
      end
def refresh_appointments ( token : , identifier_params : ) connection . post ( "/#{base_path}/actions/refresh-appointments/#{check_in_session.uuid}" ) do | req | req . headers = default_headers . merge ( 'Authorization' => "Bearer #{token}" ) req . body = identifier_params . to_json end end
HTTP POST call to the CHIP API to refresh appointments
HTTP POST call to the CHIP API to refresh appointments
None
Faraday::Response
token
identifier_params