openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_EXTERN_RECEIVE_DATA_GET:
    post:
      tags:
      - SOB5
      operationId: /rfc/SO_EXTERN_RECEIVE_DATA_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATA_KEY:
                  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'
                    REC_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Receive externally: Recipient type'
                    COUNTER:
                      type: string
                      format: byte
                      description: 'Receive externally: counter for copy list members'
              required:
              - DATA_KEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RECEIVING_DATA:
                    type: object
                    properties:
                      ADRTP:
                        type: string
                        maxLength: 3
                        description: 'Receive ext.: address type (ADR,&X4,&SS, etc.)'
                      LFDNR:
                        type: string
                        maxLength: 3
                        description: Sequence Number
                      ADRNO:
                        type: string
                        maxLength: 10
                        description: 'Addresses: Address Number'
                      SNDART:
                        type: string
                        maxLength: 6
                        description: 'Transmission Method (Fax, Telex, ...)  enumValues: ""=SAPoffice internal,TELEX=Telex,TELFAX=Fax'
                        enum:
                        - ''
                        - TELEX
                        - TELFAX
                      NOTIF_READ:
                        type: string
                        maxLength: 1
                        description: Read acknowledgment expected
                      STATUS:
                        type: string
                        maxLength: 12
                        description: 'SAPcomm: status of the sent object'
                      SCOMTP:
                        type: string
                        maxLength: 3
                        description: 'SAPcomm ID: ID type'
                      SCOMYR:
                        type: string
                        maxLength: 2
                        description: 'SAPcomm: year of ID'
                      SCOMNO:
                        type: string
                        maxLength: 12
                        description: 'SAPcomm: number of the ID'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
