Loading
PHP Vulnerability Monitoring Read More
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Insurance
InsClaimItemService:getPayees

InsClaimItemService:getPayees

Use this service to return a list of payees for a specified claim.

Class: InsClaimItemService

Method: getPayees

How It Works

  1. Takes the claimId and retrieves the claim record.

  2. Returns a list of payees attached to this claim.

    The policy holder for the claim is designated by the field policyHolder = true.

Remote Options

Option

Description

claimId

Required.

The Id of the claim for which the service will return a list of payees.

Input JSON

This service does not use an input JSON.

Output JSON

The service returns

[
    "payees": [
        { 
           "instest03__PayeePartyId__c": "a0x1U000001Uaq1QAC", 
           "instest03__PayeeContactId__c": null, 
           "instest03__PayeeAccountId__c": "0011U00000KtW4fQAF", 
           "instest03__PayeePartyName__c": "VlocityAccount" 
        },{ 
           "instest03__PayeePartyId__c": "a0x1U000001V8VqQAK", 
           "instest03__PayeeContactId__c": "0031U00000MrU1SQAV", 
           "instest03__PayeeAccountId__c": null, 
           "instest03__PayeePartyName__c": "John Doe" 
        },{ 
           "PolicyHolder": true, 
           "instest03__PayeePartyId__c": "a0x1U0000008JWDQA2",             
           "instest03__PayeeContactId__c": "0031U00000CHQCYQA5", 
           "instest03__PayeeAccountId__c": null, 
           "instest03__PayeePartyName__c": "Joan Smith" 
        }
    ]
]
 
Loading
Salesforce Help | Article