openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TR_GTADIR_SPECIFIC:
    post:
      tags:
      - SR01
      summary: Compare TADIR Entry with GTADIR Entry
      operationId: /rfc/TR_GTADIR_SPECIFIC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HOST:
                  type: string
                  maxLength: 8
                T_TABLE:
                  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'
              required:
              - HOST
              - T_TABLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTION:
                    type: string
                    maxLength: 10
                  ERROR:
                    type: integer
                    format: int32
                  RESULT:
                    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.
