Salesforce History API

The History API from Salesforce — 1 operation(s) for history.

Operations 1

POST /data/v64.0/connect/loyalty/programs/{loyaltyProgramName}/transaction-history Salesforce Transaction History #

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/salesforce-history-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

salesforce-history-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce History API
  description: 'Find the resources you need to start building. '
  contact: {}
  version: '1.0'
servers:
- url: https://login.salesforce.com
  variables: {}
- url: https://id
  variables: {}
- url: https://services
  variables: {}
- url: '{{url}}{{site}}/services/oauth2'
  variables:
    url:
      default: DefaultParameterValue
    site:
      default: DefaultParameterValue
security:
- oauth2:
  - api
tags:
- name: History
paths:
  /data/v64.0/connect/loyalty/programs/{loyaltyProgramName}/transaction-history:
    parameters: []
    post:
      tags:
      - History
      summary: Salesforce Transaction History
      description: 'Standard Documentation:


        [https://developer.salesforce.com/docs/atlas.en-us.loyalty.meta/loyalty/connect_resources_transaction_history.htm](https://developer.salesforce.com/docs/atlas.en-us.loyalty.meta/loyalty/connect_resources_transaction_history.htm)'
      operationId: TransactionHistory
      parameters:
      - name: page
        in: query
        description: ''
        required: true
        style: form
        explode: true
        schema:
          type: string
        example: example_value
      - name: loyaltyProgramName
        in: path
        description: ''
        required: true
        schema:
          type: string
        example: example_value
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/TransactionHistoryRequest'
              - examples:
                - membershipNumber: Member1
                  journalType: Accrual
                  journalSubType: Social
                  periodStartDate: '2022-01-27T00:00:00.000Z'
                  periodEndDate: '2022-11-27T00:00:00.000Z'
              contentMediaType: application/json
            example:
              membershipNumber: Member1
              journalType: Accrual
              journalSubType: Social
              periodStartDate: '2022-01-27T00:00:00.000Z'
              periodEndDate: '2022-11-27T00:00:00.000Z'
        required: true
      responses:
        '201':
          description: Created
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Wed, 22 May 2024 16:22:05 GMT
            Strict-Transport-Security:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: max-age=63072000; includeSubDomains
            X-Content-Type-Options:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: nosniff
            X-Robots-Tag:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: none
            Cache-Control:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: no-cache,must-revalidate,max-age=0,no-store,private
            Vary:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Accept-Encoding
            Content-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: gzip
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                allOf:
                - $ref: '#/components/schemas/TransactionHistory'
                - examples:
                  - message: null
                    status: true
                    totalCount: 0
                    transactionJournals: []
                contentMediaType: application/json;charset=UTF-8
              example:
                message: null
                status: true
                totalCount: 0
                transactionJournals: []
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    TransactionHistoryRequest:
      title: TransactionHistoryRequest
      required:
      - membershipNumber
      - journalType
      - journalSubType
      - periodStartDate
      - periodEndDate
      type: object
      properties:
        membershipNumber:
          type: string
          example: example_value
        journalType:
          type: string
          example: example_value
        journalSubType:
          type: string
          example: example_value
        periodStartDate:
          type: string
          example: example_value
        periodEndDate:
          type: string
          example: example_value
      examples:
      - membershipNumber: Member1
        journalType: Accrual
        journalSubType: Social
        periodStartDate: '2022-01-27T00:00:00.000Z'
        periodEndDate: '2022-11-27T00:00:00.000Z'
    TransactionHistory:
      title: TransactionHistory
      required:
      - message
      - status
      - totalCount
      - transactionJournals
      type: object
      properties:
        message:
          type:
          - string
          - 'null'
          example: example_value
        status:
          type: boolean
          example: true
        totalCount:
          type: integer
          contentEncoding: int32
          example: 42
        transactionJournals:
          type: array
          items:
            type: string
          description: ''
          example: []
      examples:
      - message: null
        status: true
        totalCount: 0
        transactionJournals: []
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: '{DefaultParameterValue}{DefaultParameterValue}/services/oauth2/authorize'
          scopes:
            api: ''