openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SX_OBJECTS_SEND_OLD:
    post:
      tags:
      - SX01
      summary: 'SAPconnect: Flow Control - Send Process'
      operationId: /rfc/SX_OBJECTS_SEND_OLD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADDRESS_TYPES:
                  type: array
                  items:
                    type: string
                    maxLength: 3
                    description: 'SAPconnect: Address type'
                OBJECT_ID:
                  type: string
                  maxLength: 34
                  description: 'SAPconnect: SAPoffice object ID'
                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'
              required:
              - ADDRESS_TYPES
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NR_SO_OBJECTS:
                    type: integer
                    format: int32
                    description: 'SAPconnect: SAPoffice object ID'
                  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.
