openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_SOOD_READ:
    post:
      tags:
      - SOB7
      operationId: /rfc/SO_SOOD_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT_ID:
                  type: object
                  properties:
                    OBJTP:
                      type: string
                      maxLength: 3
                      description: Code for document class
                    OBJYR:
                      type: string
                      maxLength: 2
                      description: 'Object: Year from ID'
                    OBJNO:
                      type: string
                      maxLength: 12
                      description: 'Object: Number from ID'
              required:
              - OBJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SOOD_DAT:
                    type: object
                    properties:
                      OBJLA:
                        type: string
                        maxLength: 1
                        description: Language in Which Document Is Created
                      OBJSRT:
                        type: string
                        maxLength: 10
                        description: Sort field
                      OBJNAM:
                        type: string
                        maxLength: 12
                        description: Name of document, folder or distribution list
                      OBJDES:
                        type: string
                        maxLength: 50
                        description: Short description of contents
                      OWNTP:
                        type: string
                        maxLength: 3
                        description: Owner type from ID
                      OWNYR:
                        type: string
                        maxLength: 2
                        description: Owner year from the ID
                      OWNNO:
                        type: string
                        maxLength: 12
                        description: Owner number from the ID
                      OWNNAM:
                        type: string
                        maxLength: 12
                        description: Name of document owner
                      CROTP:
                        type: string
                        maxLength: 3
                        description: 'User who created object: Object type from ID'
                      CROYR:
                        type: string
                        maxLength: 2
                        description: 'User that created object: year from the ID'
                      CRONO:
                        type: string
                        maxLength: 12
                        description: 'User that created object: number from the ID'
                      CRONAM:
                        type: string
                        maxLength: 12
                        description: Creator Name
                      CRDAT:
                        type: string
                        format: date
                        description: Date created
                      CRTIM:
                        type: string
                        maxLength: 6
                        description: Time created
                      CHOTP:
                        type: string
                        maxLength: 3
                        description: 'User that changed the object: Object type from ID'
                      CHOYR:
                        type: string
                        maxLength: 2
                        description: 'User that changed the object: year from the ID'
                      CHONO:
                        type: string
                        maxLength: 12
                        description: 'User that changed the object: number from the ID'
                      CHONAM:
                        type: string
                        maxLength: 12
                        description: Changed by
                      CHDAT:
                        type: string
                        format: date
                        description: Date of Last Change
                      CHTIM:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
                      NOTTP:
                        type: string
                        maxLength: 3
                        description: Default setting of document class
                      NOTYR:
                        type: string
                        maxLength: 2
                        description: 'Object note: year from the ID'
                      NOTNO:
                        type: string
                        maxLength: 12
                        description: 'Object note: number from the ID'
                      OBJAPP:
                        type: string
                        maxLength: 1
                        description: 'Application object  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      OBJFIL:
                        type: string
                        maxLength: 1
                        description: 'Object from SAPfile  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FOLRG:
                        type: string
                        maxLength: 1
                        description: 'Folder: Area (private, shared folders)  enumValues: Y=Workflow folder,Q=Shared folder,T=Private trash,O=Outbox,S=System-wide trash,P=Private folder,I=Inbox'
                        enum:
                        - Y
                        - Q
                        - T
                        - O
                        - S
                        - P
                        - I
                      NOTES:
                        type: string
                        maxLength: 1
                        description: 'Flag for an attachment  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      UHCNT:
                        type: string
                        format: byte
                        description: Counts how many users have this object in HOLD status
                      ENCCNT:
                        type: string
                        format: byte
                        description: Number of attachments for the object
                      PTFOL:
                        type: string
                        format: byte
                        description: Number of folders which contain the object
                      PTENC:
                        type: string
                        format: byte
                        description: Number of objects for which this object is an attachment
                      PTHYP:
                        type: string
                        format: byte
                        description: Number of hyperlinks to this object
                      PTNOT:
                        type: string
                        format: byte
                        description: Number of objects, in which this object is a note
                      PTMBO:
                        type: string
                        format: byte
                        description: Number of MBO objects which contain this object
                      PAFOL:
                        type: string
                        format: byte
                        description: Number of folders, in which object is stored and archived
                      PAENC:
                        type: string
                        format: byte
                        description: No.of archived objects f. which this object is an attachment
                      PAHYP:
                        type: string
                        format: byte
                        description: Number of archived hyperlinks to this object
                      PANOT:
                        type: string
                        format: byte
                        description: Number of archived objects in which this object is a note
                      PAMBO:
                        type: string
                        format: byte
                        description: Number of archived MBO objects which contain this object
                      ARCHI:
                        type: string
                        maxLength: 1
                        description: 'The document is stored in archive  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      LADAT:
                        type: string
                        format: date
                        description: Date of last access
                      DLDAT:
                        type: string
                        format: date
                        description: Document Expiration Date
                      DLTIM:
                        type: string
                        maxLength: 6
                        description: Expiry time of object
                      OBJPRI:
                        type: string
                        maxLength: 1
                        description: 'Document priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                        enum:
                        - '8'
                        - '9'
                        - '1'
                      OBJSNS:
                        type: string
                        maxLength: 1
                        description: 'Object: Sensitivity (private, functional, ...)  enumValues: F=Functional,O=Standard,P=Confidential'
                        enum:
                        - F
                        - O
                        - P
                      OBJENC:
                        type: string
                        maxLength: 1
                        description: 'Object: coded  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      OBJSND:
                        type: string
                        maxLength: 1
                        description: 'Object has already been sent  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      SDDAT:
                        type: string
                        format: date
                        description: Date On Which Object Was Sent
                      SDTIM:
                        type: string
                        maxLength: 6
                        description: Time at Which The Object Was Sent
                      RECCNT:
                        type: string
                        format: byte
                        description: Number of recipients of the object
                      RRDCNT:
                        type: string
                        format: byte
                        description: Number of Recipients Who Have Read Object
                      RRRCNT:
                        type: string
                        format: byte
                        description: Number of recipients who must reply to the object
                      RRPCNT:
                        type: string
                        format: byte
                        description: Number of recipients who have sent required reply
                      RARCNT:
                        type: string
                        format: byte
                        description: Number of recipients who must take action
                      RAPCNT:
                        type: string
                        format: byte
                        description: Number of recipients processing the object
                      RATCNT:
                        type: string
                        format: byte
                        description: Number of recipients who have taken action
                      REXCNT:
                        type: string
                        format: byte
                        description: Number of recipients of the express message
                      RCPCNT:
                        type: string
                        format: byte
                        description: Number of recipients of a copy
                      RBCCNT:
                        type: string
                        format: byte
                        description: Number of recipients of a blind copy
                      ACONE:
                        type: string
                        format: byte
                        description: ToDo by one of the recipients in the group
                      ACOUT:
                        type: string
                        maxLength: 1
                        description: 'ToDo: To Be Completed Outside SAPoffice  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FROUT:
                        type: string
                        maxLength: 1
                        description: 'Object is to be forwarded outside of SAPoffice  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      VMTYP:
                        type: string
                        maxLength: 1
                        description: 'Execute: Type (Report, Dialog Module, ...)'
                      SKIPS:
                        type: string
                        maxLength: 1
                        description: 'Execute: Process First Screen in Background  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      ACNAM:
                        type: string
                        maxLength: 54
                        description: 'Execute: Name of Report, FM, DB, TCode'
                      ACMEM:
                        type: string
                        maxLength: 32
                        description: 'Process: memory ID'
                      HYPTP:
                        type: string
                        maxLength: 3
                        description: 'Hypertext pointer: Object type'
                      HYPYR:
                        type: string
                        maxLength: 2
                        description: 'Hypertext pointer: year'
                      HYPNO:
                        type: string
                        maxLength: 12
                        description: 'Hypertext pointer: number'
                      AUTTP:
                        type: string
                        maxLength: 3
                        description: 'Authorization list: Type from ID'
                      AUTYR:
                        type: string
                        maxLength: 2
                        description: 'Authorization list: year from the ID'
                      AUTNO:
                        type: string
                        maxLength: 12
                        description: 'Authorization list: number from the ID'
                      PCTRL:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: object can be deleted in external inbox  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      CCOTP:
                        type: string
                        maxLength: 3
                        description: 'Change copy: object type from the ID'
                      CCOYR:
                        type: string
                        maxLength: 2
                        description: 'Change copy: year from the ID'
                      CCONO:
                        type: string
                        maxLength: 12
                        description: 'Change copy: number from the ID'
                      OBJCP:
                        type: string
                        maxLength: 1
                        description: 'Document cannot be changed  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      PRTCT:
                        type: string
                        maxLength: 1
                        description: 'Document title modifiable  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FIXED:
                        type: string
                        maxLength: 1
                        description: 'Check-in/check-out flag  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      EXTHD:
                        type: string
                        maxLength: 1
                        description: 'Object-specific header is stored externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      EXTCT:
                        type: string
                        maxLength: 1
                        description: 'Object contents are stored externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      FILE_EXT:
                        type: string
                        maxLength: 3
                        description: File extension for PC application
                      OBJLEN:
                        type: string
                        maxLength: 12
                        description: Size of Document Content
                      CREATOR:
                        type: string
                        maxLength: 4
                        description: Creator for MacIntosh-based files
                      ATTLEN:
                        type: string
                        maxLength: 12
                        description: Total size of all attachments to a document
                      IF_DOC_BCS:
                        type: string
                        format: byte
                        description: Globally Unique Identifier
                      IF_DOC_CLS:
                        type: string
                        format: byte
                        description: Globally Unique Identifier
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
