openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_ATTACHMENT_LIST_READ:
    post:
      tags:
      - SOB2
      operationId: /rfc/SO_ATTACHMENT_LIST_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'
                OBJECTS:
                  type: array
                  items:
                    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
                      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
                      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
                      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
                        - ''
                      OBJSND:
                        type: string
                        maxLength: 1
                        description: 'Object has already been sent  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      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
                      EXTCT:
                        type: string
                        maxLength: 1
                        description: 'Object contents are stored externally  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      CRDAT:
                        type: string
                        format: date
                        description: Date created
                      CRTIM:
                        type: string
                        maxLength: 6
                        description: Time created
                      CHDAT:
                        type: string
                        format: date
                        description: Date of Last Change
                      CHTIM:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
              required:
              - OBJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECTS:
                    type: array
                    items:
                      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
                        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
                        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
                        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
                          - ''
                        OBJSND:
                          type: string
                          maxLength: 1
                          description: 'Object has already been sent  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        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
                        EXTCT:
                          type: string
                          maxLength: 1
                          description: 'Object contents are stored externally  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        CRDAT:
                          type: string
                          format: date
                          description: Date created
                        CRTIM:
                          type: string
                          maxLength: 6
                          description: Time created
                        CHDAT:
                          type: string
                          format: date
                          description: Date of Last Change
                        CHTIM:
                          type: string
                          maxLength: 6
                          description: Time of Last Change
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
