openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_USER_READ_API1:
    post:
      tags:
      - SOI1
      summary: 'SAPoffice: View SAPoffice user data using RFC'
      operationId: /rfc/SO_USER_READ_API1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PREPARE_FOR_FOLDER_ACCESS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Flag: Daily initialization of user'
                USER:
                  type: object
                  properties:
                    USERID:
                      type: string
                      maxLength: 17
                      description: 'SAPoffice: User ID of an Office user'
                    SAPNAME:
                      type: string
                      maxLength: 12
                      description: SAP name of a SAPoffice user
                    OFFICENAME:
                      type: string
                      maxLength: 12
                      description: SAPoffice user name
                    FULLNAME:
                      type: string
                      maxLength: 35
                      description: Name in address management
                    DELETED:
                      type: string
                      maxLength: 1
                      description: 'SAPoffice: Office user was deleted  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  USER_DATA:
                    type: object
                    properties:
                      USERID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: User ID of an Office user'
                      SAPNAME:
                        type: string
                        maxLength: 12
                        description: SAP name of a SAPoffice user
                      OFFICENAME:
                        type: string
                        maxLength: 12
                        description: SAPoffice user name
                      FULLNAME:
                        type: string
                        maxLength: 35
                        description: Name in address management
                      DELETED:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Office user was deleted  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      CREATOR_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of the creator of an object or user'
                      CREAT_NAME:
                        type: string
                        maxLength: 12
                        description: Creator Name
                      CREAT_FNAM:
                        type: string
                        maxLength: 35
                        description: 'SAPoffice: Full name of creator'
                      CREAT_DATE:
                        type: string
                        format: date
                        description: 'SAPoffice: Date when object/user was created'
                      CREAT_TIME:
                        type: string
                        maxLength: 6
                        description: 'SAPoffice: Time when object/user was created'
                      CHANGER_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: Last changed by: ID'
                      CHANG_NAME:
                        type: string
                        maxLength: 12
                        description: Changed by
                      CHANG_FNAM:
                        type: string
                        maxLength: 35
                        description: 'SAPoffice: Last changed by: Full name'
                      CHANG_DATE:
                        type: string
                        format: date
                        description: 'SAPoffice: Date object/user was last changed'
                      CHANG_TIME:
                        type: string
                        maxLength: 6
                        description: 'SAPoffice: Time when object/user was last changed'
                      LOADAT:
                        type: string
                        format: date
                        description: Last access to SAPoffice by user
                      VLADAT:
                        type: string
                        format: date
                        description: Second last access of user to SAPoffice
                      LASDAT:
                        type: string
                        format: date
                        description: Last access to SAPoffice by substitute
                      ADDRESS_NO:
                        type: string
                        maxLength: 10
                        description: 'SAPoffice: Address of the user in the address administration'
                      AREPOBJECT:
                        type: string
                        maxLength: 46
                        description: Folder Entry ID (Obj+Fol+Forwarder Name)
                      AREPABDAT:
                        type: string
                        format: date
                        description: Date from when the automatic reply is active
                      AREPAEDAT:
                        type: string
                        format: date
                        description: Date up to which automatic reply is active
                      OBJECT_TYP:
                        type: string
                        maxLength: 3
                        description: 'SAPoffice: Default type for creating a message'
                      OUTBOX_FLG:
                        type: string
                        maxLength: 1
                        description: 'Documents are copied to the outbox when sent  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      SECU_INFO:
                        type: string
                        maxLength: 1
                        description: 'Switch confirmation prompt on or off when deleting  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      VIEW:
                        type: string
                        maxLength: 1
                        description: 'Your user view is set when you start SAPoffice  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      RSWORKDAY:
                        type: string
                        maxLength: 1
                        description: 'Resubmission on workdays only  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      RSFACID:
                        type: string
                        maxLength: 2
                        description: Factory calendar identification code for the resubmission
                      CR_CL_FOL:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Create authorization for client folders  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      CR_GRP_FOL:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Create authorization for group folders  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      REC_MAX:
                        type: string
                        maxLength: 5
                        description: 'SAPoffice: Maximum number of recipients when sending message'
                      EXT_TELE:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Authorization for telecommunications  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      EXT_SMTP:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Authorization to send with Internet  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      EXT_X400:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: Authorization to send with X.400  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      EXT_SAP:
                        type: string
                        maxLength: 1
                        description: 'Authorization to send within SAP system group  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      INBOXFOL:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of the inbox folder'
                      OUTBOXFOL:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of Outbox Folder'
                      WASTEFOL:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of the private trash'
                      PRIVATFOL:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of the highest private folder'
                      RESUBFOL:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of the resubmission folder'
                      DARKFOL:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of an invisible folder'
                      SHAREDFOL:
                        type: string
                        maxLength: 17
                        description: Folder ID of the shared folders (root)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
