openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LXE_SXMAN_GET_TRANSPORTS:
    post:
      tags:
      - LXE_SXMAN
      operationId: /rfc/LXE_SXMAN_GET_TRANSPORTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SID:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
                STATUS:
                  type: integer
                  format: int64
                TRANSPORTREQUESTS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      SID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      STATUS:
                        type: integer
                        format: int64
                        description: SXMan Tranport Request Status
                      CHNGUSER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      CHNGDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CHNGTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      CRTDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CRTTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      DESCRIPTION:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      OBJECTSTOTAL:
                        type: integer
                        format: int32
                        description: Number of Objects
                      OBJECTSERROR:
                        type: integer
                        format: int32
                        description: Number of Objects with Error
                TRANSPORTTASKS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int64
                        description: Transport Request ID for Java Environment
                      REPOSITORY:
                        type: string
                        maxLength: 15
                        description: System Name in CMS
                      ACTIVITYID:
                        type: string
                        maxLength: 32
                        description: Activity ID in Java Environment
                      VENDOR:
                        type: string
                        maxLength: 20
                        description: Provider in Java Transport Environment
                      SCNAME:
                        type: string
                        maxLength: 30
                        description: Name of Software Component
                      WORKSPACE:
                        type: string
                        maxLength: 255
                        description: Workspace Name in Java Transport Environment
                      STATUS:
                        type: integer
                        format: int64
                        description: SXMan Tranport Request Status
                      CHNGUSER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      CHNGDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CHNGTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      CRTDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CRTTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      OBJECTSTOTAL:
                        type: integer
                        format: int32
                        description: ''
                      OBJECTSERROR:
                        type: integer
                        format: int32
                        description: ''
              required:
              - SID
              - STATUS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERRMSG:
                    type: string
                    description: Error message
                  STATPRC:
                    type: string
                    maxLength: 1
                    description: Process Status
                  TRANSPORTREQUESTS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        SID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        STATUS:
                          type: integer
                          format: int64
                          description: SXMan Tranport Request Status
                        CHNGUSER:
                          type: string
                          maxLength: 12
                          description: Last Changed by
                        CHNGDATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        CHNGTIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        CRTDATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        CRTTIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        OBJECTSTOTAL:
                          type: integer
                          format: int32
                          description: Number of Objects
                        OBJECTSERROR:
                          type: integer
                          format: int32
                          description: Number of Objects with Error
                  TRANSPORTTASKS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int64
                          description: Transport Request ID for Java Environment
                        REPOSITORY:
                          type: string
                          maxLength: 15
                          description: System Name in CMS
                        ACTIVITYID:
                          type: string
                          maxLength: 32
                          description: Activity ID in Java Environment
                        VENDOR:
                          type: string
                          maxLength: 20
                          description: Provider in Java Transport Environment
                        SCNAME:
                          type: string
                          maxLength: 30
                          description: Name of Software Component
                        WORKSPACE:
                          type: string
                          maxLength: 255
                          description: Workspace Name in Java Transport Environment
                        STATUS:
                          type: integer
                          format: int64
                          description: SXMan Tranport Request Status
                        CHNGUSER:
                          type: string
                          maxLength: 12
                          description: Last Changed by
                        CHNGDATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        CHNGTIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        CRTDATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        CRTTIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        OBJECTSTOTAL:
                          type: integer
                          format: int32
                          description: ''
                        OBJECTSERROR:
                          type: integer
                          format: int32
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
