openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/COLL_ACTGROUPS_GET_ACTGROUPS:
    post:
      tags:
      - PRGN_COLLECTIVE_ACTGROUPS
      operationId: /rfc/COLL_ACTGROUPS_GET_ACTGROUPS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY_GROUP:
                  type: string
                  maxLength: 30
                ALSO_INACTIVE_AGRS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Customized ('C') or standard menu ('S') flag
                READ_TEXTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Customized ('C') or standard menu ('S') flag
                ACTIVITY_GROUPS_ATTR:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Composite role
                      CHILD_AGR:
                        type: string
                        maxLength: 30
                        description: Single Role in Composite Role
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Assignment active
                ACTIVITY_GROUPS_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      LINE:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Role name
              required:
              - ACTIVITY_GROUP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTIVITY_GROUPS_ATTR:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Composite role
                        CHILD_AGR:
                          type: string
                          maxLength: 30
                          description: Single Role in Composite Role
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Assignment active
                  ACTIVITY_GROUPS_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        LINE:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Role name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
