openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCRMUI_EXC_F4_AGREEUSER:
    post:
      tags:
      - SCRMUI_EXC
      operationId: /rfc/SCRMUI_EXC_F4_AGREEUSER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                T_I_CRMAHRAGR:
                  type: array
                  items:
                    type: object
                    properties:
                      USERID:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      FIRSTNAME:
                        type: string
                        maxLength: 40
                        description: First name
                      LASTNAME:
                        type: string
                        maxLength: 40
                        description: Last name
                      PHONE:
                        type: string
                        maxLength: 30
                        description: 'First telephone no.: dialling code+number'
                      COSTCENTER:
                        type: string
                        maxLength: 10
                        description: 'Addresses: Cost center'
                      DEPARTMENT:
                        type: string
                        maxLength: 40
                        description: Department
                      BUILDING:
                        type: string
                        maxLength: 10
                        description: Building (number or code)
                      ROOM:
                        type: string
                        maxLength: 10
                        description: Room or Appartment Number
                      EMAIL:
                        type: string
                        maxLength: 241
                        description: E-Mail Address
                      ROLEID:
                        type: string
                        maxLength: 10
                        description: 'Check Results Management: User Role'
                      ASPECT:
                        type: string
                        maxLength: 10
                        description: 'Check Results Management: Aspect  enumValues: AGREE_EXC=Authorization to Approve Exceptions,LASTCHKMAN=Last Call of CheckMan Check Results Display,SEND_EMAIL=Authorization to Send E-Mails,DEBUG=Debug Authorization,ADMIN=Administration Authorization,LASTEXC=Last Call of CheckMan Exception Approval'
                        enum:
                        - AGREE_EXC
                        - LASTCHKMAN
                        - SEND_EMAIL
                        - DEBUG
                        - ADMIN
                        - LASTEXC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  T_I_CRMAHRAGR:
                    type: array
                    items:
                      type: object
                      properties:
                        USERID:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        FIRSTNAME:
                          type: string
                          maxLength: 40
                          description: First name
                        LASTNAME:
                          type: string
                          maxLength: 40
                          description: Last name
                        PHONE:
                          type: string
                          maxLength: 30
                          description: 'First telephone no.: dialling code+number'
                        COSTCENTER:
                          type: string
                          maxLength: 10
                          description: 'Addresses: Cost center'
                        DEPARTMENT:
                          type: string
                          maxLength: 40
                          description: Department
                        BUILDING:
                          type: string
                          maxLength: 10
                          description: Building (number or code)
                        ROOM:
                          type: string
                          maxLength: 10
                          description: Room or Appartment Number
                        EMAIL:
                          type: string
                          maxLength: 241
                          description: E-Mail Address
                        ROLEID:
                          type: string
                          maxLength: 10
                          description: 'Check Results Management: User Role'
                        ASPECT:
                          type: string
                          maxLength: 10
                          description: 'Check Results Management: Aspect  enumValues: AGREE_EXC=Authorization to Approve Exceptions,LASTCHKMAN=Last Call of CheckMan Check Results Display,SEND_EMAIL=Authorization to Send E-Mails,DEBUG=Debug Authorization,ADMIN=Administration Authorization,LASTEXC=Last Call of CheckMan Exception Approval'
                          enum:
                          - AGREE_EXC
                          - LASTCHKMAN
                          - SEND_EMAIL
                          - DEBUG
                          - ADMIN
                          - LASTEXC
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
