openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPERS_GET_DISTRIBUTION_DATA:
    post:
      tags:
      - SPERS_DISTRIBUTION
      operationId: /rfc/SPERS_GET_DISTRIBUTION_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_PERS_KEY:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Personalization Object Key
                P_ROLE:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Role Name
                P_USER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: User Name
                P_DISTRIBUTION_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      PERS_KEY:
                        type: string
                        maxLength: 30
                        description: Personalization object key
                      LINE_NO:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      LENGTH:
                        type: integer
                        format: int32
                        description: Natural number
                      XML_DATA:
                        type: string
                        maxLength: 50
                        description: XML document line type
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_DISTRIBUTION_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        PERS_KEY:
                          type: string
                          maxLength: 30
                          description: Personalization object key
                        LINE_NO:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        LENGTH:
                          type: integer
                          format: int32
                          description: Natural number
                        XML_DATA:
                          type: string
                          maxLength: 50
                          description: XML document line type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
