openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BM_PROCESS_SCOPE_PUT:
    post:
      tags:
      - SF27
      operationId: /rfc/BM_PROCESS_SCOPE_PUT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IMG_PROJECT:
                  type: integer
                  format: int64
                ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 30
                        description: Object name
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGVAR1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ERRORCLASS:
                        type: string
                        maxLength: 10
                        description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                        enum:
                        - ERR_AUTH
                        - ERR_INT
                        - ERR_TRLOCK
                        - ERR_CONSIS
                        - ERR_LANGU
                        - ERR_PARAM
                        - ERR_ENQ
                        - ERR_EXIST
                        - ERR_DOUBLE
                SCOPE:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYP:
                        type: string
                        maxLength: 1
                        description: 'Object type  enumValues: G=Group,N=Entity,P=Message,H=Application Component,J=IMG Activity,I=Information Flow,K=Communication Flow,S=Scenario,T=Organizational Unit,V=Variant,F=Function,W=Message Flow,L=Filter,B=Enterprise Area,O=System OrgUnit,E=Event,R=Root Node'
                        enum:
                        - G
                        - N
                        - P
                        - H
                        - J
                        - I
                        - K
                        - S
                        - T
                        - V
                        - F
                        - W
                        - L
                        - B
                        - O
                        - E
                        - R
                      OBJ_ID:
                        type: string
                        maxLength: 20
                        description: Object definition
                      VAR_ID:
                        type: string
                        maxLength: 20
                        description: Object definition
              required:
              - IMG_PROJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_OCCURRED:
                    type: string
                    maxLength: 1
                  PROCESSING_STATUS:
                    type: string
                    maxLength: 2
                  ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTID:
                          type: string
                          maxLength: 30
                          description: Object name
                        OBJECTTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGVAR1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        ERRORCLASS:
                          type: string
                          maxLength: 10
                          description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                          enum:
                          - ERR_AUTH
                          - ERR_INT
                          - ERR_TRLOCK
                          - ERR_CONSIS
                          - ERR_LANGU
                          - ERR_PARAM
                          - ERR_ENQ
                          - ERR_EXIST
                          - ERR_DOUBLE
                  SCOPE:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYP:
                          type: string
                          maxLength: 1
                          description: 'Object type  enumValues: G=Group,N=Entity,P=Message,H=Application Component,J=IMG Activity,I=Information Flow,K=Communication Flow,S=Scenario,T=Organizational Unit,V=Variant,F=Function,W=Message Flow,L=Filter,B=Enterprise Area,O=System OrgUnit,E=Event,R=Root Node'
                          enum:
                          - G
                          - N
                          - P
                          - H
                          - J
                          - I
                          - K
                          - S
                          - T
                          - V
                          - F
                          - W
                          - L
                          - B
                          - O
                          - E
                          - R
                        OBJ_ID:
                          type: string
                          maxLength: 20
                          description: Object definition
                        VAR_ID:
                          type: string
                          maxLength: 20
                          description: Object definition
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
