openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_REPLI_SORF_INSERT:
    post:
      tags:
      - SORP
      operationId: /rfc/SO_REPLI_SORF_INSERT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                REP_SCRMAND:
                  type: string
                  maxLength: 3
                REP_SCRSYSID:
                  type: string
                  maxLength: 8
                REP_TARMAND:
                  type: string
                  maxLength: 3
                REP_TARSYSID:
                  type: string
                  maxLength: 8
                SORF_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SCRSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      SCRMAND:
                        type: string
                        maxLength: 3
                        description: 'Addresses: Client'
                      SCRFOLTP:
                        type: string
                        maxLength: 3
                        description: 'Object folder: Object type from ID'
                      SCRFOLYR:
                        type: string
                        maxLength: 2
                        description: 'Object folder: Year from ID'
                      SCRFOLNO:
                        type: string
                        maxLength: 12
                        description: 'Object folder: Number from ID'
                      SCROBJTP:
                        type: string
                        maxLength: 3
                        description: Code for document class
                      SCROBJYR:
                        type: string
                        maxLength: 2
                        description: 'Object: Year from ID'
                      SCROBJNO:
                        type: string
                        maxLength: 12
                        description: 'Object: Number from ID'
                      TARSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      TARMAND:
                        type: string
                        maxLength: 3
                        description: 'Addresses: Client'
                      TARFOLTP:
                        type: string
                        maxLength: 3
                        description: 'Object folder: Object type from ID'
                      TARFOLYR:
                        type: string
                        maxLength: 2
                        description: 'Object folder: Year from ID'
                      TARFOLNO:
                        type: string
                        maxLength: 12
                        description: 'Object folder: Number from ID'
                      TAROBJTP:
                        type: string
                        maxLength: 3
                        description: Code for document class
                      TAROBJYR:
                        type: string
                        maxLength: 2
                        description: 'Object: Year from ID'
                      TAROBJNO:
                        type: string
                        maxLength: 12
                        description: 'Object: Number from ID'
                      CRDAT:
                        type: string
                        format: date
                        description: Date created
                      CRTIM:
                        type: string
                        maxLength: 6
                        description: Time created
                      CHDAT:
                        type: string
                        format: date
                        description: Date of Last Change
                      CHTIM:
                        type: string
                        maxLength: 6
                        description: Time of Last Change
              required:
              - REP_SCRMAND
              - REP_SCRSYSID
              - REP_TARMAND
              - REP_TARSYSID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SORF_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SCRSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        SCRMAND:
                          type: string
                          maxLength: 3
                          description: 'Addresses: Client'
                        SCRFOLTP:
                          type: string
                          maxLength: 3
                          description: 'Object folder: Object type from ID'
                        SCRFOLYR:
                          type: string
                          maxLength: 2
                          description: 'Object folder: Year from ID'
                        SCRFOLNO:
                          type: string
                          maxLength: 12
                          description: 'Object folder: Number from ID'
                        SCROBJTP:
                          type: string
                          maxLength: 3
                          description: Code for document class
                        SCROBJYR:
                          type: string
                          maxLength: 2
                          description: 'Object: Year from ID'
                        SCROBJNO:
                          type: string
                          maxLength: 12
                          description: 'Object: Number from ID'
                        TARSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        TARMAND:
                          type: string
                          maxLength: 3
                          description: 'Addresses: Client'
                        TARFOLTP:
                          type: string
                          maxLength: 3
                          description: 'Object folder: Object type from ID'
                        TARFOLYR:
                          type: string
                          maxLength: 2
                          description: 'Object folder: Year from ID'
                        TARFOLNO:
                          type: string
                          maxLength: 12
                          description: 'Object folder: Number from ID'
                        TAROBJTP:
                          type: string
                          maxLength: 3
                          description: Code for document class
                        TAROBJYR:
                          type: string
                          maxLength: 2
                          description: 'Object: Year from ID'
                        TAROBJNO:
                          type: string
                          maxLength: 12
                          description: 'Object: Number from ID'
                        CRDAT:
                          type: string
                          format: date
                          description: Date created
                        CRTIM:
                          type: string
                          maxLength: 6
                          description: Time created
                        CHDAT:
                          type: string
                          format: date
                          description: Date of Last Change
                        CHTIM:
                          type: string
                          maxLength: 6
                          description: Time of Last Change
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
