openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_CONVERT_API_ID:
    post:
      tags:
      - SIOB
      operationId: /rfc/SO_CONVERT_API_ID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                API1_ID:
                  type: object
                  properties:
                    FOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    FOLYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    FOLNO:
                      type: string
                      maxLength: 12
                      description: 'Object folder: Number from ID'
                    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'
                    FORWARDER:
                      type: string
                      maxLength: 12
                      description: Name of forwarder
                API2_ID:
                  type: object
                  properties:
                    FOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    FOLYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    FOLNO:
                      type: string
                      maxLength: 12
                      description: 'Object: Number from ID'
                    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'
                    ATTTP:
                      type: string
                      maxLength: 3
                      description: Code for document class
                    ATTYR:
                      type: string
                      maxLength: 2
                      description: 'Object: Year from ID'
                    ATTNO:
                      type: string
                      maxLength: 12
                      description: 'Object: Number from ID'
                    TYPE:
                      type: string
                      maxLength: 4
                      description: Type of message
                    ATT_TYPE:
                      type: string
                      maxLength: 3
                      description: Code for document class
                    PROC_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Execute: Type (Report, Dialog Module, ...)'
                SOFM_ID:
                  type: object
                  properties:
                    FOLTP:
                      type: string
                      maxLength: 3
                      description: 'Object folder: Object type from ID'
                    FOLYR:
                      type: string
                      maxLength: 2
                      description: 'Object folder: Year from ID'
                    FOLNO:
                      type: string
                      maxLength: 12
                      description: 'Object folder: Number from ID'
                    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'
                    FORWARDER:
                      type: string
                      maxLength: 12
                      description: Name of forwarder
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  API1_ID:
                    type: object
                    properties:
                      FOLTP:
                        type: string
                        maxLength: 3
                        description: 'Object folder: Object type from ID'
                      FOLYR:
                        type: string
                        maxLength: 2
                        description: 'Object folder: Year from ID'
                      FOLNO:
                        type: string
                        maxLength: 12
                        description: 'Object folder: Number from ID'
                      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'
                      FORWARDER:
                        type: string
                        maxLength: 12
                        description: Name of forwarder
                  API2_ID:
                    type: object
                    properties:
                      FOLTP:
                        type: string
                        maxLength: 3
                        description: 'Object folder: Object type from ID'
                      FOLYR:
                        type: string
                        maxLength: 2
                        description: 'Object folder: Year from ID'
                      FOLNO:
                        type: string
                        maxLength: 12
                        description: 'Object: Number from ID'
                      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'
                      ATTTP:
                        type: string
                        maxLength: 3
                        description: Code for document class
                      ATTYR:
                        type: string
                        maxLength: 2
                        description: 'Object: Year from ID'
                      ATTNO:
                        type: string
                        maxLength: 12
                        description: 'Object: Number from ID'
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Type of message
                      ATT_TYPE:
                        type: string
                        maxLength: 3
                        description: Code for document class
                      PROC_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Execute: Type (Report, Dialog Module, ...)'
                  SOFM_ID:
                    type: object
                    properties:
                      FOLTP:
                        type: string
                        maxLength: 3
                        description: 'Object folder: Object type from ID'
                      FOLYR:
                        type: string
                        maxLength: 2
                        description: 'Object folder: Year from ID'
                      FOLNO:
                        type: string
                        maxLength: 12
                        description: 'Object folder: Number from ID'
                      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'
                      FORWARDER:
                        type: string
                        maxLength: 12
                        description: Name of forwarder
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
