openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_STRU_LOAD_DEFINITION:
    post:
      tags:
      - PRGN_STRUCTURE
      operationId: /rfc/PRGN_STRU_LOAD_DEFINITION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY_GROUP:
                  type: string
                  maxLength: 30
                I_ACTGROUP_AGRS:
                  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
                I_ACTGROUP_ATTS:
                  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
                      ATT_TYPE:
                        type: string
                        maxLength: 20
                        description: 'Attribute type  enumValues: INDUSTRY=Industry,COMPONENT=Application Component,COUNTRY=Country,MISC=Different Configuration Indicators'
                        enum:
                        - INDUSTRY
                        - COMPONENT
                        - COUNTRY
                        - MISC
                      ATT_VALUE:
                        type: string
                        maxLength: 50
                        description: Attribute values
                      ATT_NEG:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      ATT_DYN:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                I_ACTGROUP_FLAGS:
                  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
                      FLAG_TYPE:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
                      CREATE_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      CREATE_DAT:
                        type: string
                        format: date
                        description: Date of menu generation
                      CREATE_TIM:
                        type: string
                        maxLength: 6
                        description: Time when the menu was generated last
                      CHANGE_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      CHANGE_DAT:
                        type: string
                        format: date
                        description: Date of menu generation
                      CHANGE_TIM:
                        type: string
                        maxLength: 6
                        description: Time when the menu was generated last
                      FLAG_VALUE:
                        type: string
                        maxLength: 32
                        description: Flag values
                I_ACTGROUP_HPAGE:
                  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
                      URL_TYPE:
                        type: string
                        maxLength: 20
                        description: Type of URL
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      URL:
                        type: string
                        maxLength: 255
                        description: Role Home Page
                      CHANGE_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      CHANGE_DAT:
                        type: string
                        format: date
                        description: Date of menu generation
                      CHANGE_TIM:
                        type: string
                        maxLength: 6
                        description: Time when the menu was generated last
                I_ACTGROUP_MAPP:
                  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
                      APPNAME:
                        type: string
                        maxLength: 30
                        description: MiniApp Name
                      PRIORITY:
                        type: integer
                        format: int32
                        description: 'Priority of a MiniApp  enumValues: 3=Low priority,2=Medium priority,1=High priority'
                        enum:
                        - '3'
                        - '2'
                        - '1'
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
                I_ACTGROUP_MINI:
                  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
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Level in the menu
                      HEIGHT:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      URL:
                        type: string
                        maxLength: 255
                        description: URL for the SAP Portal
                I_ACTGROUP_MINIT:
                  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
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Level in the menu
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                I_ACTGROUP_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
                I_DEFINITION:
                  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
                      PARENT_AGR:
                        type: string
                        maxLength: 30
                        description: Name of imparting role
                      CREATE_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      CREATE_DAT:
                        type: string
                        format: date
                        description: Date of menu generation
                      CREATE_TIM:
                        type: string
                        maxLength: 6
                        description: Time when the menu was generated last
                      CREATE_TMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      CHANGE_USR:
                        type: string
                        maxLength: 12
                        description: User Name
                      CHANGE_DAT:
                        type: string
                        format: date
                        description: Date of menu generation
                      CHANGE_TIM:
                        type: string
                        maxLength: 6
                        description: Time when the menu was generated last
                      CHANGE_TMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
              required:
              - ACTIVITY_GROUP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  I_ACTGROUP_AGRS:
                    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
                  I_ACTGROUP_ATTS:
                    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
                        ATT_TYPE:
                          type: string
                          maxLength: 20
                          description: 'Attribute type  enumValues: INDUSTRY=Industry,COMPONENT=Application Component,COUNTRY=Country,MISC=Different Configuration Indicators'
                          enum:
                          - INDUSTRY
                          - COMPONENT
                          - COUNTRY
                          - MISC
                        ATT_VALUE:
                          type: string
                          maxLength: 50
                          description: Attribute values
                        ATT_NEG:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        ATT_DYN:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                  I_ACTGROUP_FLAGS:
                    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
                        FLAG_TYPE:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
                        CREATE_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        CREATE_DAT:
                          type: string
                          format: date
                          description: Date of menu generation
                        CREATE_TIM:
                          type: string
                          maxLength: 6
                          description: Time when the menu was generated last
                        CHANGE_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        CHANGE_DAT:
                          type: string
                          format: date
                          description: Date of menu generation
                        CHANGE_TIM:
                          type: string
                          maxLength: 6
                          description: Time when the menu was generated last
                        FLAG_VALUE:
                          type: string
                          maxLength: 32
                          description: Flag values
                  I_ACTGROUP_HPAGE:
                    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
                        URL_TYPE:
                          type: string
                          maxLength: 20
                          description: Type of URL
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        URL:
                          type: string
                          maxLength: 255
                          description: Role Home Page
                        CHANGE_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        CHANGE_DAT:
                          type: string
                          format: date
                          description: Date of menu generation
                        CHANGE_TIM:
                          type: string
                          maxLength: 6
                          description: Time when the menu was generated last
                  I_ACTGROUP_MAPP:
                    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
                        APPNAME:
                          type: string
                          maxLength: 30
                          description: MiniApp Name
                        PRIORITY:
                          type: integer
                          format: int32
                          description: 'Priority of a MiniApp  enumValues: 3=Low priority,2=Medium priority,1=High priority'
                          enum:
                          - '3'
                          - '2'
                          - '1'
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
                  I_ACTGROUP_MINI:
                    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
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Level in the menu
                        HEIGHT:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        URL:
                          type: string
                          maxLength: 255
                          description: URL for the SAP Portal
                  I_ACTGROUP_MINIT:
                    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
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Level in the menu
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                  I_ACTGROUP_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
                  I_DEFINITION:
                    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
                        PARENT_AGR:
                          type: string
                          maxLength: 30
                          description: Name of imparting role
                        CREATE_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        CREATE_DAT:
                          type: string
                          format: date
                          description: Date of menu generation
                        CREATE_TIM:
                          type: string
                          maxLength: 6
                          description: Time when the menu was generated last
                        CREATE_TMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        CHANGE_USR:
                          type: string
                          maxLength: 12
                          description: User Name
                        CHANGE_DAT:
                          type: string
                          format: date
                          description: Date of menu generation
                        CHANGE_TIM:
                          type: string
                          maxLength: 6
                          description: Time when the menu was generated last
                        CHANGE_TMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
