openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_GSUBTYPES_CHECK_EXISTENCE:
    post:
      tags:
      - SGSUBTYPES
      operationId: /rfc/RS_GSUBTYPES_CHECK_EXISTENCE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_GET_GTADIR_INFO:
                  type: string
                  default: ''
                  maxLength: 1
                I_SUBTYPE_NAME:
                  type: string
                  maxLength: 30
              required:
              - I_SUBTYPE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MESSAGE:
                    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
                  E_SUBTYPE:
                    type: object
                    properties:
                      TYPENAME:
                        type: string
                        maxLength: 30
                        description: Subty. Name
                      TYPEKIND:
                        type: string
                        maxLength: 4
                        description: Object Ty.in GSUBTYPES
                      TADIR_OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      TADIR_OBJ_NAME:
                        type: string
                        maxLength: 30
                        description: Name of Dictionary Type
                  E_SUPERTYPE_GTADIR:
                    type: object
                    properties:
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 112
                        description: GTADIR Object Name from Release 6.10
                      SRCSYSTEM:
                        type: string
                        maxLength: 10
                        description: Original System of Object
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Author of the Repository object
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      GENFLAG:
                        type: string
                        maxLength: 1
                        description: 'Generation flag  enumValues: X=generated, is retained during the upgrade,T=generated, can be deleted during the upgrade,""=not generated'
                        enum:
                        - X
                        - T
                        - ''
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Delivery Status (L)ocal, (S)AP, (K)customer
                      REFCNT:
                        type: integer
                        format: int64
                        description: Numeric, 2-digit value
                      MOVING:
                        type: string
                        maxLength: 1
                        description: 'Move active: ''X'', inactive: SPACE'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
