openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IDOCTYPES_FOR_MESTYPE_READ:
    post:
      tags:
      - EDIMEXT
      summary: Determine IDoc types for logical messages (RFC-compatible)
      operationId: /rfc/IDOCTYPES_FOR_MESTYPE_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_MESTYP:
                  type: string
                  maxLength: 30
                  description: Logical message type
                PT_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      MESTYP:
                        type: string
                        maxLength: 30
                        description: Message Type
                      DESCRP:
                        type: string
                        maxLength: 60
                        description: Short description of object
                      IDOCTYP:
                        type: string
                        maxLength: 30
                        description: Basic type
                      CIMTYP:
                        type: string
                        maxLength: 30
                        description: Extension
                      RELEASED:
                        type: string
                        maxLength: 4
                        description: Release for which message type assignment is valid
              required:
              - P_MESTYP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PT_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        MESTYP:
                          type: string
                          maxLength: 30
                          description: Message Type
                        DESCRP:
                          type: string
                          maxLength: 60
                          description: Short description of object
                        IDOCTYP:
                          type: string
                          maxLength: 30
                          description: Basic type
                        CIMTYP:
                          type: string
                          maxLength: 30
                          description: Extension
                        RELEASED:
                          type: string
                          maxLength: 4
                          description: Release for which message type assignment is valid
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
