openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SX_OBJECTS_SEND:
    post:
      tags:
      - SX01
      operationId: /rfc/SX_OBJECTS_SEND
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADDRESS_TYPES:
                  type: array
                  items:
                    type: string
                    maxLength: 3
                    description: 'SAPconnect: Address type'
                DIALOG:
                  type: string
                  maxLength: 1
                  description: 'SAPconnect: Selection'
                JOB_PARAMS:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    JOBNAME:
                      type: string
                      maxLength: 32
                      description: Background job name
                    MAXJOBS:
                      type: integer
                      format: int32
                      description: 'SAPconnect: Maximum Number Work Processes for Parallel Use'
                    RFCGROUP:
                      type: string
                      maxLength: 20
                      description: RFC server group for parallel processing
                    MAXPSIZE:
                      type: integer
                      format: int32
                      description: 'SAPconnect: Maximum Package Size'
                    MINPSIZE:
                      type: integer
                      format: int32
                      description: 'SAPconnect: Minimum Package Size'
                    MAXSEL:
                      type: integer
                      format: int32
                      description: 'SAPconnect: Maximum Number of Send Requests to be Selected'
                    TIMEPO:
                      type: integer
                      format: int32
                      description: 'SAPconnect: Timeout Factor for Each Send Request'
                    ARFC_TIMEOUT:
                      type: integer
                      format: int32
                      description: 'SAPconnect: Timeout Offset for aRFCs'
                    COMMIT_AFTER:
                      type: integer
                      format: int32
                      description: 'SAPconnect: No. of Send Requests Followed by Commit Work'
                OBJECT_ID:
                  type: string
                  maxLength: 34
                  description: 'SAPconnect: SAPoffice object ID'
                OUTPUT:
                  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'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CANCEL:
                    type: string
                    maxLength: 1
                    description: 'SAPconnect: Selection'
                  NR_SO_OBJECTS:
                    type: integer
                    format: int32
                    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'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
