openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SX_OBJECTS_SEND_ARFC:
    post:
      tags:
      - SX01
      operationId: /rfc/SX_OBJECTS_SEND_ARFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMMIT_AFTER:
                  type: integer
                  format: int32
                DIRECTSEND:
                  type: string
                  maxLength: 1
                OUTPUT:
                  type: string
                  maxLength: 1
                TIME_PER_OBJ:
                  type: integer
                  format: int32
                  description: 'SAPconnect: Timeout Factor for Each Send Request'
                OBJ_CAT:
                  type: array
                  items:
                    type: object
                    properties:
                      TITLE:
                        type: string
                        maxLength: 50
                        description: Short description of contents
                      ID:
                        type: string
                        maxLength: 34
                        description: 'SAPconnect: Office object ID'
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'SAPconnect: Object type'
                      NR_RECIP:
                        type: integer
                        format: int32
                        description: 'SAPconnect: Number of Recipients'
                QUEUE_BUFFER:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SNDART:
                        type: string
                        maxLength: 6
                        description: 'Transmission Method (Fax, Telex, ...)  enumValues: ""=SAPoffice internal,TELEX=Telex,TELFAX=Fax'
                        enum:
                        - ''
                        - TELEX
                        - TELFAX
                      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
                      MSGTP:
                        type: string
                        maxLength: 1
                        description: 'Type of send request (message or status)  enumValues: S=Status,M=Message'
                        enum:
                        - S
                        - M
                      ENTRY_DATE:
                        type: string
                        format: date
                        description: Date of entry in table
                      ENTRY_TIME:
                        type: string
                        maxLength: 6
                        description: Time of entry in table
                      REPEAT_CNT:
                        type: string
                        maxLength: 4
                        description: Counter which displays number of repetitions
                      WAIT_DATE:
                        type: string
                        format: date
                        description: No processing before this date
                      WAIT_TIME:
                        type: string
                        maxLength: 6
                        description: No processing before this time
                      SNDPRI:
                        type: string
                        maxLength: 1
                        description: 'Send: Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                        enum:
                        - '8'
                        - '9'
                        - '1'
                      NOTTP:
                        type: string
                        maxLength: 3
                        description: Default setting of document class
                      NOTYR:
                        type: string
                        maxLength: 2
                        description: 'Object note: year from the ID'
                      NOTNO:
                        type: string
                        maxLength: 12
                        description: 'Object note: number from the ID'
                      STATUS:
                        type: string
                        maxLength: 4
                        description: Status to be sent
                      NEW_STATUS:
                        type: string
                        maxLength: 12
                        description: New status to be set
                      SCOM_TP:
                        type: string
                        maxLength: 3
                        description: 'SAPcomm ID: ID type'
                      SCOM_YR:
                        type: string
                        maxLength: 2
                        description: 'SAPcomm: year of ID'
                      SCOM_NO:
                        type: string
                        maxLength: 12
                        description: 'SAPcomm: number of the ID'
                      SNDREQ:
                        type: string
                        format: byte
                        description: Globally Unique Identifier
                      IMMEDIATLY:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
              required:
              - DIRECTSEND
              - OUTPUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NR_SO_OBJECTS:
                    type: integer
                    format: int32
                  TIME:
                    type: integer
                    format: int32
                  TIMEOUT_REACHED:
                    type: string
                    maxLength: 1
                    description: 'SAPconnect: Selection'
                  OBJ_CAT:
                    type: array
                    items:
                      type: object
                      properties:
                        TITLE:
                          type: string
                          maxLength: 50
                          description: Short description of contents
                        ID:
                          type: string
                          maxLength: 34
                          description: 'SAPconnect: Office object ID'
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'SAPconnect: Object type'
                        NR_RECIP:
                          type: integer
                          format: int32
                          description: 'SAPconnect: Number of Recipients'
                  QUEUE_BUFFER:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SNDART:
                          type: string
                          maxLength: 6
                          description: 'Transmission Method (Fax, Telex, ...)  enumValues: ""=SAPoffice internal,TELEX=Telex,TELFAX=Fax'
                          enum:
                          - ''
                          - TELEX
                          - TELFAX
                        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
                        MSGTP:
                          type: string
                          maxLength: 1
                          description: 'Type of send request (message or status)  enumValues: S=Status,M=Message'
                          enum:
                          - S
                          - M
                        ENTRY_DATE:
                          type: string
                          format: date
                          description: Date of entry in table
                        ENTRY_TIME:
                          type: string
                          maxLength: 6
                          description: Time of entry in table
                        REPEAT_CNT:
                          type: string
                          maxLength: 4
                          description: Counter which displays number of repetitions
                        WAIT_DATE:
                          type: string
                          format: date
                          description: No processing before this date
                        WAIT_TIME:
                          type: string
                          maxLength: 6
                          description: No processing before this time
                        SNDPRI:
                          type: string
                          maxLength: 1
                          description: 'Send: Priority  enumValues: 8=,9=Lowest priority,1=Highest priority'
                          enum:
                          - '8'
                          - '9'
                          - '1'
                        NOTTP:
                          type: string
                          maxLength: 3
                          description: Default setting of document class
                        NOTYR:
                          type: string
                          maxLength: 2
                          description: 'Object note: year from the ID'
                        NOTNO:
                          type: string
                          maxLength: 12
                          description: 'Object note: number from the ID'
                        STATUS:
                          type: string
                          maxLength: 4
                          description: Status to be sent
                        NEW_STATUS:
                          type: string
                          maxLength: 12
                          description: New status to be set
                        SCOM_TP:
                          type: string
                          maxLength: 3
                          description: 'SAPcomm ID: ID type'
                        SCOM_YR:
                          type: string
                          maxLength: 2
                          description: 'SAPcomm: year of ID'
                        SCOM_NO:
                          type: string
                          maxLength: 12
                          description: 'SAPcomm: number of the ID'
                        SNDREQ:
                          type: string
                          format: byte
                          description: Globally Unique Identifier
                        IMMEDIATLY:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
