openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPS_CAMPAIGNS_GET:
    post:
      tags:
      - PD02
      operationId: /rfc/SPS_CAMPAIGNS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                END_TMSP:
                  type: integer
                  format: int64
                START_TMSP:
                  type: integer
                  format: int64
                CAMPAIGNS:
                  type: array
                  items:
                    type: object
                    properties:
                      CAMPAIGN:
                        type: string
                        maxLength: 32
                        description: 'SAPphone: Automatic Dialing Campaign ID'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_TEXT:
                    type: string
                    maxLength: 80
                    description: Error description
                  RETURNCODE:
                    type: string
                    maxLength: 4
                  SYSTEM_RC_X:
                    type: string
                    maxLength: 10
                  CAMPAIGNS:
                    type: array
                    items:
                      type: object
                      properties:
                        CAMPAIGN:
                          type: string
                          maxLength: 32
                          description: 'SAPphone: Automatic Dialing Campaign ID'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
