openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_TWB_EX_READ_TESTCASE_DETAILS:
    post:
      tags:
      - S_TWB_EXTERNAL
      operationId: /rfc/S_TWB_EX_READ_TESTCASE_DETAILS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                ET_TESTCASE_DETAILS:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTURE_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      NODE_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      REF_TYPE:
                        type: string
                        maxLength: 4
                        description: Valid Reference Types in Structure Repository
                      REF_OBJECT_KEY:
                        type: string
                        maxLength: 70
                        description: Referenced object for node
                      REF_OBJECT:
                        type: string
                        maxLength: 70
                        description: Referenced object for node
                      TC_NAME:
                        type: string
                        maxLength: 30
                        description: Test
                      TC_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Test Case Attributes: Type  enumValues: E=eCATT Test Configuration,F=Function Module Test,L=Referring to,C=CATT,X=External Application,M=Manual Test Case,S=Training Test'
                        enum:
                        - E
                        - F
                        - L
                        - C
                        - X
                        - M
                        - S
                      TC_VARIANT:
                        type: string
                        maxLength: 30
                        description: Variant name
                      TC_VARIANT_TXT:
                        type: string
                        maxLength: 60
                        description: Short Text of Parameter, Command Interface or Variant
                      TC_PRIO:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TC_PRODUCT:
                        type: string
                        maxLength: 20
                        description: Product
                      TC_REL_V_F:
                        type: string
                        maxLength: 4
                        description: 'Test case attributes: valid Release  enumValues: 31H=3.1H,470=4.70,640=6.40,610=6.10,620=6.20,46D=4.6D,40B=4.0B,""=No Restrictions,46A=4.6A,45A=4.5A,46B=4.6B,45B=4.5B,46C=4.6C'
                        enum:
                        - 31H
                        - '470'
                        - '640'
                        - '610'
                        - '620'
                        - 46D
                        - 40B
                        - ''
                        - 46A
                        - 45A
                        - 46B
                        - 45B
                        - 46C
                      TC_REL_V_T:
                        type: string
                        maxLength: 4
                        description: 'Test case attributes: valid Release  enumValues: 31H=3.1H,470=4.70,640=6.40,610=6.10,620=6.20,46D=4.6D,40B=4.0B,""=No Restrictions,46A=4.6A,45A=4.5A,46B=4.6B,45B=4.5B,46C=4.6C'
                        enum:
                        - 31H
                        - '470'
                        - '640'
                        - '610'
                        - '620'
                        - 46D
                        - 40B
                        - ''
                        - 46A
                        - 45A
                        - 46B
                        - 45B
                        - 46C
                      TC_RESP:
                        type: string
                        maxLength: 35
                        description: 'Test case attributes: Person responsible'
                      TC_DEVCLS:
                        type: string
                        maxLength: 30
                        description: Package
                      TC_FRANGE:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      TC_PSP:
                        type: string
                        maxLength: 24
                        description: Network / Request
                      TC_WKREQ:
                        type: integer
                        format: int64
                        description: 'Test Case/eCATT Object Attributes: Time Required'
                      TC_WKUNIT:
                        type: string
                        maxLength: 3
                        description: 'Test case attributes: Requirement unit'
                      TC_SRCH_01:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_02:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_03:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_04:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_05:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_06:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_07:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_08:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_09:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TC_SRCH_10:
                        type: string
                        maxLength: 20
                        description: Search Term
                      TWB_DEPV_S:
                        type: string
                        maxLength: 1
                        description: 'Test Case/eCATT Object Attributes: Language Key'
                      TWB_DEPV_L:
                        type: string
                        maxLength: 3
                        description: Country Key
                      TWB_DEP_VC:
                        type: string
                        maxLength: 10
                        description: 'Test Case/eCATT Object attributes: Customizing Value  enumValues: EURO_A=After Euro conversion,IDES=Setup like IDES client,UMGA=Special environment CO-PC,STANDARD=Setup like SAP standard client,EURO_B=Before Euro conversion'
                        enum:
                        - EURO_A
                        - IDES
                        - UMGA
                        - STANDARD
                        - EURO_B
                      TWB_DEPVDB:
                        type: string
                        maxLength: 10
                        description: 'Test Case/eCATT Object Attributes: Database-Dependency  enumValues: INFORMIX 6=Informix 6.0,MSSQLSRV65=Microsoft SQL-Server 6.5,ORACLE 71=Oracle 7.1.x,DB2/400=IBM DB/2 400,ORACLE 72=Oracle 7.2.x,ORACLE 73=Oracle 7.3.x,ADABAS D6=Software AG Adabas D 6.x,INFORMIX 7=Informix 7.x,ORACLE 80=Oracle 8.0.x,MSSQLSRV60=Microsoft SQL-Server 6.0,ORACLE 6=Oracle 6.0'
                        enum:
                        - INFORMIX 6
                        - MSSQLSRV65
                        - ORACLE 71
                        - DB2/400
                        - ORACLE 72
                        - ORACLE 73
                        - ADABAS D6
                        - INFORMIX 7
                        - ORACLE 80
                        - MSSQLSRV60
                        - ORACLE 6
                      TWB_DEP_VP:
                        type: string
                        maxLength: 10
                        description: 'Test Case/eCATT Object Attributes: Platform-Dependency  enumValues: HP-UX 9.0=Hewlett-Packard UX 9.0,HP-UX 10.1=Hewlett-Packard UX 10.1,HP-UX 10.0=Hewlett-Packard UX 10.0,OS/400=IBM OS/400, V4,NT/A 3.5=Windows NT Alpha 3.5.x,NT/I 3.5=Windows NT Intel 3.5.x,NT/A 4.0=Windows NT Alpha 4.0,OPEN/VMS=DEC Open VMS,AIX 3.2=IBM AIX 3.2, 3.2.5,AIX 4.2=IBM AIX 4.2,AIX 4.1=IBM AIX 4.1,SOLARIS=Sun Solaris 2.x,ULTRIX=DEC Ultrix 4.x,OSF1 3.0=DEC Unix 3.0,NT/I 4.0=Windows NT
                          Intel 4.0,OSF1 2.0=DEC Unix 2.0,RELIANT=Reliant 5.4x,OSF1 3.2=DEC Unix 3.2,OSF1 1.3=DEC Unix 1.3,HP-UX 10.2=Hewlett-Packard UX 10.2'
                        enum:
                        - HP-UX 9.0
                        - HP-UX 10.1
                        - HP-UX 10.0
                        - OS/400
                        - NT/A 3.5
                        - NT/I 3.5
                        - NT/A 4.0
                        - OPEN/VMS
                        - AIX 3.2
                        - AIX 4.2
                        - AIX 4.1
                        - SOLARIS
                        - ULTRIX
                        - OSF1 3.0
                        - NT/I 4.0
                        - OSF1 2.0
                        - RELIANT
                        - OSF1 3.2
                        - OSF1 1.3
                        - HP-UX 10.2
                      TWB_DEP_VF:
                        type: string
                        maxLength: 10
                        description: 'Test Case/eCATT Object Attributes: Frontend Value  enumValues: Windows 16=Windows 3.1x, Windows for Workgroups,Windows 32=Windows 95, Windows NT,MacOS=Apple McIntosh OS,OS/2=IBM OS/2,Motif=Unix/Motif'
                        enum:
                        - Windows 16
                        - Windows 32
                        - MacOS
                        - OS/2
                        - Motif
                      TC_SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TC_TEXT:
                        type: string
                        maxLength: 75
                        description: Title
                      TC_LDOC:
                        type: string
                        maxLength: 1
                        description: Language Key
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Technical Description of Logical Components
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      SYSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      SYMANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                IT_STRUCTURE_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTURE_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_TESTCASE_DETAILS:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTURE_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        NODE_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        REF_TYPE:
                          type: string
                          maxLength: 4
                          description: Valid Reference Types in Structure Repository
                        REF_OBJECT_KEY:
                          type: string
                          maxLength: 70
                          description: Referenced object for node
                        REF_OBJECT:
                          type: string
                          maxLength: 70
                          description: Referenced object for node
                        TC_NAME:
                          type: string
                          maxLength: 30
                          description: Test
                        TC_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Test Case Attributes: Type  enumValues: E=eCATT Test Configuration,F=Function Module Test,L=Referring to,C=CATT,X=External Application,M=Manual Test Case,S=Training Test'
                          enum:
                          - E
                          - F
                          - L
                          - C
                          - X
                          - M
                          - S
                        TC_VARIANT:
                          type: string
                          maxLength: 30
                          description: Variant name
                        TC_VARIANT_TXT:
                          type: string
                          maxLength: 60
                          description: Short Text of Parameter, Command Interface or Variant
                        TC_PRIO:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TC_PRODUCT:
                          type: string
                          maxLength: 20
                          description: Product
                        TC_REL_V_F:
                          type: string
                          maxLength: 4
                          description: 'Test case attributes: valid Release  enumValues: 31H=3.1H,470=4.70,640=6.40,610=6.10,620=6.20,46D=4.6D,40B=4.0B,""=No Restrictions,46A=4.6A,45A=4.5A,46B=4.6B,45B=4.5B,46C=4.6C'
                          enum:
                          - 31H
                          - '470'
                          - '640'
                          - '610'
                          - '620'
                          - 46D
                          - 40B
                          - ''
                          - 46A
                          - 45A
                          - 46B
                          - 45B
                          - 46C
                        TC_REL_V_T:
                          type: string
                          maxLength: 4
                          description: 'Test case attributes: valid Release  enumValues: 31H=3.1H,470=4.70,640=6.40,610=6.10,620=6.20,46D=4.6D,40B=4.0B,""=No Restrictions,46A=4.6A,45A=4.5A,46B=4.6B,45B=4.5B,46C=4.6C'
                          enum:
                          - 31H
                          - '470'
                          - '640'
                          - '610'
                          - '620'
                          - 46D
                          - 40B
                          - ''
                          - 46A
                          - 45A
                          - 46B
                          - 45B
                          - 46C
                        TC_RESP:
                          type: string
                          maxLength: 35
                          description: 'Test case attributes: Person responsible'
                        TC_DEVCLS:
                          type: string
                          maxLength: 30
                          description: Package
                        TC_FRANGE:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        TC_PSP:
                          type: string
                          maxLength: 24
                          description: Network / Request
                        TC_WKREQ:
                          type: integer
                          format: int64
                          description: 'Test Case/eCATT Object Attributes: Time Required'
                        TC_WKUNIT:
                          type: string
                          maxLength: 3
                          description: 'Test case attributes: Requirement unit'
                        TC_SRCH_01:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_02:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_03:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_04:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_05:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_06:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_07:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_08:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_09:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TC_SRCH_10:
                          type: string
                          maxLength: 20
                          description: Search Term
                        TWB_DEPV_S:
                          type: string
                          maxLength: 1
                          description: 'Test Case/eCATT Object Attributes: Language Key'
                        TWB_DEPV_L:
                          type: string
                          maxLength: 3
                          description: Country Key
                        TWB_DEP_VC:
                          type: string
                          maxLength: 10
                          description: 'Test Case/eCATT Object attributes: Customizing Value  enumValues: EURO_A=After Euro conversion,IDES=Setup like IDES client,UMGA=Special environment CO-PC,STANDARD=Setup like SAP standard client,EURO_B=Before Euro conversion'
                          enum:
                          - EURO_A
                          - IDES
                          - UMGA
                          - STANDARD
                          - EURO_B
                        TWB_DEPVDB:
                          type: string
                          maxLength: 10
                          description: 'Test Case/eCATT Object Attributes: Database-Dependency  enumValues: INFORMIX 6=Informix 6.0,MSSQLSRV65=Microsoft SQL-Server 6.5,ORACLE 71=Oracle 7.1.x,DB2/400=IBM DB/2 400,ORACLE 72=Oracle 7.2.x,ORACLE 73=Oracle 7.3.x,ADABAS D6=Software AG Adabas D 6.x,INFORMIX 7=Informix 7.x,ORACLE 80=Oracle 8.0.x,MSSQLSRV60=Microsoft SQL-Server 6.0,ORACLE 6=Oracle 6.0'
                          enum:
                          - INFORMIX 6
                          - MSSQLSRV65
                          - ORACLE 71
                          - DB2/400
                          - ORACLE 72
                          - ORACLE 73
                          - ADABAS D6
                          - INFORMIX 7
                          - ORACLE 80
                          - MSSQLSRV60
                          - ORACLE 6
                        TWB_DEP_VP:
                          type: string
                          maxLength: 10
                          description: 'Test Case/eCATT Object Attributes: Platform-Dependency  enumValues: HP-UX 9.0=Hewlett-Packard UX 9.0,HP-UX 10.1=Hewlett-Packard UX 10.1,HP-UX 10.0=Hewlett-Packard UX 10.0,OS/400=IBM OS/400, V4,NT/A 3.5=Windows NT Alpha 3.5.x,NT/I 3.5=Windows NT Intel 3.5.x,NT/A 4.0=Windows NT Alpha 4.0,OPEN/VMS=DEC Open VMS,AIX 3.2=IBM AIX 3.2, 3.2.5,AIX 4.2=IBM AIX 4.2,AIX 4.1=IBM AIX 4.1,SOLARIS=Sun Solaris 2.x,ULTRIX=DEC Ultrix 4.x,OSF1 3.0=DEC Unix 3.0,NT/I 4.0=Windows NT
                            Intel 4.0,OSF1 2.0=DEC Unix 2.0,RELIANT=Reliant 5.4x,OSF1 3.2=DEC Unix 3.2,OSF1 1.3=DEC Unix 1.3,HP-UX 10.2=Hewlett-Packard UX 10.2'
                          enum:
                          - HP-UX 9.0
                          - HP-UX 10.1
                          - HP-UX 10.0
                          - OS/400
                          - NT/A 3.5
                          - NT/I 3.5
                          - NT/A 4.0
                          - OPEN/VMS
                          - AIX 3.2
                          - AIX 4.2
                          - AIX 4.1
                          - SOLARIS
                          - ULTRIX
                          - OSF1 3.0
                          - NT/I 4.0
                          - OSF1 2.0
                          - RELIANT
                          - OSF1 3.2
                          - OSF1 1.3
                          - HP-UX 10.2
                        TWB_DEP_VF:
                          type: string
                          maxLength: 10
                          description: 'Test Case/eCATT Object Attributes: Frontend Value  enumValues: Windows 16=Windows 3.1x, Windows for Workgroups,Windows 32=Windows 95, Windows NT,MacOS=Apple McIntosh OS,OS/2=IBM OS/2,Motif=Unix/Motif'
                          enum:
                          - Windows 16
                          - Windows 32
                          - MacOS
                          - OS/2
                          - Motif
                        TC_SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TC_TEXT:
                          type: string
                          maxLength: 75
                          description: Title
                        TC_LDOC:
                          type: string
                          maxLength: 1
                          description: Language Key
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Technical Description of Logical Components
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        SYSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        SYMANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                  IT_STRUCTURE_IDS:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTURE_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
