openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TR_SELECT_PROJECTS:
    post:
      tags:
      - TR_CTS_PROJECT_UTILITIES
      operationId: /rfc/TR_SELECT_PROJECTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_SELECTION:
                  type: object
                  properties:
                    TRKORR:
                      type: string
                      maxLength: 20
                      description: Project in Change and Transport System
                    DESCRIPTN:
                      type: string
                      maxLength: 60
                      description: Short Description of Repository Objects
                    TRSTATUSV:
                      type: string
                      maxLength: 26
                      description: 'Status vector for status (long)  enumValues: A=Only characters allowed'
                      enum:
                      - A
                    FROMDATE:
                      type: string
                      format: date
                      description: Date of Last Change
                    TODATE:
                      type: string
                      format: date
                      description: Date of Last Change
                    SRCSYSTEM:
                      type: string
                      maxLength: 10
                      description: Source system of a transport request
                    SRCCLIENT:
                      type: string
                      maxLength: 3
                      description: Source client of request
                    EXTERNALPS:
                      type: string
                      maxLength: 32
                      description: External Project System
                    EXTERNALID:
                      type: string
                      maxLength: 32
                      description: Project ID
              required:
              - IS_SELECTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_PROJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        EXTERNALPS:
                          type: string
                          maxLength: 32
                          description: External Project System
                        PS_TEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        EXTERNALID:
                          type: string
                          maxLength: 32
                          description: Project ID
                        SRCSYSTEM:
                          type: string
                          maxLength: 10
                          description: Source system of a transport request
                        SRCCLIENT:
                          type: string
                          maxLength: 3
                          description: Source client of request
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Project in Change and Transport System
                        DESCRIPTN:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        TRSTATUS:
                          type: string
                          maxLength: 1
                          description: Status of request/task
                        AS4USER:
                          type: string
                          maxLength: 12
                          description: Owner of a Request or Task
                        AS4DATE:
                          type: string
                          format: date
                          description: Date of Last Change
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
