openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_INITFILE_GET:
    post:
      tags:
      - SO30
      operationId: /rfc/SO_INITFILE_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCTYPE:
                  type: string
                  maxLength: 3
                  description: Document Class
                NO_CONTENT:
                  type: string
                  maxLength: 1
                  description: Document Class
                OBJCONT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'Text field length 255: texts'
                OBJHEAD:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'Text field length 255: texts'
                OBJPARA:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 8
                        description: CHAR08 data element for SYST
                      OPTION:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      LOW:
                        type: string
                        maxLength: 40
                        description: CHAR40 for SYST
                      HIGH:
                        type: string
                        maxLength: 40
                        description: CHAR40 for SYST
                OBJPARB:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: 'SAPoffice: name of the parameter value'
                      VALUE:
                        type: string
                        maxLength: 255
                        description: 'Text field length 255: texts'
              required:
              - DOCTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CANCELLED:
                    type: string
                    maxLength: 1
                  FOLDER_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'
                  OBJECT_HD_DISPLAY:
                    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
                      OWNNAM:
                        type: string
                        maxLength: 12
                        description: Name of document owner
                      CRONAM:
                        type: string
                        maxLength: 12
                        description: Creator Name
                      CRDAT:
                        type: string
                        format: date
                        description: Date created
                      CRTIM:
                        type: string
                        maxLength: 6
                        description: Time created
                      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
                      UHCNT:
                        type: string
                        format: byte
                        description: Counts how many users have this object in HOLD status
                      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
                      ACOUT:
                        type: string
                        maxLength: 1
                        description: 'ToDo: To Be Completed Outside 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'
                      PCTRL:
                        type: string
                        maxLength: 1
                        description: 'SAPoffice: object can be deleted in external inbox  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      OBJCP:
                        type: string
                        maxLength: 1
                        description: 'Document cannot be changed  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
                        - ''
                      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
                      CROADR:
                        type: string
                        maxLength: 35
                        description: Address name of creator
                      CHOADR:
                        type: string
                        maxLength: 35
                        description: Address name of last person to make changes
                      OWNADR:
                        type: string
                        maxLength: 35
                        description: Address name of the owner
                      ENCCNT:
                        type: string
                        format: byte
                        description: Number of attachments for the object
                      FILE_EXT:
                        type: string
                        maxLength: 3
                        description: File extension for PC application
                      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'
                      OBJLEN:
                        type: string
                        maxLength: 12
                        description: Size of Document Content
                      CREATOR:
                        type: string
                        maxLength: 4
                        description: Creator for MacIntosh-based files
                      PRTCT:
                        type: string
                        maxLength: 1
                        description: 'Document title modifiable  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      IF_DOC_BCS:
                        type: string
                        format: byte
                        description: Globally Unique Identifier
                      IF_DOC_CLS:
                        type: string
                        format: byte
                        description: Globally Unique Identifier
                  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'
                  OBJCONT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
                  OBJHEAD:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
                  OBJPARA:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 8
                          description: CHAR08 data element for SYST
                        OPTION:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        LOW:
                          type: string
                          maxLength: 40
                          description: CHAR40 for SYST
                        HIGH:
                          type: string
                          maxLength: 40
                          description: CHAR40 for SYST
                  OBJPARB:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 30
                          description: 'SAPoffice: name of the parameter value'
                        VALUE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
