openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UWL_DOCUMENTS_HEADER_READ:
    post:
      tags:
      - UWLPERF
      summary: Read headers of multiple attachments
      operationId: /rfc/UWL_DOCUMENTS_HEADER_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUMENT_DATA_OUT:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_ID:
                        type: string
                        maxLength: 46
                        description: Folder Entry ID (Obj+Fol+Forwarder Name)
                      OBJECT_ID:
                        type: string
                        maxLength: 17
                        description: 'SAPoffice: ID of a SAPoffice object'
                      OBJ_TYPE:
                        type: string
                        maxLength: 3
                        description: Code for document class
                      OBJ_NAME:
                        type: string
                        maxLength: 12
                        description: Name of document, folder or distribution list
                      OBJ_DESCR:
                        type: string
                        maxLength: 50
                        description: Short description of contents
                      OBJ_LANGU:
                        type: string
                        maxLength: 1
                        description: Language in Which Document Is Created
                      OBJ_SORT:
                        type: string
                        maxLength: 10
                        description: Sort field
                      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'
                      OWNER_ID:
                        type: string
                        maxLength: 17
                        description: ID of the owner of the document
                      OWNER_NAM:
                        type: string
                        maxLength: 12
                        description: Name of document owner
                      OWNER_FNAM:
                        type: string
                        maxLength: 35
                        description: Full name of the owner
                      LAST_ACCES:
                        type: string
                        format: date
                        description: Date of last access
                      OBJ_EXPDAT:
                        type: string
                        format: date
                        description: Expiration date of object
                      SENSITIVTY:
                        type: string
                        maxLength: 1
                        description: 'Object: Sensitivity (private, functional, ...)  enumValues: F=Functional,O=Standard,P=Confidential'
                        enum:
                        - F
                        - O
                        - P
                      OBJ_PRIO:
                        type: string
                        maxLength: 1
                        description: 'Document priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                        enum:
                        - '8'
                        - '9'
                        - '1'
                      NO_CHANGE:
                        type: string
                        maxLength: 1
                        description: 'Document cannot be changed  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PRIORITY:
                        type: string
                        maxLength: 1
                        description: 'Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                        enum:
                        - '8'
                        - '9'
                        - '1'
                      HISTORY:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: correspondence, flag for SOMT  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      RESUB:
                        type: string
                        maxLength: 1
                        description: 'Substitute can access resubmissions  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                        enum:
                        - '2'
                        - '1'
                        - '3'
                        - '0'
                      RESUB_DATE:
                        type: string
                        format: date
                        description: Date On Which The Object Was Resubmitted
                      SENDER_ID:
                        type: string
                        maxLength: 17
                        description: ID of the sender of the document
                      SEND_NAM:
                        type: string
                        maxLength: 12
                        description: 'Sender: Name'
                      SEND_FNAM:
                        type: string
                        maxLength: 35
                        description: Full name of sender
                      SEND_DATE:
                        type: string
                        format: date
                        description: Date On Which Object Was Sent
                      SEND_TIME:
                        type: string
                        maxLength: 6
                        description: Time at Which The Object Was Sent
                      FORWARD_ID:
                        type: string
                        maxLength: 17
                        description: ID of the last forwarder
                      FORW_NAM:
                        type: string
                        maxLength: 12
                        description: Name of forwarder
                      FORW_FNAM:
                        type: string
                        maxLength: 35
                        description: Full name of the last forwarder
                      FORW_DATE:
                        type: string
                        format: date
                        description: Date on which document was forwarded
                      FORW_TIME:
                        type: string
                        maxLength: 6
                        description: Time at which object was forwarded
                      REC_ID:
                        type: string
                        maxLength: 17
                        description: Recipient ID
                      REC_NAM:
                        type: string
                        maxLength: 12
                        description: Recipient Name
                      REC_FNAM:
                        type: string
                        maxLength: 35
                        description: Full name of the recipient
                      REC_DATE:
                        type: string
                        format: date
                        description: Date document was received
                      REC_TIME:
                        type: string
                        maxLength: 6
                        description: Time object was received
                      EXPRESS:
                        type: string
                        maxLength: 1
                        description: 'Send express  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      COPY:
                        type: string
                        maxLength: 1
                        description: 'Send: As copy  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      BLIND_COPY:
                        type: string
                        maxLength: 1
                        description: 'Send as a blind copy  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NO_FORWARD:
                        type: string
                        maxLength: 1
                        description: 'You cannot forward this message  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      NO_PRINT:
                        type: string
                        maxLength: 1
                        description: 'Object cannot be printed  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      TO_ANSWER:
                        type: string
                        maxLength: 1
                        description: 'A reply must be sent for this object  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      TO_DO_EXPL:
                        type: string
                        maxLength: 1
                        description: 'ToDo by all recipients  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      TO_DO_GRP:
                        type: string
                        maxLength: 1
                        description: ToDo group of the recipient
                      C_TO_DO:
                        type: string
                        maxLength: 5
                        description: Number of people who must take action (ToDo)
                      C_IN_PROC:
                        type: string
                        maxLength: 5
                        description: Number of people by whom the document is being processed
                      C_DONE:
                        type: string
                        maxLength: 5
                        description: Number of people who have acted upon the document
                      C_EXPRESS:
                        type: string
                        maxLength: 5
                        description: Number of people who have received the document per express
                      C_COPY:
                        type: string
                        maxLength: 5
                        description: Number of people with a copy
                      C_BLIND_CP:
                        type: string
                        maxLength: 5
                        description: Number of people with a blind copy
                      C_TO_REPLY:
                        type: string
                        maxLength: 5
                        description: Number of persons with "Reply required"
                      C_ANSWERED:
                        type: string
                        maxLength: 5
                        description: Number of people who have replied
                      C_READ:
                        type: string
                        maxLength: 5
                        description: Number of people who have viewed the document
                      C_RECEIVER:
                        type: string
                        maxLength: 5
                        description: Number of people who have received the document
                      PROC_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Execute: Type (Report, Dialog Module, ...)'
                      PROC_NAME:
                        type: string
                        maxLength: 30
                        description: 'SAPoffice: Text field'
                      PROC_SYST:
                        type: string
                        maxLength: 10
                        description: System in which the document is processed
                      PROC_CLINT:
                        type: string
                        maxLength: 3
                        description: Client in which document is processed
                      SKIP_SCREN:
                        type: string
                        maxLength: 1
                        description: 'Execute: Process First Screen in Background  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      TO_DO_OUT:
                        type: string
                        maxLength: 1
                        description: 'ToDo: To Be Completed Outside SAPoffice  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FREE_DEL:
                        type: string
                        maxLength: 1
                        description: 'Object Can Be Deleted by All Users with an Application  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      READ:
                        type: string
                        maxLength: 1
                        description: 'Object has already been viewed  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      READ_DATE:
                        type: string
                        format: date
                        description: Date on which the sent document was read
                      READ_TIME:
                        type: string
                        maxLength: 6
                        description: Time at which the document was viewed
                      TO_DO_STAT:
                        type: string
                        maxLength: 4
                        description: 'ToDo: status'
                      STILL_TODO:
                        type: string
                        maxLength: 1
                        description: 'The recipient must take action  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      REPLY_SENT:
                        type: string
                        maxLength: 1
                        description: 'The reply to this object has already been sent  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      RESUB_READ:
                        type: string
                        maxLength: 1
                        description: 'The resubmitted document was viewed again  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      EXPIRY_DAT:
                        type: string
                        format: date
                        description: 'SAPoffice: Expiration Date for this Folder Entry'
                      DOC_SIZE:
                        type: string
                        maxLength: 12
                        description: Size of SAPoffice Document (for API1)
                DOCUMENT_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      DOC_ID:
                        type: string
                        maxLength: 46
                        description: Folder Entry ID (Obj+Fol+Forwarder Name)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCUMENT_DATA_OUT:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_ID:
                          type: string
                          maxLength: 46
                          description: Folder Entry ID (Obj+Fol+Forwarder Name)
                        OBJECT_ID:
                          type: string
                          maxLength: 17
                          description: 'SAPoffice: ID of a SAPoffice object'
                        OBJ_TYPE:
                          type: string
                          maxLength: 3
                          description: Code for document class
                        OBJ_NAME:
                          type: string
                          maxLength: 12
                          description: Name of document, folder or distribution list
                        OBJ_DESCR:
                          type: string
                          maxLength: 50
                          description: Short description of contents
                        OBJ_LANGU:
                          type: string
                          maxLength: 1
                          description: Language in Which Document Is Created
                        OBJ_SORT:
                          type: string
                          maxLength: 10
                          description: Sort field
                        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'
                        OWNER_ID:
                          type: string
                          maxLength: 17
                          description: ID of the owner of the document
                        OWNER_NAM:
                          type: string
                          maxLength: 12
                          description: Name of document owner
                        OWNER_FNAM:
                          type: string
                          maxLength: 35
                          description: Full name of the owner
                        LAST_ACCES:
                          type: string
                          format: date
                          description: Date of last access
                        OBJ_EXPDAT:
                          type: string
                          format: date
                          description: Expiration date of object
                        SENSITIVTY:
                          type: string
                          maxLength: 1
                          description: 'Object: Sensitivity (private, functional, ...)  enumValues: F=Functional,O=Standard,P=Confidential'
                          enum:
                          - F
                          - O
                          - P
                        OBJ_PRIO:
                          type: string
                          maxLength: 1
                          description: 'Document priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                          enum:
                          - '8'
                          - '9'
                          - '1'
                        NO_CHANGE:
                          type: string
                          maxLength: 1
                          description: 'Document cannot be changed  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        PRIORITY:
                          type: string
                          maxLength: 1
                          description: 'Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                          enum:
                          - '8'
                          - '9'
                          - '1'
                        HISTORY:
                          type: string
                          maxLength: 1
                          description: 'SAPoffice: correspondence, flag for SOMT  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        RESUB:
                          type: string
                          maxLength: 1
                          description: 'Substitute can access resubmissions  enumValues: 2=Change Object,1=Display Object,3=Delete Object,0=No authorization exists'
                          enum:
                          - '2'
                          - '1'
                          - '3'
                          - '0'
                        RESUB_DATE:
                          type: string
                          format: date
                          description: Date On Which The Object Was Resubmitted
                        SENDER_ID:
                          type: string
                          maxLength: 17
                          description: ID of the sender of the document
                        SEND_NAM:
                          type: string
                          maxLength: 12
                          description: 'Sender: Name'
                        SEND_FNAM:
                          type: string
                          maxLength: 35
                          description: Full name of sender
                        SEND_DATE:
                          type: string
                          format: date
                          description: Date On Which Object Was Sent
                        SEND_TIME:
                          type: string
                          maxLength: 6
                          description: Time at Which The Object Was Sent
                        FORWARD_ID:
                          type: string
                          maxLength: 17
                          description: ID of the last forwarder
                        FORW_NAM:
                          type: string
                          maxLength: 12
                          description: Name of forwarder
                        FORW_FNAM:
                          type: string
                          maxLength: 35
                          description: Full name of the last forwarder
                        FORW_DATE:
                          type: string
                          format: date
                          description: Date on which document was forwarded
                        FORW_TIME:
                          type: string
                          maxLength: 6
                          description: Time at which object was forwarded
                        REC_ID:
                          type: string
                          maxLength: 17
                          description: Recipient ID
                        REC_NAM:
                          type: string
                          maxLength: 12
                          description: Recipient Name
                        REC_FNAM:
                          type: string
                          maxLength: 35
                          description: Full name of the recipient
                        REC_DATE:
                          type: string
                          format: date
                          description: Date document was received
                        REC_TIME:
                          type: string
                          maxLength: 6
                          description: Time object was received
                        EXPRESS:
                          type: string
                          maxLength: 1
                          description: 'Send express  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        COPY:
                          type: string
                          maxLength: 1
                          description: 'Send: As copy  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        BLIND_COPY:
                          type: string
                          maxLength: 1
                          description: 'Send as a blind copy  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NO_FORWARD:
                          type: string
                          maxLength: 1
                          description: 'You cannot forward this message  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        NO_PRINT:
                          type: string
                          maxLength: 1
                          description: 'Object cannot be printed  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        TO_ANSWER:
                          type: string
                          maxLength: 1
                          description: 'A reply must be sent for this object  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        TO_DO_EXPL:
                          type: string
                          maxLength: 1
                          description: 'ToDo by all recipients  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        TO_DO_GRP:
                          type: string
                          maxLength: 1
                          description: ToDo group of the recipient
                        C_TO_DO:
                          type: string
                          maxLength: 5
                          description: Number of people who must take action (ToDo)
                        C_IN_PROC:
                          type: string
                          maxLength: 5
                          description: Number of people by whom the document is being processed
                        C_DONE:
                          type: string
                          maxLength: 5
                          description: Number of people who have acted upon the document
                        C_EXPRESS:
                          type: string
                          maxLength: 5
                          description: Number of people who have received the document per express
                        C_COPY:
                          type: string
                          maxLength: 5
                          description: Number of people with a copy
                        C_BLIND_CP:
                          type: string
                          maxLength: 5
                          description: Number of people with a blind copy
                        C_TO_REPLY:
                          type: string
                          maxLength: 5
                          description: Number of persons with "Reply required"
                        C_ANSWERED:
                          type: string
                          maxLength: 5
                          description: Number of people who have replied
                        C_READ:
                          type: string
                          maxLength: 5
                          description: Number of people who have viewed the document
                        C_RECEIVER:
                          type: string
                          maxLength: 5
                          description: Number of people who have received the document
                        PROC_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Execute: Type (Report, Dialog Module, ...)'
                        PROC_NAME:
                          type: string
                          maxLength: 30
                          description: 'SAPoffice: Text field'
                        PROC_SYST:
                          type: string
                          maxLength: 10
                          description: System in which the document is processed
                        PROC_CLINT:
                          type: string
                          maxLength: 3
                          description: Client in which document is processed
                        SKIP_SCREN:
                          type: string
                          maxLength: 1
                          description: 'Execute: Process First Screen in Background  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        TO_DO_OUT:
                          type: string
                          maxLength: 1
                          description: 'ToDo: To Be Completed Outside SAPoffice  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        FREE_DEL:
                          type: string
                          maxLength: 1
                          description: 'Object Can Be Deleted by All Users with an Application  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        READ:
                          type: string
                          maxLength: 1
                          description: 'Object has already been viewed  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        READ_DATE:
                          type: string
                          format: date
                          description: Date on which the sent document was read
                        READ_TIME:
                          type: string
                          maxLength: 6
                          description: Time at which the document was viewed
                        TO_DO_STAT:
                          type: string
                          maxLength: 4
                          description: 'ToDo: status'
                        STILL_TODO:
                          type: string
                          maxLength: 1
                          description: 'The recipient must take action  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        REPLY_SENT:
                          type: string
                          maxLength: 1
                          description: 'The reply to this object has already been sent  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        RESUB_READ:
                          type: string
                          maxLength: 1
                          description: 'The resubmitted document was viewed again  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        EXPIRY_DAT:
                          type: string
                          format: date
                          description: 'SAPoffice: Expiration Date for this Folder Entry'
                        DOC_SIZE:
                          type: string
                          maxLength: 12
                          description: Size of SAPoffice Document (for API1)
                  DOCUMENT_IDS:
                    type: array
                    items:
                      type: object
                      properties:
                        DOC_ID:
                          type: string
                          maxLength: 46
                          description: Folder Entry ID (Obj+Fol+Forwarder Name)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
