Lithium Csv Long API

The Csv Long API from Lithium — 1 operation(s) for csv long.

OpenAPI Specification

lithium-csv-long-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: agent-states-api-v2 AccountSet Csv Long API
  version: '1.1'
servers:
- url: https://{instance}.response.lithium.com/api/v2/agentstate
  variables:
    instance:
      default: instance
security:
- {}
tags:
- name: Csv Long
paths:
  /csv_long/{reportName}:
    get:
      summary: Create CSV export for download by date(s)
      description: Generate a CSV export for download using dates represented as milliseconds since epoch. This call was deprecated November 2016.
      operationId: csv_longreportname-deprecated
      parameters:
      - name: reportName
        in: path
        description: 'The name of the report to run. Run `/reports/list` to get a list of available reports. Supported values: `authorReport`, `conversation`, `post`, `rawPost`, `rawPostIncludeActions`, `agentActions`, `publishExport`, `custSatisfaction`, `postTagTrend`, `incomingPostTag`'
        schema:
          type: string
        required: true
      - name: startTime
        in: query
        description: The beginning of the reporting interval (date range) represented as milliseconds since epoch.
        required: true
        schema:
          type: string
      - name: endTime
        in: query
        description: The end of the reporting interval (date range) represented as milliseconds since epoch.
        schema:
          type: string
          default: The current time
      - name: TzOffsetMs
        in: query
        description: Sets the timezone for the formatted dates in milliseconds. When using Epoch time, this parameter only affects the display of the date/time in the reports.
        schema:
          type: string
          default: 0/GMT
      - name: bucketSizeMs
        in: query
        description: 'The size of the bucketed intervals within the date range in milliseconds. Used by the following reports: `conversation`, `post`, `agentActions`, `custSatisfaction`, `incomingPostTag`'
        schema:
          type: string
          default: 1 hour
      - name: providerType
        in: query
        description: 'Filter report data by Provider Type/Source. Support values: `twitter`, `facebook`, `lithium`'
        schema:
          type: string
          default: All provider types
      - name: incldActions
        in: query
        description: 'Use this for a raw post data report only. If `false`, the report will include all that that were received during the time range. If `true`, the report will include all posts that were received plus posts that had the following agent actions performed on them during the time range: Claimed, Responded to, Closed'
        schema:
          type: string
          default: 'false'
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      security: []
      x-readme:
        code-samples:
        - language: http
          code: https://servername.lithium.com/reports/csv_long/conversation?startTime=1396224000000&endTime=139639680000
          name: /csv_long/reportName Example
        samples-languages:
        - http
      tags:
      - Csv Long
x-readme:
  headers: []
  explorer-enabled: false
  proxy-enabled: false
x-readme-fauxas: true