openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CME_API_DSCOPE_GET_LONGTEXT:
    post:
      tags:
      - CME_API_DSCOPE
      summary: CME Definition Scope - Read Long Texts
      operationId: /rfc/CME_API_DSCOPE_GET_LONGTEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_CHANGE_ORDER:
                  type: object
                  properties:
                    CHANGE_ORDER_ID:
                      type: string
                      format: byte
                      description: Change Order
                    CHANGE_ORDER:
                      type: string
                      maxLength: 12
                      description: Change Order
                    PREDECESSOR_ID:
                      type: string
                      format: byte
                      description: Change Order
                    PREDECESSOR:
                      type: string
                      maxLength: 12
                      description: Change Order
                    VALIDITY_INTERVAL:
                      type: object
                      properties:
                        DATE_FROM:
                          type: string
                          format: date
                          description: From Date
                        DATE_TO:
                          type: string
                          format: date
                          description: To Date
                    DESCRIPTIONS:
                      type: array
                      items:
                        type: object
                        properties:
                          LANGUAGE:
                            type: string
                            maxLength: 1
                            description: Language
                          LANGUAGE_ISO:
                            type: string
                            maxLength: 2
                            description: Language according to ISO 639
                          DESCRIPTION:
                            type: string
                            maxLength: 40
                            description: Change Number Description
                IS_KEY:
                  type: object
                  properties:
                    DSCOPE_ID:
                      type: string
                      maxLength: 100
                      description: 'CME Definition Scope: External Name'
                    DSCOPE_VERSION:
                      type: integer
                      format: int64
                      description: Version
                    OWNER_ID:
                      type: string
                      maxLength: 100
                      description: 'CME Owner: External Name'
                    OWNER_GUID:
                      type: string
                      format: byte
                      description: Owner
                    DSCOPE_GUID:
                      type: string
                      format: byte
                      description: 'CME Definition Scope: GUID'
                    DSCOPE_OBJ_GUID:
                      type: string
                      format: byte
                      description: 'CME Definition Scope: Object GUID'
                IT_TEXT_KEYS:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEMENT:
                        type: string
                        maxLength: 30
                        description: MDF Text Element, like Set Type
                      SUBELEM:
                        type: string
                        maxLength: 30
                        description: Subelement (Attribute of Set Type)
                      SUBOBJECT:
                        type: integer
                        format: int64
                        description: Subobject, for example, row key of a set
                      TEXT_TYPE:
                        type: string
                        maxLength: 10
                        description: MDF Text Type
                      LANGUAGE:
                        type: string
                        maxLength: 2
                        description: Language
                      COUNTRY:
                        type: string
                        maxLength: 2
                        description: Country Key
                      LONG_ID:
                        type: string
                        format: byte
                        description: Long Text Key
                ET_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_LONGTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXT_KEY:
                          type: object
                          properties:
                            ELEMENT:
                              type: string
                              maxLength: 30
                              description: MDF Text Element, like Set Type
                            SUBELEM:
                              type: string
                              maxLength: 30
                              description: Subelement (Attribute of Set Type)
                            SUBOBJECT:
                              type: integer
                              format: int64
                              description: Subobject, for example, row key of a set
                            TEXT_TYPE:
                              type: string
                              maxLength: 10
                              description: MDF Text Type
                            LANGUAGE:
                              type: string
                              maxLength: 2
                              description: Language
                            COUNTRY:
                              type: string
                              maxLength: 2
                              description: Country Key
                            LONG_ID:
                              type: string
                              format: byte
                              description: Long Text Key
                        LONGTEXT:
                          type: array
                          items:
                            type: object
                            properties:
                              TDFORMAT:
                                type: string
                                maxLength: 2
                                description: Tag column
                              TDLINE:
                                type: string
                                maxLength: 132
                                description: Text Line
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
