openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_DLI_EXIST:
    post:
      tags:
      - SOA6
      operationId: /rfc/SO_DLI_EXIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DISTRIBUTIONLIST:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Name of distribution list
                DLI_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'
                OWNER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: User in charge
                SYSTEM_DLI:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: It is a system distribution list
      responses:
        '200':
          description: OK
          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'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
