openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPLPPMDS_DISPATCHER:
    post:
      tags:
      - RSPLPPMDS
      operationId: /rfc/RSPLPPMDS_DISPATCHER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_INFOPROV:
                  type: string
                  maxLength: 30
                I_METHOD:
                  type: string
                  maxLength: 2
                I_TSX_DSELN:
                  type: array
                  items:
                    type: object
                    properties:
                      PLANID:
                        type: string
                        maxLength: 20
                        description: Techn. Name of Plan
                      PLSESNR:
                        type: integer
                        format: int64
                        description: Number of Planning Session
                      AORID:
                        type: string
                        maxLength: 60
                        description: techn. Name des Verantwortungsbereichs
                      T_SELN:
                        type: array
                        items:
                          type: object
                          properties:
                            CHANM:
                              type: string
                              maxLength: 30
                              description: Characteristic
                            SIGN:
                              type: string
                              maxLength: 1
                              description: Type of SIGN component in row type of a Ranges type
                            OPT:
                              type: string
                              maxLength: 2
                              description: Type of OPTION component in row type of a Ranges type
                            LOW:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            HIGH:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                I_TS_PLAN:
                  type: array
                  items:
                    type: object
                    properties:
                      INFOPROV:
                        type: string
                        maxLength: 30
                        description: InfoProvider
                      PLANID:
                        type: string
                        maxLength: 20
                        description: Techn. Name of Plan
              required:
              - I_INFOPROV
              - I_METHOD
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_S_MESG:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
