openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SUSR_RFC_USER_INTERFACE:
    post:
      tags:
      - SUSK
      operationId: /rfc/SUSR_RFC_USER_INTERFACE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACCOUNT:
                  type: string
                  maxLength: 12
                  description: Accounting Number
                ACTIVITY:
                  type: string
                  default: '03'
                  maxLength: 2
                EXT_NAME:
                  type: string
                  maxLength: 255
                PASSWORD:
                  type: string
                  maxLength: 40
                  description: Initial Password
                USER:
                  type: string
                  maxLength: 12
                  description: User Name
                USER_GROUP:
                  type: string
                  maxLength: 12
                  description: User Group
                USER_TYPE:
                  type: string
                  default: A
                  maxLength: 1
                VALID_FROM:
                  type: string
                  format: date
                VALID_UNTIL:
                  type: string
                  format: date
                USER_ADDRESS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      BNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      NAME1:
                        type: string
                        maxLength: 30
                        description: Name of user within the company
                      NAME2:
                        type: string
                        maxLength: 30
                        description: Name of user within the company
                      NAME3:
                        type: string
                        maxLength: 30
                        description: Name of user within the company
                      NAME4:
                        type: string
                        maxLength: 30
                        description: Name of user within the company
                      SALUT:
                        type: string
                        maxLength: 15
                        description: Form of address for letters
                      ABTLG:
                        type: string
                        maxLength: 12
                        description: Department
                      KOSTL:
                        type: string
                        maxLength: 8
                        description: Cost center
                      BUINR:
                        type: string
                        maxLength: 6
                        description: Building number
                      ROONR:
                        type: string
                        maxLength: 6
                        description: Room number
                      STRAS:
                        type: string
                        maxLength: 30
                        description: House number and street
                      PFACH:
                        type: string
                        maxLength: 10
                        description: PO box
                      PSTLZ:
                        type: string
                        maxLength: 10
                        description: Postal code
                      ORT01:
                        type: string
                        maxLength: 25
                        description: Location
                      REGIO:
                        type: string
                        maxLength: 3
                        description: Region (State, Province, County)
                      LAND1:
                        type: string
                        maxLength: 3
                        description: Country Key
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TELPR:
                        type: string
                        maxLength: 16
                        description: Telephone number (private)
                      TELNR:
                        type: string
                        maxLength: 16
                        description: Telephone number (work)
                      TEL01:
                        type: string
                        maxLength: 5
                        description: Telephone number
                      TEL02:
                        type: string
                        maxLength: 5
                        description: Telephone number
                      TELX1:
                        type: string
                        maxLength: 30
                        description: Telex number
                      TELFX:
                        type: string
                        maxLength: 31
                        description: Fax Number
                      TELTX:
                        type: string
                        maxLength: 30
                        description: Teletex number
                      ORT02:
                        type: string
                        maxLength: 25
                        description: Location
                      PSTL2:
                        type: string
                        maxLength: 10
                        description: District Postal Code
                      TZONE:
                        type: string
                        maxLength: 6
                        description: Time Zone
                USER_DEFAULTS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      BNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      STCOD:
                        type: string
                        maxLength: 20
                        description: Start menu (old, replaced by XUSTART)
                      SPLD:
                        type: string
                        maxLength: 4
                        description: 'Spool: Output device'
                      SPLG:
                        type: string
                        maxLength: 1
                        description: Print parameter 1
                      SPDB:
                        type: string
                        maxLength: 1
                        description: Print parameter 2
                      SPDA:
                        type: string
                        maxLength: 1
                        description: Print parameter 3
                      DATFM:
                        type: string
                        maxLength: 1
                        description: 'Date format  enumValues: 6=YYYY-MM-DD,9=GYY-MM-DD     (Japanese Date),A=YYYY/MM/DD   (Islamic Date 1),2=MM/DD/YYYY,4=YYYY.MM.DD,3=MM-DD-YYYY,C=YYYY/MM/DD (Iranian Date),B=YYYY/MM/DD   (Islamic Date 2),5=YYYY/MM/DD,8=GYY/MM/DD     (Japanese Date),1=DD.MM.YYYY,7=GYY.MM.DD     (Japanese Date)'
                        enum:
                        - '6'
                        - '9'
                        - A
                        - '2'
                        - '4'
                        - '3'
                        - C
                        - B
                        - '5'
                        - '8'
                        - '1'
                        - '7'
                      DCPFM:
                        type: string
                        maxLength: 1
                        description: 'Decimal notation  enumValues: X=1,234,567.89,Y=1 234 567,89,""=1.234.567,89'
                        enum:
                        - X
                        - Y
                        - ''
                      HDEST:
                        type: string
                        maxLength: 8
                        description: Host destination
                      HMAND:
                        type: string
                        maxLength: 3
                        description: Default host client
                      HNAME:
                        type: string
                        maxLength: 12
                        description: Default host user name
                      MENON:
                        type: string
                        maxLength: 1
                        description: Automatic Start
                      MENUE:
                        type: string
                        maxLength: 20
                        description: Menu name
                      STRTT:
                        type: string
                        maxLength: 20
                        description: Start menu (old, replaced by XUSTART)
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language
                      CATTKENNZ:
                        type: string
                        maxLength: 1
                        description: 'CATT: Test status  enumValues: .='
                        enum:
                        - .
                USER_PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      BNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      PARID:
                        type: string
                        maxLength: 20
                        description: Set/Get parameter ID
                      PARVA:
                        type: string
                        maxLength: 40
                        description: Parameter value
                USER_PROFILES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROFN:
                        type: string
                        maxLength: 12
                        description: Profile name
              required:
              - USER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACCOUNT:
                    type: string
                    maxLength: 12
                    description: Accounting Number
                  EXT_NAME:
                    type: string
                    maxLength: 255
                  LOGIN_DATE:
                    type: string
                    format: date
                  LOGIN_TIME:
                    type: string
                    maxLength: 6
                  MODDATE:
                    type: string
                    format: date
                    description: Date of Last Change
                  MODIFIER:
                    type: string
                    maxLength: 12
                  USER_GROUP:
                    type: string
                    maxLength: 12
                    description: User Group
                  USER_STATE:
                    type: integer
                    format: int32
                  USER_TYPE:
                    type: string
                    maxLength: 1
                  VALID_FROM:
                    type: string
                    format: date
                  VALID_UNTIL:
                    type: string
                    format: date
                  USER_ADDRESS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        BNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        NAME1:
                          type: string
                          maxLength: 30
                          description: Name of user within the company
                        NAME2:
                          type: string
                          maxLength: 30
                          description: Name of user within the company
                        NAME3:
                          type: string
                          maxLength: 30
                          description: Name of user within the company
                        NAME4:
                          type: string
                          maxLength: 30
                          description: Name of user within the company
                        SALUT:
                          type: string
                          maxLength: 15
                          description: Form of address for letters
                        ABTLG:
                          type: string
                          maxLength: 12
                          description: Department
                        KOSTL:
                          type: string
                          maxLength: 8
                          description: Cost center
                        BUINR:
                          type: string
                          maxLength: 6
                          description: Building number
                        ROONR:
                          type: string
                          maxLength: 6
                          description: Room number
                        STRAS:
                          type: string
                          maxLength: 30
                          description: House number and street
                        PFACH:
                          type: string
                          maxLength: 10
                          description: PO box
                        PSTLZ:
                          type: string
                          maxLength: 10
                          description: Postal code
                        ORT01:
                          type: string
                          maxLength: 25
                          description: Location
                        REGIO:
                          type: string
                          maxLength: 3
                          description: Region (State, Province, County)
                        LAND1:
                          type: string
                          maxLength: 3
                          description: Country Key
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TELPR:
                          type: string
                          maxLength: 16
                          description: Telephone number (private)
                        TELNR:
                          type: string
                          maxLength: 16
                          description: Telephone number (work)
                        TEL01:
                          type: string
                          maxLength: 5
                          description: Telephone number
                        TEL02:
                          type: string
                          maxLength: 5
                          description: Telephone number
                        TELX1:
                          type: string
                          maxLength: 30
                          description: Telex number
                        TELFX:
                          type: string
                          maxLength: 31
                          description: Fax Number
                        TELTX:
                          type: string
                          maxLength: 30
                          description: Teletex number
                        ORT02:
                          type: string
                          maxLength: 25
                          description: Location
                        PSTL2:
                          type: string
                          maxLength: 10
                          description: District Postal Code
                        TZONE:
                          type: string
                          maxLength: 6
                          description: Time Zone
                  USER_DEFAULTS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        BNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        STCOD:
                          type: string
                          maxLength: 20
                          description: Start menu (old, replaced by XUSTART)
                        SPLD:
                          type: string
                          maxLength: 4
                          description: 'Spool: Output device'
                        SPLG:
                          type: string
                          maxLength: 1
                          description: Print parameter 1
                        SPDB:
                          type: string
                          maxLength: 1
                          description: Print parameter 2
                        SPDA:
                          type: string
                          maxLength: 1
                          description: Print parameter 3
                        DATFM:
                          type: string
                          maxLength: 1
                          description: 'Date format  enumValues: 6=YYYY-MM-DD,9=GYY-MM-DD     (Japanese Date),A=YYYY/MM/DD   (Islamic Date 1),2=MM/DD/YYYY,4=YYYY.MM.DD,3=MM-DD-YYYY,C=YYYY/MM/DD (Iranian Date),B=YYYY/MM/DD   (Islamic Date 2),5=YYYY/MM/DD,8=GYY/MM/DD     (Japanese Date),1=DD.MM.YYYY,7=GYY.MM.DD     (Japanese Date)'
                          enum:
                          - '6'
                          - '9'
                          - A
                          - '2'
                          - '4'
                          - '3'
                          - C
                          - B
                          - '5'
                          - '8'
                          - '1'
                          - '7'
                        DCPFM:
                          type: string
                          maxLength: 1
                          description: 'Decimal notation  enumValues: X=1,234,567.89,Y=1 234 567,89,""=1.234.567,89'
                          enum:
                          - X
                          - Y
                          - ''
                        HDEST:
                          type: string
                          maxLength: 8
                          description: Host destination
                        HMAND:
                          type: string
                          maxLength: 3
                          description: Default host client
                        HNAME:
                          type: string
                          maxLength: 12
                          description: Default host user name
                        MENON:
                          type: string
                          maxLength: 1
                          description: Automatic Start
                        MENUE:
                          type: string
                          maxLength: 20
                          description: Menu name
                        STRTT:
                          type: string
                          maxLength: 20
                          description: Start menu (old, replaced by XUSTART)
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language
                        CATTKENNZ:
                          type: string
                          maxLength: 1
                          description: 'CATT: Test status  enumValues: .='
                          enum:
                          - .
                  USER_PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        BNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        PARID:
                          type: string
                          maxLength: 20
                          description: Set/Get parameter ID
                        PARVA:
                          type: string
                          maxLength: 40
                          description: Parameter value
                  USER_PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROFN:
                          type: string
                          maxLength: 12
                          description: Profile name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
