Scenario 2 - Testing with the SegmentCompatibleWith RecordType Filter

Send an eligibility request using the SegmentCompatibleWith RecordType filter.

Procedure

  1. Create three products: Phone1, Phone2, Phone3.
  2. Set the following segment types and names for Phone1, Phone2, and Phone3:
    • Phone1 as segmentType = country and SegmentName = US
    • Phone2 as segmentType = country and SegmentName = Canada
    • Phone3 as segmentType = country and SegmentName = US
  3. Set the following RecordTypes types for Phone1, Phone2, and Phone3:
    • Phone1 as RecordType = White
    • Phone2 as RecordType = White
    • Phone3 as RecordType = Black
  4. Request eligible products for segmentType = country, segmentName = US and RecordType = White.

Result

Passing this specific segment in the eligibility request and this specific RecordType retrieves only Phone1 because it is compatible with the segment and with the RecordType.