MLFilter

Version 

Introduced in API version 48.0.

Supported SOAP API Calls 

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Supported REST API Methods 

DELETE, GET, HEAD, PATCH, POST, Query

Fields 

FilterName 

  • Type: string
  • Required: No
  • Properties: Create, Filter, Group, Sort, Update
  • Introduced: API version 48.0

LhFilterId 

  • Type: reference

  • Required: No

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Introduced: API version 48.0

  • Relationship name: LhFilter

  • Relationship type: relationship

  • Refers to: MLFilter

LhPredictionField 

  • Type: string
  • Required: No
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 48.0

LhType 

  • Type: picklist

  • Required: No

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Introduced: API version 49.0

  • Possible values:

    • Number — Number

    • String — String

    • Boolean — Boolean

    • Date — Date

    • DateTime — Datetime

    • Supplier — Supplier

    • Currency — Currency

    • Varchar — Varchar

    • Comparison — Comparison

LhUnit 

  • Type: picklist

  • Required: No

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Introduced: API version 48.0

  • Possible values:

    • Milliseconds — Milliseconds

    • Seconds — Seconds

    • Minutes — Minutes

    • Hours — Hours

    • Days — Days

    • Weeks — Weeks

    • Months — Months

    • Years — Years

LhValue 

  • Type: string
  • Required: No
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 49.0

Operation 

  • Type: picklist

  • Required: No

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Introduced: API version 48.0

  • Possible values:

    • And — And

    • Or — Or

    • Not — Not

    • LessThan — LessThan

    • LessThanOrEqual — LessThanOrEqual

    • GreaterThan — GreaterThan

    • GreaterThanOrEqual — GreaterThanOrEqual

    • Equals — Equals

    • NotEquals — NotEquals

    • Add — Add

    • Subtract — Subtract

    • Multiply — Multiply

    • Divide — Divide

    • IsNull — IsNull

    • IsNotNull — IsNotNull

    • StartsWith — StartsWith

    • EndsWith — EndsWith

    • Contains — Contains

    • Concat — Concat

    • DoesNotContain — DoesNotContain

    • Between — Between

    • In — In

ParentDefinitionId 

  • Type: reference

  • Required: No

  • Properties: Create, Filter, Group, Sort, Update

  • Relationship name: ParentDefinition

  • Relationship type: polymorphic

  • Refers to: MLPredictionDefinition, MLDataDefinition, MLRecommendationDefinition

RhFilterId 

  • Type: reference

  • Required: No

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Relationship name: RhFilter

  • Relationship type: relationship

  • Refers to: MLFilter

RhPredictionField 

  • Type: string
  • Required: No
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 48.0

RhType 

  • Type: picklist

  • Required: No

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Introduced: API version 49.0

  • Possible values:

    • Number — Number

    • String — String

    • Boolean — Boolean

    • Date — Date

    • DateTime — Datetime

    • Supplier — Supplier

    • Currency — Currency

    • Varchar — Varchar

    • Comparison — Comparison

RhUnit 

  • Type: picklist

  • Required: No

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Introduced: API version 48.0

  • Possible values:

    • Milliseconds — Milliseconds

    • Seconds — Seconds

    • Minutes — Minutes

    • Hours — Hours

    • Days — Days

    • Weeks — Weeks

    • Months — Months

    • Years — Years

RhValue 

  • Type: string
  • Required: No
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 48.0

SortOrder 

  • Type: int
  • Required: No
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 48.0

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!