openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCTS_COMP:
    post:
      tags:
      - SCTS_COMP_REPOS
      operationId: /rfc/SCTS_COMP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CUST_FLAG:
                  type: string
                  maxLength: 1
                CUST_MODI_FLAG:
                  type: string
                  maxLength: 1
                DEST2:
                  type: string
                  maxLength: 32
                MODI_FLAG:
                  type: string
                  maxLength: 1
                PAKET_FLAG:
                  type: string
                  maxLength: 1
                PAKET_NAME:
                  type: string
                  maxLength: 30
                REQ_FLAG:
                  type: string
                  maxLength: 1
                SAP_FLAG:
                  type: string
                  maxLength: 1
                ETC_BOTH12:
                  type: array
                  items:
                    type: object
                    properties:
                      NUMM:
                        type: integer
                        format: int64
                        description: Note number
                      VERSNO:
                        type: integer
                        format: int64
                        description: Version number of a Note
                      THEMK:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      INSTA:
                        type: string
                        maxLength: 10
                        description: Creation system of Note (installation number)
                      MNUMM:
                        type: string
                        maxLength: 10
                        description: SAP Note Number (Part of Info Object Key)
                      MYEAR:
                        type: integer
                        format: int64
                        description: Year in which Note was created
                      INCOMPLETE:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                ETC_ONLY1:
                  type: array
                  items:
                    type: object
                    properties:
                      NUMM:
                        type: integer
                        format: int64
                        description: Note number
                      VERSNO:
                        type: integer
                        format: int64
                        description: Version number of a Note
                      THEMK:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      INSTA:
                        type: string
                        maxLength: 10
                        description: Creation system of Note (installation number)
                      MNUMM:
                        type: string
                        maxLength: 10
                        description: SAP Note Number (Part of Info Object Key)
                      MYEAR:
                        type: integer
                        format: int64
                        description: Year in which Note was created
                      INCOMPLETE:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                ETC_ONLY2:
                  type: array
                  items:
                    type: object
                    properties:
                      NUMM:
                        type: integer
                        format: int64
                        description: Note number
                      VERSNO:
                        type: integer
                        format: int64
                        description: Version number of a Note
                      THEMK:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      INSTA:
                        type: string
                        maxLength: 10
                        description: Creation system of Note (installation number)
                      MNUMM:
                        type: string
                        maxLength: 10
                        description: SAP Note Number (Part of Info Object Key)
                      MYEAR:
                        type: integer
                        format: int64
                        description: Year in which Note was created
                      INCOMPLETE:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                ET_BOTH12:
                  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_ONLY1:
                  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_ONLY2:
                  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_REQ:
                  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_SYS_COMP_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      RUN_NUMMER:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      SUB_TYPE:
                        type: string
                        maxLength: 4
                        description: SUB_TYPE
                      SUB_NAME:
                        type: string
                        maxLength: 60
                        description: SUB_NAME
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      SYS1:
                        type: string
                        maxLength: 3
                        description: Name of Local System
                      SYS2:
                        type: string
                        maxLength: 3
                        description: Remote System
                      DIAGNOSIS:
                        type: string
                        maxLength: 15
                        description: Text (15 characters)
                      DETAIL:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
              required:
              - DEST2
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_ONLY1:
                    type: integer
                    format: int32
                  EV_ONLY12:
                    type: integer
                    format: int32
                  EV_ONLY2:
                    type: integer
                    format: int32
                  ETC_BOTH12:
                    type: array
                    items:
                      type: object
                      properties:
                        NUMM:
                          type: integer
                          format: int64
                          description: Note number
                        VERSNO:
                          type: integer
                          format: int64
                          description: Version number of a Note
                        THEMK:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        INSTA:
                          type: string
                          maxLength: 10
                          description: Creation system of Note (installation number)
                        MNUMM:
                          type: string
                          maxLength: 10
                          description: SAP Note Number (Part of Info Object Key)
                        MYEAR:
                          type: integer
                          format: int64
                          description: Year in which Note was created
                        INCOMPLETE:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                  ETC_ONLY1:
                    type: array
                    items:
                      type: object
                      properties:
                        NUMM:
                          type: integer
                          format: int64
                          description: Note number
                        VERSNO:
                          type: integer
                          format: int64
                          description: Version number of a Note
                        THEMK:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        INSTA:
                          type: string
                          maxLength: 10
                          description: Creation system of Note (installation number)
                        MNUMM:
                          type: string
                          maxLength: 10
                          description: SAP Note Number (Part of Info Object Key)
                        MYEAR:
                          type: integer
                          format: int64
                          description: Year in which Note was created
                        INCOMPLETE:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                  ETC_ONLY2:
                    type: array
                    items:
                      type: object
                      properties:
                        NUMM:
                          type: integer
                          format: int64
                          description: Note number
                        VERSNO:
                          type: integer
                          format: int64
                          description: Version number of a Note
                        THEMK:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        INSTA:
                          type: string
                          maxLength: 10
                          description: Creation system of Note (installation number)
                        MNUMM:
                          type: string
                          maxLength: 10
                          description: SAP Note Number (Part of Info Object Key)
                        MYEAR:
                          type: integer
                          format: int64
                          description: Year in which Note was created
                        INCOMPLETE:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                  ET_BOTH12:
                    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_ONLY1:
                    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_ONLY2:
                    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_REQ:
                    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_SYS_COMP_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        RUN_NUMMER:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        SUB_TYPE:
                          type: string
                          maxLength: 4
                          description: SUB_TYPE
                        SUB_NAME:
                          type: string
                          maxLength: 60
                          description: SUB_NAME
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        SYS1:
                          type: string
                          maxLength: 3
                          description: Name of Local System
                        SYS2:
                          type: string
                          maxLength: 3
                          description: Remote System
                        DIAGNOSIS:
                          type: string
                          maxLength: 15
                          description: Text (15 characters)
                        DETAIL:
                          type: string
                          maxLength: 80
                          description: Text (80 Characters)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
