openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_DYNP_DOCUMENT_DISPLAY:
    post:
      tags:
      - SO10
      operationId: /rfc/SO_DYNP_DOCUMENT_DISPLAY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECTS:
                  type: object
                  properties:
                    FOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    FOLYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    FOLNO:
                      type: string
                      maxLength: 12
                      description: 'Object folder: Number from ID'
                    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'
                    FORNAM:
                      type: string
                      maxLength: 12
                      description: Name of forwarder
                    ATTTP:
                      type: string
                      maxLength: 3
                      description: Code for document class
                    ATTYR:
                      type: string
                      maxLength: 2
                      description: 'Object: Year from ID'
                    ATTNO:
                      type: string
                      maxLength: 12
                      description: 'Object: Number from ID'
                    OBJNAM:
                      type: string
                      maxLength: 12
                      description: Name of document, folder or distribution list
                    OBJDES:
                      type: string
                      maxLength: 50
                      description: Short description of contents
                    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
                    OKCODE:
                      type: string
                      maxLength: 70
                      description: Function code that PAI triggered
                    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
                    DLDAT:
                      type: string
                      format: date
                      description: Document Expiration Date
                    EXTCT:
                      type: string
                      maxLength: 1
                      description: 'Object contents are stored externally  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    TARTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    TARYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    TARNO:
                      type: string
                      maxLength: 12
                      description: 'Object folder: Number from ID'
                    TARFOLRG:
                      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
                    EXITCODE:
                      type: string
                      maxLength: 12
                      description: Folder name
                    SNDREQ:
                      type: string
                      maxLength: 32
                      description: Character field, length 32
                OBJECT_FL_DISPLAY:
                  type: object
                  properties:
                    PERMA:
                      type: string
                      maxLength: 1
                      description: 'SAPoffice: Object is displayed independent of selection date  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    HOLDO:
                      type: string
                      maxLength: 1
                      description: 'The object has status HOLD  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    ARCHI:
                      type: string
                      maxLength: 1
                      description: 'The document is stored in archive  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    DLDAT:
                      type: string
                      format: date
                      description: Document Expiration Date
                    DLTIM:
                      type: string
                      maxLength: 6
                      description: Expiry time of object
                    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'
                    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
                    SNDDR:
                      type: string
                      maxLength: 1
                      description: 'Send: As disregard  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    SNDEX:
                      type: string
                      maxLength: 1
                      description: 'Send express  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    SNDCP:
                      type: string
                      maxLength: 1
                      description: 'Send: As copy  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    SNDBC:
                      type: string
                      maxLength: 1
                      description: 'Send as a blind copy  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    OBJAC:
                      type: string
                      maxLength: 1
                      description: 'The recipient must take action  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    OBJRD:
                      type: string
                      maxLength: 1
                      description: 'Object has already been viewed  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    OBJRR:
                      type: string
                      maxLength: 1
                      description: 'A reply must be sent for this object  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    RESUB:
                      type: string
                      maxLength: 1
                      description: 'SAPoffice: folder entry is a resubmitted object  enumValues: 1=Possible values,""=No specification made'
                      enum:
                      - '1'
                      - ''
                    RECPRI:
                      type: string
                      maxLength: 1
                      description: 'Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                      enum:
                      - '8'
                      - '9'
                      - '1'
                    FLAG1:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FLAG2:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FLAG3:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FLAG4:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    FLAG5:
                      type: string
                      maxLength: 1
                      description: 'Search of private or shared folders  enumValues: X=Value for activated,""=Value for deactivated'
                      enum:
                      - X
                      - ''
                    RBDAT:
                      type: string
                      format: date
                      description: Date On Which The Object Was Resubmitted
                    LFOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    LFOLYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    LFOLNO:
                      type: string
                      maxLength: 12
                      description: 'Object folder: Number from ID'
                OK_CODE:
                  type: string
                  default: DISP
                  maxLength: 70
                OWNER:
                  type: string
                  maxLength: 12
              required:
              - OBJECTS
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
