openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BMLM_IMG_API:
    post:
      tags:
      - SF23
      operationId: /rfc/BMLM_IMG_API
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 1
                WITH_OBJECT_ATTRIBUTES:
                  type: string
                  default: ' '
                  maxLength: 1
                WITH_OBJECT_NAMES:
                  type: string
                  default: ' '
                  maxLength: 1
                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
                IMG_ACTIVITIES:
                  type: array
                  items:
                    type: object
                    properties:
                      IDENT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      DOC_CLS:
                        type: string
                        maxLength: 4
                        description: 'Documentation: Class'
                      DOC_OBJ:
                        type: string
                        maxLength: 20
                        description: Documentation Object Name
                      COUNTRY:
                        type: string
                        maxLength: 1
                        description: 'Country ID  enumValues: I=Valid for countries specified,E=Invalid for countries specified,A=Valid for all countries'
                        enum:
                        - I
                        - E
                        - A
                      ACTIVITY:
                        type: integer
                        format: int64
                        description: 'Activity  enumValues: 1=Mandatory activity,3=Nonrequired activity,2=Optional activity'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                      CRITICAL:
                        type: integer
                        format: int64
                        description: 'Critical  enumValues: 2=Non-critical,1=Critical'
                        enum:
                        - '2'
                        - '1'
                      ROADMAP_ID:
                        type: string
                        format: byte
                        description: 16 byte GUID
                IMG_ACTIVITY_COUNTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      IDENT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: Country Key
                IMG_CUS_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      IDENT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      OBJECTNAME:
                        type: string
                        maxLength: 30
                        description: Object Name
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      CLIDEP:
                        type: string
                        maxLength: 1
                        description: 'Client-specific flag  enumValues: X=Client-dependent, valid only for current client,""=No client-dependence, valid throughout system'
                        enum:
                        - X
                        - ''
                      LANGDEP:
                        type: string
                        maxLength: 1
                        description: 'Translation-relevant flag  enumValues: L=Load table: text and translation are generated automatically,T=Translation only possible with object-specific tools,X=Translation using standard translation procedure,N=Table is language-dependent but not translation-relevant,""=Table does not contain a language key'
                        enum:
                        - L
                        - T
                        - X
                        - N
                        - ''
                      OBJTRANSP:
                        type: string
                        maxLength: 1
                        description: 'Flag for linking maintenance object with transport  enumValues: ""=No transport,1=Manual transport,3=Transport is not required,2=Automatic transport'
                        enum:
                        - ''
                        - '1'
                        - '3'
                        - '2'
                      CURSETTING:
                        type: string
                        maxLength: 1
                        description: 'Flag: Object belongs to current settings  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      PAR_VIEW:
                        type: string
                        format: byte
                        description: 16 byte GUID
                IMG_CUS_SUBOBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      IDENT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      OBJECTNAME:
                        type: string
                        maxLength: 30
                        description: Object Name
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      SUBOBJNAME:
                        type: string
                        maxLength: 10
                        description: 'Object: Sub-Object'
                      OBJ_IDENT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      IMG_ACT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                OBJECT_IDS_TO_READ:
                  type: array
                  items:
                    type: object
                    properties:
                      IDENT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                OBJECT_NAMES:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      IDENT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      NAME:
                        type: string
                        maxLength: 100
                        description: Name
                ROAD_MAP_ELEMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      IDENT:
                        type: string
                        format: byte
                        description: 16 byte GUID
                      ROADMAP_ID:
                        type: string
                        maxLength: 12
                        description: Roadmap node identifier
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      IMG_OK:
                        type: string
                        maxLength: 1
                        description: 'Roadmap object type  enumValues: 4=Task,1=Phase,2=Work package,3=Activity,0=Root node'
                        enum:
                        - '4'
                        - '1'
                        - '2'
                        - '3'
                        - '0'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_OCCURED:
                    type: string
                    maxLength: 1
                  PROCESSING_STATUS:
                    type: string
                    maxLength: 2
                  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
                  IMG_ACTIVITIES:
                    type: array
                    items:
                      type: object
                      properties:
                        IDENT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        DOC_CLS:
                          type: string
                          maxLength: 4
                          description: 'Documentation: Class'
                        DOC_OBJ:
                          type: string
                          maxLength: 20
                          description: Documentation Object Name
                        COUNTRY:
                          type: string
                          maxLength: 1
                          description: 'Country ID  enumValues: I=Valid for countries specified,E=Invalid for countries specified,A=Valid for all countries'
                          enum:
                          - I
                          - E
                          - A
                        ACTIVITY:
                          type: integer
                          format: int64
                          description: 'Activity  enumValues: 1=Mandatory activity,3=Nonrequired activity,2=Optional activity'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                        CRITICAL:
                          type: integer
                          format: int64
                          description: 'Critical  enumValues: 2=Non-critical,1=Critical'
                          enum:
                          - '2'
                          - '1'
                        ROADMAP_ID:
                          type: string
                          format: byte
                          description: 16 byte GUID
                  IMG_ACTIVITY_COUNTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        IDENT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        COUNTRY:
                          type: string
                          maxLength: 3
                          description: Country Key
                  IMG_CUS_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        IDENT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        OBJECTNAME:
                          type: string
                          maxLength: 30
                          description: Object Name
                        OBJECTTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        CLIDEP:
                          type: string
                          maxLength: 1
                          description: 'Client-specific flag  enumValues: X=Client-dependent, valid only for current client,""=No client-dependence, valid throughout system'
                          enum:
                          - X
                          - ''
                        LANGDEP:
                          type: string
                          maxLength: 1
                          description: 'Translation-relevant flag  enumValues: L=Load table: text and translation are generated automatically,T=Translation only possible with object-specific tools,X=Translation using standard translation procedure,N=Table is language-dependent but not translation-relevant,""=Table does not contain a language key'
                          enum:
                          - L
                          - T
                          - X
                          - N
                          - ''
                        OBJTRANSP:
                          type: string
                          maxLength: 1
                          description: 'Flag for linking maintenance object with transport  enumValues: ""=No transport,1=Manual transport,3=Transport is not required,2=Automatic transport'
                          enum:
                          - ''
                          - '1'
                          - '3'
                          - '2'
                        CURSETTING:
                          type: string
                          maxLength: 1
                          description: 'Flag: Object belongs to current settings  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        PAR_VIEW:
                          type: string
                          format: byte
                          description: 16 byte GUID
                  IMG_CUS_SUBOBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        IDENT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        OBJECTNAME:
                          type: string
                          maxLength: 30
                          description: Object Name
                        OBJECTTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        SUBOBJNAME:
                          type: string
                          maxLength: 10
                          description: 'Object: Sub-Object'
                        OBJ_IDENT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        IMG_ACT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                  OBJECT_IDS_TO_READ:
                    type: array
                    items:
                      type: object
                      properties:
                        IDENT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                  OBJECT_NAMES:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        IDENT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        NAME:
                          type: string
                          maxLength: 100
                          description: Name
                  ROAD_MAP_ELEMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        IDENT:
                          type: string
                          format: byte
                          description: 16 byte GUID
                        ROADMAP_ID:
                          type: string
                          maxLength: 12
                          description: Roadmap node identifier
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        IMG_OK:
                          type: string
                          maxLength: 1
                          description: 'Roadmap object type  enumValues: 4=Task,1=Phase,2=Work package,3=Activity,0=Root node'
                          enum:
                          - '4'
                          - '1'
                          - '2'
                          - '3'
                          - '0'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
