openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EM_GET_REQUESTS_FOR_TRANSPORT:
    post:
      tags:
      - S2EM
      operationId: /rfc/EM_GET_REQUESTS_FOR_TRANSPORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_TRKORR:
                  type: string
                  maxLength: 20
                ET_E070:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      TRFUNCTION:
                        type: string
                        maxLength: 1
                        description: 'Type of request/task  enumValues: P=Piece List for Upgrade,C=Relocation of Objects Without Package Change,M=Client Transport Request,K=Workbench Request,T=Transport of Copies,X=Unclassified Task,Q=Customizing Task,S=Development/Correction,O=Relocation of Objects with Package Change,E=Relocation of Complete Package,G=Piece List for CTS Project,F=Piece List,W=Customizing Request,R=Repair,D=Piece List for Support Package'
                        enum:
                        - P
                        - C
                        - M
                        - K
                        - T
                        - X
                        - Q
                        - S
                        - O
                        - E
                        - G
                        - F
                        - W
                        - R
                        - D
                      TRSTATUS:
                        type: string
                        maxLength: 1
                        description: 'Status of request/task  enumValues: N=Released (with Import Protection for Repaired Objects),L=Modifiable, Protected,R=Released,O=Release Started,D=Modifiable'
                        enum:
                        - N
                        - L
                        - R
                        - O
                        - D
                      TARSYSTEM:
                        type: string
                        maxLength: 10
                        description: Transport Target of Request
                      KORRDEV:
                        type: string
                        maxLength: 4
                        description: 'Request or task category  enumValues: CUST=Client-specific Customizing,SYST=Repository, cross-client objects'
                        enum:
                        - CUST
                        - SYST
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Owner of a Request or Task
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      STRKORR:
                        type: string
                        maxLength: 20
                        description: Higher-Level Request
                ET_E071:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      AS4POS:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 120
                        description: Object Name in Object List
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                        enum:
                        - M
                        - ''
                        - D
                        - K
                      LOCKFLAG:
                        type: string
                        maxLength: 1
                        description: 'Lock status or import status of an object entry  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      GENNUM:
                        type: string
                        maxLength: 3
                        description: Language information for object entry in Transport Organizer
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ACTIVITY:
                        type: string
                        maxLength: 20
                        description: Activity that wrote the entry to the object list
                ET_E071K:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      AS4POS:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      MASTERTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MASTERNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      VIEWNAME:
                        type: string
                        maxLength: 30
                        description: Name of SAP table view
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: Do not use
                      TABKEY:
                        type: string
                        maxLength: 120
                        description: Object Name in Object List
                      SORTFLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ACTIVITY:
                        type: string
                        maxLength: 20
                        description: Activity that wrote the entry to the object list
              required:
              - IV_TRKORR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_E070:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        TRFUNCTION:
                          type: string
                          maxLength: 1
                          description: 'Type of request/task  enumValues: P=Piece List for Upgrade,C=Relocation of Objects Without Package Change,M=Client Transport Request,K=Workbench Request,T=Transport of Copies,X=Unclassified Task,Q=Customizing Task,S=Development/Correction,O=Relocation of Objects with Package Change,E=Relocation of Complete Package,G=Piece List for CTS Project,F=Piece List,W=Customizing Request,R=Repair,D=Piece List for Support Package'
                          enum:
                          - P
                          - C
                          - M
                          - K
                          - T
                          - X
                          - Q
                          - S
                          - O
                          - E
                          - G
                          - F
                          - W
                          - R
                          - D
                        TRSTATUS:
                          type: string
                          maxLength: 1
                          description: 'Status of request/task  enumValues: N=Released (with Import Protection for Repaired Objects),L=Modifiable, Protected,R=Released,O=Release Started,D=Modifiable'
                          enum:
                          - N
                          - L
                          - R
                          - O
                          - D
                        TARSYSTEM:
                          type: string
                          maxLength: 10
                          description: Transport Target of Request
                        KORRDEV:
                          type: string
                          maxLength: 4
                          description: 'Request or task category  enumValues: CUST=Client-specific Customizing,SYST=Repository, cross-client objects'
                          enum:
                          - CUST
                          - SYST
                        AS4USER:
                          type: string
                          maxLength: 12
                          description: Owner of a Request or Task
                        AS4DATE:
                          type: string
                          format: date
                          description: Date of Last Change
                        AS4TIME:
                          type: string
                          maxLength: 6
                          description: Last changed at
                        STRKORR:
                          type: string
                          maxLength: 20
                          description: Higher-Level Request
                  ET_E071:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        AS4POS:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                          enum:
                          - M
                          - ''
                          - D
                          - K
                        LOCKFLAG:
                          type: string
                          maxLength: 1
                          description: 'Lock status or import status of an object entry  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        GENNUM:
                          type: string
                          maxLength: 3
                          description: Language information for object entry in Transport Organizer
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ACTIVITY:
                          type: string
                          maxLength: 20
                          description: Activity that wrote the entry to the object list
                  ET_E071K:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        AS4POS:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        MASTERTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MASTERNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        VIEWNAME:
                          type: string
                          maxLength: 30
                          description: Name of SAP table view
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: Do not use
                        TABKEY:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        SORTFLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ACTIVITY:
                          type: string
                          maxLength: 20
                          description: Activity that wrote the entry to the object list
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
