Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Insurance
InsClaimItemService:getInsuranceCodes

InsClaimItemService:getInsuranceCodes

Use this service to get a list of insurance codes that correspond to the coverages associated with claims.

Note
Note

This service is designed to be used before the InsClaimItemService:add or InsClaimItemService:update services to get the insurance codes these services need.

Class: InsClaimItemService

Method: getInsuranceCodes

How It Works

  1. Takes the codeSystemType option and any of the other filter options.

  2. Returns a filtered list of insurance codes that can be passed to other services.

Remote Options

Option

Description

codeSystemType

Required.

Filters the list of insurance codes this service returns as results.

category

Filters the list of insurance codes this service returns as results.

codeSubType

Filters the list of insurance codes this service returns as results.

effectiveDate 

Filters the list of insurance codes by effective start date and effective end date, inclusive.

Input JSON

This service does not take an input JSON.

Output JSON

The service returns a JSON that includes all the claim coverages that fit the options entered and their codes.

[
    {
        "CodeSubType__c": "CMS+PCS",
        "Category__c": "Auto",
        "CodeSystemType__c": null,
        "LongDescription__c": "Auto Code Test",
        "ShortDescription__c": "ACode",
        "DisplayName__c": "Auto Code",
        "Name": "AutoCode",
        "Id": "a551U00000021XsQAI"
    },
    {
        "CodeSubType__c": "PCS",
        "Category__c": "Life",
        "CodeSystemType__c": null,
        "LongDescription__c": "Life Code Test",
        "ShortDescription__c": "LCode",
        "DisplayName__c": "Life Code",
        "Name": "LifeCode",
        "Id": "a551U00000021XnQAI"
    },
    { ... }
]
 
Loading
Salesforce Help | Article