openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EDI_AGREE_PARTNER_READ:
    post:
      tags:
      - EDI6
      summary: Read partner data from EDPP1
      operationId: /rfc/EDI_AGREE_PARTNER_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                REC_EDKP1:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    PARNUM:
                      type: string
                      maxLength: 10
                      description: Partner number
                    PARTYP:
                      type: string
                      maxLength: 2
                      description: Partner Type
              required:
              - REC_EDKP1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  REC_EDDP1:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 3
                        description: Partner class
                      MATLVL:
                        type: string
                        maxLength: 1
                        description: Status of partner profile
                      TEST:
                        type: string
                        maxLength: 1
                        description: 'Flag for test mode  enumValues: ""=Blank,X=Selection flag'
                        enum:
                        - ''
                        - X
                      ARCHIV:
                        type: string
                        maxLength: 1
                        description: 'Documents available?  enumValues: X=Partner profile exists in archive,""=No partner profile in archive'
                        enum:
                        - X
                        - ''
                      USRTYP:
                        type: string
                        maxLength: 10
                        description: User Type
                      USRKEY:
                        type: string
                        maxLength: 70
                        description: 'Permitted users: ID'
                      USRLNG:
                        type: string
                        maxLength: 1
                        description: Language of notification
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
