openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_CIC_BROADCAST_DIST_LIST:
    post:
      tags:
      - IC_BROADCAST
      summary: Retrieves Distribution Lists
      operationId: /rfc/CRM_CIC_BROADCAST_DIST_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  maxLength: 1
                  description: 'Indicator: Must object be saved?'
                USERID:
                  type: string
                  maxLength: 12
                  description: User name in user master record
                DISTTABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      DISTLISTID:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      RECIPIENTID:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      RECIPENTNAME:
                        type: string
                        maxLength: 80
                        description: Full Name of Person
              required:
              - ACTION
              - USERID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SY_SUBRC:
                    type: integer
                    format: int32
                    description: Return value, return value after ABAP statements
                  USERNAME:
                    type: string
                    maxLength: 80
                    description: Complete personal name
                  DISTTABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        DISTLISTID:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        RECIPIENTID:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        RECIPENTNAME:
                          type: string
                          maxLength: 80
                          description: Full Name of Person
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
