openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ACL_SET:
    post:
      tags:
      - ACL_MAIN
      operationId: /rfc/ACL_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACL_ID:
                  type: string
                  maxLength: 32
                  description: 'ACL: Key GUID of ACL'
                APPL_DATA:
                  type: string
                  maxLength: 64
                  description: 'ACL: Application Data'
                ACES:
                  type: array
                  items:
                    type: object
                    properties:
                      ACL_USER:
                        type: string
                        maxLength: 12
                        description: 'ACL: User'
                      ACL_GROUP:
                        type: string
                        maxLength: 40
                        description: 'ACL: User Group'
                      ACT_GROUP:
                        type: string
                        maxLength: 32
                        description: 'ACL: Role'
                      GRANT_MODE:
                        type: string
                        maxLength: 1
                        description: 'ACL: Grant Mode for Activity  enumValues: D=Deny Activities,G=Grant Activities'
                        enum:
                        - D
                        - G
                OWNERS:
                  type: array
                  items:
                    type: object
                    properties:
                      ACL_USER:
                        type: string
                        maxLength: 12
                        description: 'ACL: User'
                      ACL_GROUP:
                        type: string
                        maxLength: 40
                        description: 'ACL: User Group'
              required:
              - ACL_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  ACES:
                    type: array
                    items:
                      type: object
                      properties:
                        ACL_USER:
                          type: string
                          maxLength: 12
                          description: 'ACL: User'
                        ACL_GROUP:
                          type: string
                          maxLength: 40
                          description: 'ACL: User Group'
                        ACT_GROUP:
                          type: string
                          maxLength: 32
                          description: 'ACL: Role'
                        GRANT_MODE:
                          type: string
                          maxLength: 1
                          description: 'ACL: Grant Mode for Activity  enumValues: D=Deny Activities,G=Grant Activities'
                          enum:
                          - D
                          - G
                  OWNERS:
                    type: array
                    items:
                      type: object
                      properties:
                        ACL_USER:
                          type: string
                          maxLength: 12
                          description: 'ACL: User'
                        ACL_GROUP:
                          type: string
                          maxLength: 40
                          description: 'ACL: User Group'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
