openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BMLM_DOCU_API:
    post:
      tags:
      - SF23
      operationId: /rfc/BMLM_DOCU_API
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUMENTATION_ASSIGNMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_ID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      STRUCCLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      STRUCOBJID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      TOPICCLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      TOPICOBJID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      INFO_CLASS:
                        type: string
                        maxLength: 15
                        description: Content type
                ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 30
                        description: Object name
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGVAR1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ERRORCLASS:
                        type: string
                        maxLength: 10
                        description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                        enum:
                        - ERR_AUTH
                        - ERR_INT
                        - ERR_TRLOCK
                        - ERR_CONSIS
                        - ERR_LANGU
                        - ERR_PARAM
                        - ERR_ENQ
                        - ERR_EXIST
                        - ERR_DOUBLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_OCCURED:
                    type: string
                    maxLength: 1
                  PROCESSING_STATUS:
                    type: string
                    maxLength: 2
                  DOCUMENTATION_ASSIGNMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_ID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        STRUCCLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        STRUCOBJID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        TOPICCLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        TOPICOBJID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        INFO_CLASS:
                          type: string
                          maxLength: 15
                          description: Content type
                  ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTID:
                          type: string
                          maxLength: 30
                          description: Object name
                        OBJECTTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGVAR1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        ERRORCLASS:
                          type: string
                          maxLength: 10
                          description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                          enum:
                          - ERR_AUTH
                          - ERR_INT
                          - ERR_TRLOCK
                          - ERR_CONSIS
                          - ERR_LANGU
                          - ERR_PARAM
                          - ERR_ENQ
                          - ERR_EXIST
                          - ERR_DOUBLE
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
