getMemberTypeList Method

Returns a list of CPQ Member Type custom metadata.

Class 

Input Parameters 

ParameterRequiredDescription
activeOnlyOptional: Default to trueTrue: Return only active member type records. False: Return all member type records.
sortByOptional: Default to Name and IDSort by field name(s) in a comma-separated list. Example: Name , Id
sortByDirectionOptionalASC (ascending) or DESC (descending).

Output Parameters 

ParameterDescription
resultReturns array of CPQ Member Type records

Example Input Data 

1tbd

Example Output Data 

1{"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"}