lib/root_insurance/api/claim.rb
# Link a claim and a policy holder
#
# @param [String] claim_id The unique identifier of the claim.
# @param [String] policyholder_id The unique identifier of the policy holder.
# @return [Hash]
#
# @example
#  client.link_policyholder_to_claim(claim_id: "d3d13c48-4dc3-4816-8d01-de3215878225", policyholder_id: "808f75dc-cb8a-4808-93e9-e13f8eea84de")
#
Link a claim and a policy holder
Link a claim and a policy holder
def link_policyholder_to_claim(claim_id:, policyholder_id:)
        data = {policyholder_id: policyholder_id}
        post("claims/#{claim_id}/policyholder", data)
      end
def link_policyholder_to_claim ( claim_id : , policyholder_id : ) data = { policyholder_id : policyholder_id } post ( "claims/#{claim_id}/policyholder" , data ) end
Link a claim and a policy holder
Link a claim and a policy holder
None
Hash
claim_id
<not_specific>
policyholder_id
<not_specific>
<not_specific>
policyholder_id The unique identifier of the policy holder.
policyholder_id The unique identifier of the policy holder .
example
None