# getMemberTypeList Method

Returns a list of CPQ Member Type custom metadata.

## Class

## Input Parameters

| Parameter       | Required                         | Description                                                                          |
| --------------- | -------------------------------- | ------------------------------------------------------------------------------------ |
| activeOnly      | Optional: Default to true        | True: Return only active member type records. False: Return all member type records. |
| sortBy          | Optional: Default to Name and ID | Sort by field name(s) in a comma-separated list. Example: `Name , Id`                |
| sortByDirection | Optional                         | ASC (ascending) or DESC (descending).                                                |

## Output Parameters

| Parameter | Description                              |
| --------- | ---------------------------------------- |
| result    | Returns array of CPQ Member Type records |

## Example Input Data

```
tbd
```

## Example Output Data

```
{"result":[{"attributes":{"type":"vlocity_cmt__CpqMemberType__mdt","url":"/services/data/v51.0/sobjects/vlocity_cmt__CpqMemberType__mdt/m055g000000c1DOAAY"},"vlocity_cmt__OrderFieldName__c":"vlocity_cmt__DefaultServicePointId__c","MasterLabel":"Service Point","vlocity_cmt__OrderItemFieldName__c":"vlocity_cmt__ServicePointId__c","vlocity_cmt__QuoteFieldName__c":"vlocity_cmt__DefaultServicePointId__c","Id":"m055g000000c1DOAAY","vlocity_cmt__DisplaySequence__c":1.0,"vlocity_cmt__IsActive__c":true,"vlocity_cmt__QuoteLineItemFieldName__c":"vlocity_cmt__ServicePointId__c","Language":"en_US","vlocity_cmt__QuoteMemberFieldName__c":"vlocity_cmt__ServicePointId__c","Label":"Service Point","DeveloperName":"ServicePoint","QualifiedApiName":"vlocity_cmt__ServicePoint","vlocity_cmt__MemberObjectName__c":"vlocity_cmt__ServicePoint__c","NamespacePrefix":"cme_232","vlocity_cmt__OrderMemberFieldName__c":"vlocity_cmt__ServicePointId__c"}],"error":"OK"}
```
