For more information on using API

GET https://webapi.mymarketing.co.il/api/segmentation/ruleTypesMapping

Get a full mapping of operations and field types associated to the type of rule.

Request Information

URI Parameters

Body Parameters

None.

Response Information

Resource Description

Dictionary of SegmentRuleTypes [key] and RuleTypeMappings [value]

Response Formats

application/json, text/json

Sample:
{
  "Info": {
    "fieldTypes": [
      "Email",
      "Email"
    ],
    "operations": [
      "Is",
      "Is"
    ]
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfSegmentRuleTypesRuleTypeMappingsovHfjiPb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfSegmentRuleTypesRuleTypeMappingsovHfjiPb>
    <Key>Info</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/ActiveTrail.BusinessLogic.Segment">
      <d3p1:fieldTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/ActiveTrail.BusinessLogic">
        <d4p1:SegmentFieldTypes>Email</d4p1:SegmentFieldTypes>
        <d4p1:SegmentFieldTypes>Email</d4p1:SegmentFieldTypes>
      </d3p1:fieldTypes>
      <d3p1:operations xmlns:d4p1="http://schemas.datacontract.org/2004/07/ActiveTrail.BusinessLogic">
        <d4p1:SegmentOperationTypes>Is</d4p1:SegmentOperationTypes>
        <d4p1:SegmentOperationTypes>Is</d4p1:SegmentOperationTypes>
      </d3p1:operations>
    </Value>
  </KeyValueOfSegmentRuleTypesRuleTypeMappingsovHfjiPb>
</ArrayOfKeyValueOfSegmentRuleTypesRuleTypeMappingsovHfjiPb>