Salesforce · JSON Structure

Salesforce Transaction Journal3 Structure

Type: object Properties: 6 Required: 6
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

TransactionJournal3 is a JSON Structure definition published by Salesforce, describing 6 properties, of which 6 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

ActivityDate JournalTypeId LoyaltyProgramId MemberId Status appliedPromotions

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "TransactionJournal3",
  "properties": {
    "ActivityDate": {
      "type": "string"
    },
    "JournalTypeId": {
      "type": "string"
    },
    "LoyaltyProgramId": {
      "type": "string"
    },
    "MemberId": {
      "type": "string"
    },
    "Status": {
      "type": "string"
    },
    "appliedPromotions": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "promotionId": {
            "type": "string"
          },
          "rewards": {
            "type": "array",
            "description": "",
            "items": {
              "type": "object",
              "properties": {
                "rewardType": {
                  "type": "string"
                },
                "discountAmount": {
                  "type": "integer"
                },
                "loyaltyProgramCurrencyName": {
                  "type": "string"
                },
                "points": {
                  "type": "integer"
                },
                "relatedInformation": {
                  "type": "string"
                },
                "notes": {
                  "type": "string"
                },
                "voucherDefinitionName": {
                  "type": "string"
                },
                "voucherExpirationDate": {
                  "type": "string"
                },
                "voucherEffectiveDate": {
                  "type": "string"
                },
                "loyaltyProgramBadgeName": {
                  "type": "string"
                },
                "memberBadgeStatus": {
                  "type": "string"
                },
                "badgeValidityEndDate": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "gameDefinitionName": {
                  "type": "string"
                }
              },
              "required": [
                "rewardType"
              ]
            }
          }
        },
        "required": [
          "promotionId",
          "rewards"
        ]
      }
    }
  },
  "required": [
    "ActivityDate",
    "JournalTypeId",
    "LoyaltyProgramId",
    "MemberId",
    "Status",
    "appliedPromotions"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}