openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IO_C_CREATE_LOIOS:
    post:
      tags:
      - SI61
      summary: Create several logical information objects
      operationId: /rfc/IO_C_CREATE_LOIOS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BAD_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      TEMP_ID:
                        type: string
                        maxLength: 11
                        description: Temporary ID for object to be created
                      ERROR_KEY:
                        type: integer
                        format: int64
                        description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                        enum:
                        - '03'
                        - '04'
                        - '02'
                        - '06'
                        - '00'
                        - '01'
                        - '05'
                INFO_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      TEMP_ID:
                        type: string
                        maxLength: 11
                        description: Temporary ID for object to be created
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                PROPERTIES_FOR_ALL_OBJECTS:
                  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_PER_SINGLE_OBJECT:
                  type: array
                  items:
                    type: object
                    properties:
                      TEMP_ID:
                        type: string
                        maxLength: 11
                        description: Temporary ID for object to be created
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAD_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        TEMP_ID:
                          type: string
                          maxLength: 11
                          description: Temporary ID for object to be created
                        ERROR_KEY:
                          type: integer
                          format: int64
                          description: 'Error code  enumValues: 03=Missing Entries,04=Name conflict,02=Operation not permitted,06=No authorization,00=Document class not known,01=Object does not exist,05=Error when transferring data'
                          enum:
                          - '03'
                          - '04'
                          - '02'
                          - '06'
                          - '00'
                          - '01'
                          - '05'
                  INFO_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        TEMP_ID:
                          type: string
                          maxLength: 11
                          description: Temporary ID for object to be created
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  PROPERTIES_FOR_ALL_OBJECTS:
                    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_PER_SINGLE_OBJECT:
                    type: array
                    items:
                      type: object
                      properties:
                        TEMP_ID:
                          type: string
                          maxLength: 11
                          description: Temporary ID for object to be created
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
