openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_TWB_EX_OVERWIEW_TESTPACKAGES:
    post:
      tags:
      - S_TWB_EXTERNAL
      operationId: /rfc/S_TWB_EX_OVERWIEW_TESTPACKAGES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IV_STRUCTURE_ID:
                  type: string
                  maxLength: 32
                ET_PACKAGE_USER:
                  type: array
                  items:
                    type: object
                    properties:
                      FILTER_ID:
                        type: string
                        maxLength: 32
                        description: GUID for Structure
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      ASSIGNMENT_LOCKED:
                        type: string
                        maxLength: 1
                        description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                        enum:
                        - ''
                        - X
                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
              required:
              - IV_STRUCTURE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_STRUCTURE_ATTRIBUTES:
                    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
                  EV_STRUCTURE_TITLE:
                    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
                  ET_PACKAGE_USER:
                    type: array
                    items:
                      type: object
                      properties:
                        FILTER_ID:
                          type: string
                          maxLength: 32
                          description: GUID for Structure
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        ASSIGNMENT_LOCKED:
                          type: string
                          maxLength: 1
                          description: 'Flag with values '' '' and ''X''  enumValues: ""=Not valid; not selected,X=Valid; selected'
                          enum:
                          - ''
                          - X
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
