openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ACL_OBJ_TYPE_SET:
    post:
      tags:
      - ACL_OBJECT_TYPES
      operationId: /rfc/ACL_OBJ_TYPE_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESCRIPTION:
                  type: string
                  maxLength: 255
                  description: 'ACL: Object Type Description'
                NAME:
                  type: string
                  maxLength: 32
                  description: 'ACL: Object Type Name'
                OBJECT_TYPE:
                  type: string
                  maxLength: 32
                  description: 'ACL: Object Type'
                ACTIVITIES:
                  type: array
                  items:
                    type: object
                    properties:
                      ACTIVITY:
                        type: string
                        maxLength: 32
                        description: 'ACL: Activity'
                ACTIVITY_GROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      ACT_GROUP:
                        type: string
                        maxLength: 32
                        description: 'ACL: Role'
              required:
              - OBJECT_TYPE
      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
                  ACTIVITIES:
                    type: array
                    items:
                      type: object
                      properties:
                        ACTIVITY:
                          type: string
                          maxLength: 32
                          description: 'ACL: Activity'
                  ACTIVITY_GROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        ACT_GROUP:
                          type: string
                          maxLength: 32
                          description: 'ACL: Role'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
