openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDAS_DDAS_GEN_TMPL:
    post:
      tags:
      - RSDAS_PERSIST_TMPL
      operationId: /rfc/RSDAS_DDAS_GEN_TMPL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                E_T_MESSAGE_X:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      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
                      TEXT:
                        type: string
                        maxLength: 132
                        description: Message Text
                I_T_CHAR01:
                  type: array
                  items:
                    type: object
                    properties:
                      PAR_VALUE:
                        type: string
                        maxLength: 60
                        description: Parameter Value
                      PAR_VALUE_TO:
                        type: string
                        maxLength: 60
                        description: 'Parameter Value for Input: Upper Limit of Interval'
                I_T_DATE02:
                  type: array
                  items:
                    type: object
                    properties:
                      DATE_VALUE:
                        type: string
                        format: date
                        description: Date
                      DATE_VALUE_TO:
                        type: string
                        format: date
                        description: Date
                O_T_AMOUNT04:
                  type: array
                  items:
                    type: object
                    properties:
                      PAR_VALUE:
                        type: string
                        maxLength: 60
                        description: Parameter Value
                      PAR_AMOUNT:
                        type: integer
                        format: int64
                        description: Amount
                      PAR_CURRENCY:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                O_T_NUMBER03:
                  type: array
                  items:
                    type: object
                    properties:
                      PAR_VALUE:
                        type: string
                        maxLength: 60
                        description: Parameter Value
                      PAR_KYFNUM:
                        type: integer
                        format: int64
                        description: Key Figure of Type Number (3 Decimal Places)
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                O_T_QUANTITY05:
                  type: array
                  items:
                    type: object
                    properties:
                      PAR_VALUE:
                        type: string
                        maxLength: 60
                        description: Parameter Value
                      PAR_QUANTITY:
                        type: integer
                        format: int64
                        description: Quantity
                      PAR_UNIT:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_MESSAGE_X:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        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
                        TEXT:
                          type: string
                          maxLength: 132
                          description: Message Text
                  I_T_CHAR01:
                    type: array
                    items:
                      type: object
                      properties:
                        PAR_VALUE:
                          type: string
                          maxLength: 60
                          description: Parameter Value
                        PAR_VALUE_TO:
                          type: string
                          maxLength: 60
                          description: 'Parameter Value for Input: Upper Limit of Interval'
                  I_T_DATE02:
                    type: array
                    items:
                      type: object
                      properties:
                        DATE_VALUE:
                          type: string
                          format: date
                          description: Date
                        DATE_VALUE_TO:
                          type: string
                          format: date
                          description: Date
                  O_T_AMOUNT04:
                    type: array
                    items:
                      type: object
                      properties:
                        PAR_VALUE:
                          type: string
                          maxLength: 60
                          description: Parameter Value
                        PAR_AMOUNT:
                          type: integer
                          format: int64
                          description: Amount
                        PAR_CURRENCY:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  O_T_NUMBER03:
                    type: array
                    items:
                      type: object
                      properties:
                        PAR_VALUE:
                          type: string
                          maxLength: 60
                          description: Parameter Value
                        PAR_KYFNUM:
                          type: integer
                          format: int64
                          description: Key Figure of Type Number (3 Decimal Places)
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  O_T_QUANTITY05:
                    type: array
                    items:
                      type: object
                      properties:
                        PAR_VALUE:
                          type: string
                          maxLength: 60
                          description: Parameter Value
                        PAR_QUANTITY:
                          type: integer
                          format: int64
                          description: Quantity
                        PAR_UNIT:
                          type: string
                          maxLength: 3
                          description: Base Unit of Measure
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
