openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/REPOSITORY_ENVIRONMENT_SET_RFC:
    post:
      tags:
      - SEUA
      summary: 'Repository Infosystem: Environment for a set of objects of a type'
      operationId: /rfc/REPOSITORY_ENVIRONMENT_SET_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ENVIRONMENT_TYPES:
                  type: object
                  properties:
                    PROG:
                      type: string
                      maxLength: 1
                      description: 'DW: Program sub-objects radio button'
                    FUGR:
                      type: string
                      maxLength: 1
                      description: 'DW: Function group radio button'
                    LDBA:
                      type: string
                      maxLength: 1
                      description: 'DW: Logical database radio button'
                    MSAG:
                      type: string
                      maxLength: 1
                      description: 'DW: Message class radio button'
                    TRAN:
                      type: string
                      maxLength: 1
                      description: 'DW: Transaction radio button'
                    FUNC:
                      type: string
                      maxLength: 1
                      description: 'DW: Function Module Radio Button'
                    DIAL:
                      type: string
                      maxLength: 1
                      description: 'DW: Dialog Module Radio Button'
                    TABL:
                      type: string
                      maxLength: 1
                      description: 'DW: Radio button database tables'
                    SHLP:
                      type: string
                      maxLength: 1
                      description: 'Repository Infosystem: Obj. corresponds to srch hlp criteria  enumValues: X=Selection,""=Deselection'
                      enum:
                      - X
                      - ''
                    DOMA:
                      type: string
                      maxLength: 1
                      description: 'DW: Domain radio button'
                    DTEL:
                      type: string
                      maxLength: 1
                      description: 'DW: Data Element Radio Button'
                    VIEW:
                      type: string
                      maxLength: 1
                      description: 'DW: View radio button'
                    MCOB:
                      type: string
                      maxLength: 1
                      description: 'DW: Matchcode Object Radio Button'
                    MCID:
                      type: string
                      maxLength: 1
                      description: 'DW: Matchcode ID radio button'
                    PARA:
                      type: string
                      maxLength: 1
                      description: SET/GET parameters
                    CONV:
                      type: string
                      maxLength: 1
                      description: Conversion exit
                    SUSO:
                      type: string
                      maxLength: 1
                      description: 'ABAP Workbench: Radio button for authorization objects'
                    TYPE:
                      type: string
                      maxLength: 1
                      description: 'Workbench: Type groups radio button'
                    TTYP:
                      type: string
                      maxLength: 1
                      description: 'DW: Radio button table types'
                    STRU:
                      type: string
                      maxLength: 1
                      description: 'DW: Structure radio button'
                    ENQU:
                      type: string
                      maxLength: 1
                      description: 'DW: Lock Object Radio Button'
                    SQLT:
                      type: string
                      maxLength: 1
                      description: SQL tables
                    CLAS:
                      type: string
                      maxLength: 1
                      description: 'DW: Radio button - class'
                    INTF:
                      type: string
                      maxLength: 1
                      description: 'WB: Radio button interfaces'
                    UDMO:
                      type: string
                      maxLength: 1
                      description: 'Workbench: Data model radio button'
                    UENO:
                      type: string
                      maxLength: 1
                      description: 'Workbench: Entity type radio button'
                    SHI3:
                      type: string
                      maxLength: 1
                      description: 'DW: Area menu radio button'
                    CNTX:
                      type: string
                      maxLength: 1
                      description: 'ABAP Workbench: Radio button context'
                    TTAB:
                      type: string
                      maxLength: 1
                      description: 'DW: Radio button table types'
                    IASP:
                      type: string
                      maxLength: 1
                      description: 'Workbench: Internet Services Radio Button'
                    IAMU:
                      type: string
                      maxLength: 1
                      description: 'Workbench: MIME Objects Radio Button'
                    IATU:
                      type: string
                      maxLength: 1
                      description: 'Workbench: HTML Template Radio Button'
                    CLIF:
                      type: string
                      maxLength: 1
                      description: 'ABAP Workbench: Radio button  - class/interface'
                    SOBJ:
                      type: string
                      maxLength: 1
                      description: 'DW: Radio Button: Business Object Type'
                    WDYN:
                      type: string
                      maxLength: 1
                      description: 'EU: Radio Button "Web-Dynpro-Component"'
                    WDYA:
                      type: string
                      maxLength: 1
                      description: 'EU: Radio Button "Web Dynpro Application" (Obsolete!)'
                    XSLT:
                      type: string
                      maxLength: 1
                      description: 'DE: Radio Button XSLT Program'
                    ENHS:
                      type: string
                      maxLength: 1
                      description: 'DE: Radiobutton "Enhancement Spot"'
                    ENSC:
                      type: string
                      maxLength: 1
                      description: 'DE: Radiobutton "Enhancement Spot Composite"'
                    ENHC:
                      type: string
                      maxLength: 1
                      description: 'DE: Radiobutton "Enhancement Composite"'
                    ENHO:
                      type: string
                      maxLength: 1
                      description: 'DE: Radiobutton "Enhancement"'
                OBJECT_NAME:
                  type: string
                  maxLength: 40
                  description: Object Name
                OBJ_TYPE:
                  type: string
                  maxLength: 15
                ENVIRONMENT:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 15
                        description: Object type
                      OBJECT:
                        type: string
                        maxLength: 180
                        description: 'WB Request: Key for Object in Development Environment'
                      ENCL_OBJ:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      CALL_OBJ:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      CALL_TYPE:
                        type: string
                        maxLength: 15
                        description: Object type
                      CALL_DEVCL:
                        type: string
                        maxLength: 30
                        description: Package
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Object Type
                      ENCL_NUM:
                        type: integer
                        format: int32
                        description: Line index for internal table processing
                      COUNTER:
                        type: integer
                        format: int32
                        description: Line index for internal table processing
                      INT_TYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      DONE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TADIR:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      PRIVATE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      FORGN_APP:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      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
                        - ''
                      NO_CUST:
                        type: string
                        maxLength: 1
                        description: 'Flag for Customer Delivery  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      APPL:
                        type: string
                        maxLength: 20
                        description: Function
                      OUTPUT:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                SOURCE_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 93
                        description: Object name in where-used list
                      ENCL_OBJ:
                        type: string
                        maxLength: 40
                        description: Object name of higher-level object in where-used list
              required:
              - OBJ_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ENVIRONMENT:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 15
                          description: Object type
                        OBJECT:
                          type: string
                          maxLength: 180
                          description: 'WB Request: Key for Object in Development Environment'
                        ENCL_OBJ:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        CALL_OBJ:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        CALL_TYPE:
                          type: string
                          maxLength: 15
                          description: Object type
                        CALL_DEVCL:
                          type: string
                          maxLength: 30
                          description: Package
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Object Type
                        ENCL_NUM:
                          type: integer
                          format: int32
                          description: Line index for internal table processing
                        COUNTER:
                          type: integer
                          format: int32
                          description: Line index for internal table processing
                        INT_TYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        DONE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TADIR:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        PRIVATE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        FORGN_APP:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        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
                          - ''
                        NO_CUST:
                          type: string
                          maxLength: 1
                          description: 'Flag for Customer Delivery  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        APPL:
                          type: string
                          maxLength: 20
                          description: Function
                        OUTPUT:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        DELETE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  SOURCE_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 93
                          description: Object name in where-used list
                        ENCL_OBJ:
                          type: string
                          maxLength: 40
                          description: Object name of higher-level object in where-used list
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
