openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_DLI_LIST_READ_XDL:
    post:
      tags:
      - SOA6
      operationId: /rfc/SO_DLI_LIST_READ_XDL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DLI_GENERIC_DESC:
                  type: string
                  default: ' '
                  maxLength: 50
                DLI_GENERIC_NAME:
                  type: string
                  default: '*'
                  maxLength: 12
                  description: Generic distribution list name
                ENTRY_ESCAPE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Type of entry searched for in DL
                ENTRY_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'
                ENTRY_NAME:
                  type: string
                  default: ' '
                  maxLength: 35
                  description: Entry searched for in DL (generic)
                OWNER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Person in charge of operation
                PRIVATE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Read private distribution lists ?
                PUBLIC:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read shared distribution lists ?
                SUBSCRIPT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Read subscription lists ?
                DLI_DISPLAY_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      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
                      OBJNAM:
                        type: string
                        maxLength: 12
                        description: Name of document, folder or distribution list
                      DLITP:
                        type: string
                        maxLength: 3
                        description: Distribution list type from ID
                      DLIYR:
                        type: string
                        maxLength: 2
                        description: Distribution list year from the ID
                      DLINO:
                        type: string
                        maxLength: 12
                        description: 'Distribution list: number from the ID'
                      DLIFRE:
                        type: string
                        maxLength: 1
                        description: 'Subscription list  enumValues: X=Value for activated,""=Value for deactivated'
                        enum:
                        - X
                        - ''
                      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'
                      OBJDES:
                        type: string
                        maxLength: 50
                        description: Short description of contents
                      FOLNAM:
                        type: string
                        maxLength: 12
                        description: Name of document, folder or distribution list
                      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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DLI_DISPLAY_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        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
                        OBJNAM:
                          type: string
                          maxLength: 12
                          description: Name of document, folder or distribution list
                        DLITP:
                          type: string
                          maxLength: 3
                          description: Distribution list type from ID
                        DLIYR:
                          type: string
                          maxLength: 2
                          description: Distribution list year from the ID
                        DLINO:
                          type: string
                          maxLength: 12
                          description: 'Distribution list: number from the ID'
                        DLIFRE:
                          type: string
                          maxLength: 1
                          description: 'Subscription list  enumValues: X=Value for activated,""=Value for deactivated'
                          enum:
                          - X
                          - ''
                        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'
                        OBJDES:
                          type: string
                          maxLength: 50
                          description: Short description of contents
                        FOLNAM:
                          type: string
                          maxLength: 12
                          description: Name of document, folder or distribution list
                        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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
