openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SUBTYPES_CHECK_GTADIR_NAME:
    post:
      tags:
      - SGSUBTYPES
      operationId: /rfc/RS_SUBTYPES_CHECK_GTADIR_NAME
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CLIENT_SAPRL:
                  type: string
                  default: ''
                  maxLength: 4
                I_GET_FIRST_CONFLICT:
                  type: string
                  default: X
                  maxLength: 1
                I_IGNORE_EXCEPTIONS:
                  type: string
                  default: ''
                  maxLength: 1
                I_SUBTYPE_KIND:
                  type: string
                  maxLength: 4
                ET_TADIR_TYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 30
                        description: Object name
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGVAR1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ERRORCLASS:
                        type: string
                        maxLength: 10
                        description: Error class repository API
                IT_SUBTYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPENAME:
                        type: string
                        maxLength: 30
                        description: Name of Dictionary Type
              required:
              - I_SUBTYPE_KIND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_TADIR_TYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTID:
                          type: string
                          maxLength: 30
                          description: Object name
                        OBJECTTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGVAR1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        ERRORCLASS:
                          type: string
                          maxLength: 10
                          description: Error class repository API
                  IT_SUBTYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPENAME:
                          type: string
                          maxLength: 30
                          description: Name of Dictionary Type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
