openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_M_TABSET_GET:
    post:
      tags:
      - SDC_MODEL
      operationId: /rfc/SDOK_M_TABSET_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HEADERTAB:
                  type: string
                  maxLength: 30
                  description: Table Name
                TABS:
                  type: array
                  items:
                    type: object
                    properties:
                      HEADERTAB:
                        type: string
                        maxLength: 30
                        description: Table Name
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Model: Secondary table type  enumValues: N=TargAnchor,O=Outgoing relations,D=Description,""=Header table (not a secondary table),A=Attributes,L=Hyperlinks,C=Check out,X=Index,H=Attributes of Target Anchors,E=Attributes of Incoming Relations,G=Attributes of Hyperlinks,B=Attributes of Outgoing Relations,F=Files,I=Incoming relations,K=Check-out files'
                        enum:
                        - N
                        - O
                        - D
                        - ''
                        - A
                        - L
                        - C
                        - X
                        - H
                        - E
                        - G
                        - B
                        - F
                        - I
                        - K
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
              required:
              - HEADERTAB
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CLASS_TYPE:
                    type: string
                    maxLength: 10
                    description: Object Type
                  TABS:
                    type: array
                    items:
                      type: object
                      properties:
                        HEADERTAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Model: Secondary table type  enumValues: N=TargAnchor,O=Outgoing relations,D=Description,""=Header table (not a secondary table),A=Attributes,L=Hyperlinks,C=Check out,X=Index,H=Attributes of Target Anchors,E=Attributes of Incoming Relations,G=Attributes of Hyperlinks,B=Attributes of Outgoing Relations,F=Files,I=Incoming relations,K=Check-out files'
                          enum:
                          - N
                          - O
                          - D
                          - ''
                          - A
                          - L
                          - C
                          - X
                          - H
                          - E
                          - G
                          - B
                          - F
                          - I
                          - K
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
