openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PRGN_RFC_CHANGE_USERS_IN_AGRS:
    post:
      tags:
      - PRGN_CATT
      operationId: /rfc/PRGN_RFC_CHANGE_USERS_IN_AGRS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADD_USERS_TO_ACTGROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      FROM_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      TO_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                        enum:
                        - C
                        - ''
                        - E
                        - X
                DELETE_USERS_FROM_ACTGROUPS:
                  type: array
                  items:
                    type: object
                    properties:
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      FROM_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      TO_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                        enum:
                        - C
                        - ''
                        - E
                        - X
                ENQUEUED:
                  type: array
                  items:
                    type: object
                    properties:
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      FROM_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      TO_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                        enum:
                        - C
                        - ''
                        - E
                        - X
                NOT_AUTHORIZED:
                  type: array
                  items:
                    type: object
                    properties:
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      FROM_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      TO_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                        enum:
                        - C
                        - ''
                        - E
                        - X
                NOT_EXISTING:
                  type: array
                  items:
                    type: object
                    properties:
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      FROM_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      TO_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                        enum:
                        - C
                        - ''
                        - E
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMBER_ENQUEUED:
                    type: integer
                    format: int32
                  NUMBER_NOT_AUTHORIZED:
                    type: integer
                    format: int32
                  NUMBER_NOT_EXISTING:
                    type: integer
                    format: int32
                  ADD_USERS_TO_ACTGROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        FROM_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        TO_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                          enum:
                          - C
                          - ''
                          - E
                          - X
                  DELETE_USERS_FROM_ACTGROUPS:
                    type: array
                    items:
                      type: object
                      properties:
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        FROM_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        TO_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                          enum:
                          - C
                          - ''
                          - E
                          - X
                  ENQUEUED:
                    type: array
                    items:
                      type: object
                      properties:
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        FROM_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        TO_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                          enum:
                          - C
                          - ''
                          - E
                          - X
                  NOT_AUTHORIZED:
                    type: array
                    items:
                      type: object
                      properties:
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        FROM_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        TO_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                          enum:
                          - C
                          - ''
                          - E
                          - X
                  NOT_EXISTING:
                    type: array
                    items:
                      type: object
                      properties:
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        FROM_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        TO_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Indirect Assignment of the User to the Role  enumValues: C=Assignment Comes From Composite Role,""=Direct Assignment,E=Enterprise Portal Rolle,X=Assignment Comes From HR Organization Managemnt'
                          enum:
                          - C
                          - ''
                          - E
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
