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