openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSO_CTO_REQUEST_VALUE_HELP:
    post:
      tags:
      - RSO_CTO_RFC_API
      operationId: /rfc/RSO_CTO_REQUEST_VALUE_HELP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OBJNM:
                  type: string
                  maxLength: 40
                I_TLOGO:
                  type: string
                  maxLength: 4
                E_T_REQUEST:
                  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: Target system for request
                      KORRDEV:
                        type: string
                        maxLength: 4
                        description: 'Object category (CUST, CUSY, APPL, SYST)  enumValues: SYST=System objects, Workbench objects,APPL=Application objects,CUSY=Customizing objects (cross-client),CUST=Customizing objects (client-specific)'
                        enum:
                        - SYST
                        - APPL
                        - CUSY
                        - CUST
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      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
                      AS4TEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      TARCLIENT:
                        type: string
                        maxLength: 3
                        description: Client
              required:
              - I_OBJNM
              - I_TLOGO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ERROR:
                    type: string
                    maxLength: 1
                  E_T_BAPI_MSG:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  E_T_REQUEST:
                    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: Target system for request
                        KORRDEV:
                          type: string
                          maxLength: 4
                          description: 'Object category (CUST, CUSY, APPL, SYST)  enumValues: SYST=System objects, Workbench objects,APPL=Application objects,CUSY=Customizing objects (cross-client),CUST=Customizing objects (client-specific)'
                          enum:
                          - SYST
                          - APPL
                          - CUSY
                          - CUST
                        AS4USER:
                          type: string
                          maxLength: 12
                          description: Last Changed by
                        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
                        AS4TEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        TARCLIENT:
                          type: string
                          maxLength: 3
                          description: Client
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
