openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_TWB_EX_SELECT_STRUCTURES:
    post:
      tags:
      - S_TWB_EXTERNAL
      operationId: /rfc/S_TWB_EX_SELECT_STRUCTURES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IV_STRUCTURE_TYPE:
                  type: string
                  maxLength: 5
                ET_STRUCTURE_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      STRUCTURE_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      STRUCTURE_TYPE:
                        type: string
                        maxLength: 5
                        description: Structure Type
                      STRUCTURE_STATUS:
                        type: string
                        maxLength: 1
                        description: 'Status Structure  enumValues: T=In Process,N=New,C=Protected'
                        enum:
                        - T
                        - N
                        - C
                      RELSTAT_SCHEMA:
                        type: string
                        maxLength: 8
                        description: Status Schema for Test Workbench Objects
                      RELSTAT:
                        type: string
                        maxLength: 15
                        description: Status
                      RESPONSIBLE:
                        type: string
                        maxLength: 12
                        description: User Name
                      COMP_ID:
                        type: string
                        maxLength: 20
                        description: Application Component
                      COMPONENT:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      TEST_SEQUENCE:
                        type: string
                        maxLength: 20
                        description: Test sequence
                      SM_PROJECT_ID:
                        type: string
                        maxLength: 10
                        description: Project name
                      SM_SOLUTION_ID:
                        type: integer
                        format: int64
                        description: Solution Identification Number
                      SY_ROLE:
                        type: string
                        maxLength: 1
                        description: System Role
                      CPROJECT_ID:
                        type: string
                        format: byte
                        description: GUID for cPro Project
                      CNT_RED:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      CNT_YELLOW:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      CNT_GREEN:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      P_RED:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      P_YELLOW:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      P_GREEN:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      CNT_MESSAGES:
                        type: integer
                        format: int32
                        description: 2 byte integer (signed)
                      SDATE:
                        type: string
                        format: date
                        description: Date of last status analysis
                      STIME:
                        type: string
                        maxLength: 6
                        description: Time of last status analysis
                      S_OBS:
                        type: string
                        maxLength: 1
                        description: 'Status Not Current  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      LUSER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      LDATE:
                        type: string
                        format: date
                        description: Last Changed On
                      LTIME:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
                ET_STRUCTURE_TITLES:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Documentation language
                      ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      TEXT:
                        type: string
                        maxLength: 75
                        description: Explanatory text
                      TEXT_CAP:
                        type: string
                        maxLength: 75
                        description: Description - only uppercase
                IT_SEL_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field Name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'SIGN field in creation of SELECT-OPTIONS tables  enumValues: E=Exclude specified values,I=Select specified values'
                        enum:
                        - E
                        - I
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal >=
                          value in field LOW,BT=Between: Range of values'
                        enum:
                        - EQ
                        - LT
                        - NE
                        - GT
                        - NP
                        - NB
                        - CP
                        - LE
                        - GE
                        - BT
                      LOW:
                        type: string
                        maxLength: 45
                        description: '''From'' value in external display'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: '''To'' value in external display'
              required:
              - IV_STRUCTURE_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_STRUCTURE_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        STRUCTURE_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        STRUCTURE_TYPE:
                          type: string
                          maxLength: 5
                          description: Structure Type
                        STRUCTURE_STATUS:
                          type: string
                          maxLength: 1
                          description: 'Status Structure  enumValues: T=In Process,N=New,C=Protected'
                          enum:
                          - T
                          - N
                          - C
                        RELSTAT_SCHEMA:
                          type: string
                          maxLength: 8
                          description: Status Schema for Test Workbench Objects
                        RELSTAT:
                          type: string
                          maxLength: 15
                          description: Status
                        RESPONSIBLE:
                          type: string
                          maxLength: 12
                          description: User Name
                        COMP_ID:
                          type: string
                          maxLength: 20
                          description: Application Component
                        COMPONENT:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        TEST_SEQUENCE:
                          type: string
                          maxLength: 20
                          description: Test sequence
                        SM_PROJECT_ID:
                          type: string
                          maxLength: 10
                          description: Project name
                        SM_SOLUTION_ID:
                          type: integer
                          format: int64
                          description: Solution Identification Number
                        SY_ROLE:
                          type: string
                          maxLength: 1
                          description: System Role
                        CPROJECT_ID:
                          type: string
                          format: byte
                          description: GUID for cPro Project
                        CNT_RED:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        CNT_YELLOW:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        CNT_GREEN:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        P_RED:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        P_YELLOW:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        P_GREEN:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        CNT_MESSAGES:
                          type: integer
                          format: int32
                          description: 2 byte integer (signed)
                        SDATE:
                          type: string
                          format: date
                          description: Date of last status analysis
                        STIME:
                          type: string
                          maxLength: 6
                          description: Time of last status analysis
                        S_OBS:
                          type: string
                          maxLength: 1
                          description: 'Status Not Current  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        LUSER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        LDATE:
                          type: string
                          format: date
                          description: Last Changed On
                        LTIME:
                          type: string
                          maxLength: 6
                          description: Time of Last Change
                  ET_STRUCTURE_TITLES:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Documentation language
                        ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        TEXT:
                          type: string
                          maxLength: 75
                          description: Explanatory text
                        TEXT_CAP:
                          type: string
                          maxLength: 75
                          description: Description - only uppercase
                  IT_SEL_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'SIGN field in creation of SELECT-OPTIONS tables  enumValues: E=Exclude specified values,I=Select specified values'
                          enum:
                          - E
                          - I
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'OPTION field in structure of SELECT-OPTIONS tables  enumValues: EQ=Equal: Single value,LT=Less Than: Everything < value in field LOW,NE=Not Equal: Everything apart from the specified single value,GT=Greater Than: Everything > value in field LOW,NP=Not Contains Pattern: Masked input: Reject pattern,NB=Not Between: Everything outside the range,CP=Contains Pattern: Masked input: Find pattern,LE=Less or Equal: Everything <= value in field LOW,GE=Greater or Equal
                            >= value in field LOW,BT=Between: Range of values'
                          enum:
                          - EQ
                          - LT
                          - NE
                          - GT
                          - NP
                          - NB
                          - CP
                          - LE
                          - GE
                          - BT
                        LOW:
                          type: string
                          maxLength: 45
                          description: '''From'' value in external display'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: '''To'' value in external display'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
