openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EDI_AGREE_PARTNER_TEST:
    post:
      tags:
      - EDI6
      summary: Insert new partner in header table
      operationId: /rfc/EDI_AGREE_PARTNER_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NO_PTYPE_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'': No partner type check'
                REC_EDPP1:
                  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
                    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
              required:
              - REC_EDPP1
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
