openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SA_KW_RFC_IO_C_VERSION_CREATE:
    post:
      tags:
      - SA_KW_RFC
      operationId: /rfc/SA_KW_RFC_IO_C_VERSION_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACCEPT_EXISTING_INITIAL_VERS:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                AREA:
                  type: string
                  default: IWBSOLAR
                  maxLength: 10
                  description: Area
                NEW_PHIO_ID:
                  type: string
                  maxLength: 32
                  description: Single-Character Flag
                BAD_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                BAD_RELATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: Relationship between logical and physical documents
                      OBJ1_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJ1_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      OBJ2_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJ2_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                INFO_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOIO_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      PHIO_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      LOIO_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      PHIO_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                PROPERTIES_TO_CHANGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                PROPERTIES_TO_CHANGE_FOR_ALL:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                PROPERTIES_TO_DELETE_FOR_ALL:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                      SGL_VALUE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Single value  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                RELATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: Relationship between logical and physical documents
                      OBJ1_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJ1_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      OBJ2_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJ2_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAD_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        'NO':
                          type: integer
                          format: int64
                          description: Message Number
                        V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  BAD_RELATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: Relationship between logical and physical documents
                        OBJ1_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJ1_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        OBJ2_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJ2_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        'NO':
                          type: integer
                          format: int64
                          description: Message Number
                        V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  INFO_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOIO_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        PHIO_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        LOIO_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        PHIO_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  PROPERTIES_TO_CHANGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  PROPERTIES_TO_CHANGE_FOR_ALL:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  PROPERTIES_TO_DELETE_FOR_ALL:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                        SGL_VALUE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Single value  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  RELATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: Relationship between logical and physical documents
                        OBJ1_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJ1_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        OBJ2_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJ2_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
