openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/KAP_PSR_TR_INSERT_OBJECTS:
    post:
      tags:
      - KAP_PSR
      operationId: /rfc/KAP_PSR_TR_INSERT_OBJECTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_NO_SHOW_OPTION:
                  type: string
                  default: ' '
                  maxLength: 1
                ET_TADIR:
                  type: array
                  items:
                    type: object
                    properties:
                      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: 40
                        description: Object Name in Object Directory
                      KORRNUM:
                        type: string
                        maxLength: 10
                        description: Request/task up to and including Release 3.0
                      SRCSYSTEM:
                        type: string
                        maxLength: 10
                        description: Original System of Object
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Person Responsible for a Repository Object
                      SRCDEP:
                        type: string
                        maxLength: 1
                        description: 'Repair Flag for Repository Object  enumValues: R=Object is in a repair in an unreleased request,""=Object is not in a repair in an unreleased request'
                        enum:
                        - R
                        - ''
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      GENFLAG:
                        type: string
                        maxLength: 1
                        description: 'Generation flag  enumValues: X=generated, is retained during the upgrade,T=generated, can be deleted during the upgrade,""=not generated'
                        enum:
                        - X
                        - T
                        - ''
                      EDTFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object can only be edited with a special editor  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      CPROJECT:
                        type: string
                        maxLength: 8
                        description: Internal Use
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      VERSID:
                        type: string
                        maxLength: 20
                        description: Internal Use
                      PAKNOCHECK:
                        type: string
                        maxLength: 1
                        description: 'Exception Indicator for Package Check  enumValues: F=Can be Used as Foreign Key,C=Exception as User: Can call everything (eg system programs),""=No Exception,S=Exception as Provider: Can be Called from Everywhere,X=Exception as User and Provider'
                        enum:
                        - F
                        - C
                        - ''
                        - S
                        - X
                      OBJSTABLTY:
                        type: string
                        maxLength: 1
                        description: 'Release Status of a Development Object  enumValues: ""=Not Supported (Set by Developer),O=Obsolete,N=Not Supported (Set by Default),S=Supported'
                        enum:
                        - ''
                        - O
                        - N
                        - S
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      CRELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      DELFLAG:
                        type: string
                        maxLength: 1
                        description: 'Deletion Flag  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      TRANSLTTXT:
                        type: string
                        maxLength: 1
                        description: 'Translate Technical Texts into Development Language  enumValues: X=Translation into Development Languages,""=No Translation'
                        enum:
                        - X
                        - ''
                IT_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      TECHNAME:
                        type: string
                        maxLength: 30
                        description: Technical name
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      OBJTYPE:
                        type: string
                        maxLength: 3
                        description: 'Object type for project status report  enumValues: PAT=Pattern,QUE=Query,TXT=Text field,KYB=Attribute/Key Figure Block,KYF=Attribute/Key Figure'
                        enum:
                        - PAT
                        - QUE
                        - TXT
                        - KYB
                        - KYF
                      CREATOR:
                        type: string
                        maxLength: 12
                        description: Created by
                      CREATION_DATE:
                        type: string
                        format: date
                        description: Created on
                      CREATION_TIME:
                        type: string
                        maxLength: 6
                        description: Creation Time
                      EDITOR:
                        type: string
                        maxLength: 12
                        description: Changed by
                      EDIT_DATE:
                        type: string
                        format: date
                        description: Changed on
                      EDIT_TIME:
                        type: string
                        maxLength: 6
                        description: Changed at
                      QUERY_COMPUID:
                        type: string
                        maxLength: 25
                        description: UUID in compressed form
                      QUERY_VIEW:
                        type: string
                        maxLength: 40
                        description: Medium-Length Description
                      QUERY_COLUMN:
                        type: integer
                        format: int64
                        description: Position
                      QUERY_LINE:
                        type: integer
                        format: int64
                        description: Position
                      NAVBLOCK:
                        type: string
                        maxLength: 1
                        description: 'Navigation block (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      TEXTELEMENTS:
                        type: string
                        maxLength: 1
                        description: 'Text Element (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      HEIGHT:
                        type: integer
                        format: int32
                        description: Height
                      TOOLBAR:
                        type: string
                        maxLength: 1
                        description: 'Toolbar (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ORDER:
                    type: string
                    maxLength: 20
                  E_TASK:
                    type: string
                    maxLength: 20
                  ET_TADIR:
                    type: array
                    items:
                      type: object
                      properties:
                        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: 40
                          description: Object Name in Object Directory
                        KORRNUM:
                          type: string
                          maxLength: 10
                          description: Request/task up to and including Release 3.0
                        SRCSYSTEM:
                          type: string
                          maxLength: 10
                          description: Original System of Object
                        AUTHOR:
                          type: string
                          maxLength: 12
                          description: Person Responsible for a Repository Object
                        SRCDEP:
                          type: string
                          maxLength: 1
                          description: 'Repair Flag for Repository Object  enumValues: R=Object is in a repair in an unreleased request,""=Object is not in a repair in an unreleased request'
                          enum:
                          - R
                          - ''
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        GENFLAG:
                          type: string
                          maxLength: 1
                          description: 'Generation flag  enumValues: X=generated, is retained during the upgrade,T=generated, can be deleted during the upgrade,""=not generated'
                          enum:
                          - X
                          - T
                          - ''
                        EDTFLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object can only be edited with a special editor  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        CPROJECT:
                          type: string
                          maxLength: 8
                          description: Internal Use
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: Original Language in Repository objects
                        VERSID:
                          type: string
                          maxLength: 20
                          description: Internal Use
                        PAKNOCHECK:
                          type: string
                          maxLength: 1
                          description: 'Exception Indicator for Package Check  enumValues: F=Can be Used as Foreign Key,C=Exception as User: Can call everything (eg system programs),""=No Exception,S=Exception as Provider: Can be Called from Everywhere,X=Exception as User and Provider'
                          enum:
                          - F
                          - C
                          - ''
                          - S
                          - X
                        OBJSTABLTY:
                          type: string
                          maxLength: 1
                          description: 'Release Status of a Development Object  enumValues: ""=Not Supported (Set by Developer),O=Obsolete,N=Not Supported (Set by Default),S=Supported'
                          enum:
                          - ''
                          - O
                          - N
                          - S
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                        CRELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        DELFLAG:
                          type: string
                          maxLength: 1
                          description: 'Deletion Flag  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        TRANSLTTXT:
                          type: string
                          maxLength: 1
                          description: 'Translate Technical Texts into Development Language  enumValues: X=Translation into Development Languages,""=No Translation'
                          enum:
                          - X
                          - ''
                  IT_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        TECHNAME:
                          type: string
                          maxLength: 30
                          description: Technical name
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        OBJTYPE:
                          type: string
                          maxLength: 3
                          description: 'Object type for project status report  enumValues: PAT=Pattern,QUE=Query,TXT=Text field,KYB=Attribute/Key Figure Block,KYF=Attribute/Key Figure'
                          enum:
                          - PAT
                          - QUE
                          - TXT
                          - KYB
                          - KYF
                        CREATOR:
                          type: string
                          maxLength: 12
                          description: Created by
                        CREATION_DATE:
                          type: string
                          format: date
                          description: Created on
                        CREATION_TIME:
                          type: string
                          maxLength: 6
                          description: Creation Time
                        EDITOR:
                          type: string
                          maxLength: 12
                          description: Changed by
                        EDIT_DATE:
                          type: string
                          format: date
                          description: Changed on
                        EDIT_TIME:
                          type: string
                          maxLength: 6
                          description: Changed at
                        QUERY_COMPUID:
                          type: string
                          maxLength: 25
                          description: UUID in compressed form
                        QUERY_VIEW:
                          type: string
                          maxLength: 40
                          description: Medium-Length Description
                        QUERY_COLUMN:
                          type: integer
                          format: int64
                          description: Position
                        QUERY_LINE:
                          type: integer
                          format: int64
                          description: Position
                        NAVBLOCK:
                          type: string
                          maxLength: 1
                          description: 'Navigation block (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        TEXTELEMENTS:
                          type: string
                          maxLength: 1
                          description: 'Text Element (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        HEIGHT:
                          type: integer
                          format: int32
                          description: Height
                        TOOLBAR:
                          type: string
                          maxLength: 1
                          description: 'Toolbar (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
