openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SX_SNDREC_SELECT:
    post:
      tags:
      - SX11
      operationId: /rfc/SX_SNDREC_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALL_WAITING:
                  type: string
                  default: X
                  maxLength: 1
                DEL_DATE:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Type of SIGN component in row type of a Ranges type
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Type of OPTION component in row type of a Ranges type
                      LOW:
                        type: string
                        format: date
                        description: Date On Which Object Was Sent
                      HIGH:
                        type: string
                        format: date
                        description: Date On Which Object Was Sent
                DEL_TIME:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Type of SIGN component in row type of a Ranges type
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Type of OPTION component in row type of a Ranges type
                      LOW:
                        type: string
                        maxLength: 6
                        description: Time at Which The Object Was Sent
                      HIGH:
                        type: string
                        maxLength: 6
                        description: Time at Which The Object Was Sent
                MAXSEL:
                  type: integer
                  format: int32
                NOTIFICATIONS:
                  type: string
                  maxLength: 1
                SENDER:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Type of SIGN component in row type of a Ranges type
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Type of OPTION component in row type of a Ranges type
                      LOW:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      HIGH:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                SND_ART:
                  type: string
                  maxLength: 3
                SND_DATE:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Type of SIGN component in row type of a Ranges type
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Type of OPTION component in row type of a Ranges type
                      LOW:
                        type: string
                        format: date
                        description: Date On Which Object Was Sent
                      HIGH:
                        type: string
                        format: date
                        description: Date On Which Object Was Sent
                SND_TIME:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Type of SIGN component in row type of a Ranges type
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Type of OPTION component in row type of a Ranges type
                      LOW:
                        type: string
                        maxLength: 6
                        description: Time at Which The Object Was Sent
                      HIGH:
                        type: string
                        maxLength: 6
                        description: Time at Which The Object Was Sent
                STATUS:
                  type: object
                  properties:
                    WAIT:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag Waiting  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    TRANSIT:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag Sent  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    OK:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag Transmitted  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ERROR:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag Errors  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    INCONS:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag Inconsistent  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    FUTURE:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag Send in Future  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    RETRY:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag Retry  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    DIRECT:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag Waiting for Direct Send  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    ACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Send Status: Status Flag In Processing by Send Process  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SNDRECS:
                    type: array
                    items:
                      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'
                        FORTP:
                          type: string
                          maxLength: 3
                          description: 'Forwarder: Object type from ID'
                        FORYR:
                          type: string
                          maxLength: 2
                          description: 'Forwarder: year from the ID'
                        FORNO:
                          type: string
                          maxLength: 12
                          description: 'Forwarder: number from the ID'
                        RECTP:
                          type: string
                          maxLength: 3
                          description: Recipient type from ID
                        RECYR:
                          type: string
                          maxLength: 2
                          description: Recipient year from the ID
                        RECNO:
                          type: string
                          maxLength: 12
                          description: Recipient number from ID
                        SNDART:
                          type: string
                          maxLength: 3
                          description: 'SAPconnect: Address type'
                        SNDTP:
                          type: string
                          maxLength: 3
                          description: Sender type from the ID
                        SNDYR:
                          type: string
                          maxLength: 2
                          description: Sender year from the ID
                        SNDNO:
                          type: string
                          maxLength: 12
                          description: Sender number from the ID
                        USERNAM:
                          type: string
                          maxLength: 12
                          description: 'Sender: Name'
                        SNDREQ:
                          type: string
                          format: byte
                          description: Globally Unique Identifier
                        STAT_DATE:
                          type: string
                          format: date
                          description: Date of status
                        STAT_TIME:
                          type: string
                          maxLength: 6
                          description: Time of status
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        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'
                        STATUS:
                          type: string
                          maxLength: 12
                          description: 'SAPcomm: status of the sent object'
                        ADRNR:
                          type: string
                          maxLength: 10
                          description: 'Addresses: Address Number'
                        NODE:
                          type: string
                          maxLength: 6
                          description: Name of SAPconnect Node or Telephony Server
                        TITEL:
                          type: string
                          maxLength: 50
                          description: Short description of contents
                        OBJSNS:
                          type: string
                          maxLength: 1
                          description: 'Object: Sensitivity (private, functional, ...)'
                        OBJLEN:
                          type: string
                          maxLength: 12
                          description: Size of Document Content
                        ATTLEN:
                          type: string
                          maxLength: 12
                          description: Total size of all attachments to a document
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        COUNTER:
                          type: string
                          maxLength: 5
                          description: Counter for status entries for this send process
                        SOST_MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        SOST_MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        LENGTH:
                          type: string
                          maxLength: 12
                          description: Size of Document Content
                        SENDER:
                          type: string
                          maxLength: 35
                          description: Name in address management
                        ADDRESS:
                          type: string
                          maxLength: 35
                          description: Name in address management
                        MSGTP:
                          type: string
                          maxLength: 1
                          description: Type of send request (message or status)
                        MSGTXT:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
                        WAIT_DATE:
                          type: string
                          format: date
                          description: No processing before this date
                        WAIT_TIME:
                          type: string
                          maxLength: 6
                          description: No processing before this time
                        DEF_STAT:
                          type: string
                          maxLength: 1
                          description: Boolean
                        MARK:
                          type: string
                          maxLength: 1
                          description: Boolean
                        SNDART_L:
                          type: string
                          maxLength: 50
                          description: Text field length 50
                        ICON:
                          type: string
                          maxLength: 132
                          description: Carrier field for icons
                        COLOR:
                          type: string
                          maxLength: 4
                          description: Not More Closely Defined Area, Possibly Used for Patchlevels
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
