openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_BLST_UPDATE_30:
    post:
      tags:
      - SIBU
      summary: Update hierarchy level
      operationId: /rfc/RPY_BLST_UPDATE_30
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CICO_REQUEST_NO:
                  type: string
                  maxLength: 10
                  description: Check-In-Check-Out-Request-Number
                MODEL_INFO:
                  type: object
                  properties:
                    MODEL_ID:
                      type: string
                      maxLength: 10
                      description: 10 figure 3.0/3.1 ID for Business Navigator objects
                    MODEL_TYPE:
                      type: string
                      maxLength: 4
                      description: Object Type
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key
                    NAME:
                      type: string
                      maxLength: 80
                      description: Full description
                    FSTUSER:
                      type: string
                      maxLength: 12
                      description: Created by
                    FSTDATE:
                      type: string
                      format: date
                      description: Date on which the record was created
                    FSTTIME:
                      type: string
                      maxLength: 6
                      description: Creation Time
                    LSTUSER:
                      type: string
                      maxLength: 12
                      description: Changed by
                    LSTDATE:
                      type: string
                      format: date
                      description: Changed on
                    LSTTIME:
                      type: string
                      maxLength: 6
                      description: Last changed at
                    FSTREL:
                      type: string
                      maxLength: 4
                      description: First Release
                    DEVCLASS:
                      type: string
                      maxLength: 4
                      description: Not More Closely Defined Area, Possibly Used for Patchlevels
                    VARTYPE:
                      type: string
                      maxLength: 1
                      description: 'Variant type  enumValues: S=Customer model contains selection details only (redlining),E=Customer model also contains enhancements (full control)'
                      enum:
                      - S
                      - E
                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: 2
                        description: Message ID
                      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
                HIERARCHY_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      PARENT_OBJ:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                      NODE_ID:
                        type: string
                        maxLength: 10
                        description: Node ID
                      OBJ_DEF:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                      NODE_TYP:
                        type: string
                        maxLength: 2
                        description: 'Node type  enumValues: GR=Group,NT=Entity,SP=Scenario process path,WM=Message flow,CO=OR-operator,BA=Enterprise area,CA=AND-operator,HF=Application Component,SC=Scenario process,AC=Activity,FS=Process,OS=System organizational unit,UO=BOR object,FU=Function,TO=Organizational unit,FP=Process path,NU=Output entity,FM=Main process,PM=Message type,EV=Event,GV=Global variant,CX=EXCLUSIVE OR-operator,NI=Input entity'
                        enum:
                        - GR
                        - NT
                        - SP
                        - WM
                        - CO
                        - BA
                        - CA
                        - HF
                        - SC
                        - AC
                        - FS
                        - OS
                        - UO
                        - FU
                        - TO
                        - FP
                        - NU
                        - FM
                        - PM
                        - EV
                        - GV
                        - CX
                        - NI
                      HIERPOS:
                        type: string
                        maxLength: 10
                        description: Position on a hierarchy level
                      SELECTED:
                        type: string
                        maxLength: 1
                        description: 'Selected  enumValues: ""=Undefined/new,I=Deselected,A=Selected,P=Protected (deselected at original node)'
                        enum:
                        - ''
                        - I
                        - A
                        - P
              required:
              - CICO_REQUEST_NO
              - MODEL_INFO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_OCCURED:
                    type: string
                    maxLength: 1
                    description: Error occured and is listed in Table 'ERRORS'
                  PROCESSING_STATUS:
                    type: string
                    maxLength: 2
                    description: Processing Status of operation
                  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: 2
                          description: Message ID
                        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
                  HIERARCHY_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        PARENT_OBJ:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                        NODE_ID:
                          type: string
                          maxLength: 10
                          description: Node ID
                        OBJ_DEF:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                        NODE_TYP:
                          type: string
                          maxLength: 2
                          description: 'Node type  enumValues: GR=Group,NT=Entity,SP=Scenario process path,WM=Message flow,CO=OR-operator,BA=Enterprise area,CA=AND-operator,HF=Application Component,SC=Scenario process,AC=Activity,FS=Process,OS=System organizational unit,UO=BOR object,FU=Function,TO=Organizational unit,FP=Process path,NU=Output entity,FM=Main process,PM=Message type,EV=Event,GV=Global variant,CX=EXCLUSIVE OR-operator,NI=Input entity'
                          enum:
                          - GR
                          - NT
                          - SP
                          - WM
                          - CO
                          - BA
                          - CA
                          - HF
                          - SC
                          - AC
                          - FS
                          - OS
                          - UO
                          - FU
                          - TO
                          - FP
                          - NU
                          - FM
                          - PM
                          - EV
                          - GV
                          - CX
                          - NI
                        HIERPOS:
                          type: string
                          maxLength: 10
                          description: Position on a hierarchy level
                        SELECTED:
                          type: string
                          maxLength: 1
                          description: 'Selected  enumValues: ""=Undefined/new,I=Deselected,A=Selected,P=Protected (deselected at original node)'
                          enum:
                          - ''
                          - I
                          - A
                          - P
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
