openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_BMEP_READ_LOCK_31:
    post:
      tags:
      - SIBM
      summary: Read diagram locking
      operationId: /rfc/RPY_BMEP_READ_LOCK_31
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CICO_REQUEST_NO:
                  type: string
                  maxLength: 10
                  description: Number of Check-In-Check-Out-Request
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Model ID
                OBJECT_ID:
                  type: string
                  maxLength: 10
                  description: Model ID
                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
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      MODEL_ID:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                      LINE_ID:
                        type: string
                        maxLength: 10
                        description: Link ID
                      LINE_TYP:
                        type: integer
                        format: int64
                        description: 'Link type  enumValues: 101=Assigned 1:1,044=Function creates event,042=Assigned 1:n,116=Function leads to linking operator,050=Is output for function,297=OrgUnit communicates with OrgUnit,048=Event is evaluated by linking operator,117=Linking operator leads to event,049=Is input for function,051=Assigned m:n,054=Operator links operator,166=System OrgUnit is assigned to function,899=Edge (line) in value chain,043=Event/linking operator activates function,001=Transaction
                          Assignment'
                        enum:
                        - '101'
                        - '044'
                        - '042'
                        - '116'
                        - '050'
                        - '297'
                        - '048'
                        - '117'
                        - '049'
                        - '051'
                        - '054'
                        - '166'
                        - '899'
                        - '043'
                        - '001'
                      PRED_NODE:
                        type: string
                        maxLength: 10
                        description: Preceding node
                      SUCC_NODE:
                        type: string
                        maxLength: 10
                        description: Subsequent Node
                NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      MODEL_ID:
                        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
                      XPOS:
                        type: integer
                        format: int64
                        description: Varchart X position
                      YPOS:
                        type: integer
                        format: int64
                        description: Varchart Y position
                      OPTN:
                        type: string
                        maxLength: 1
                        description: 'Functional use: optional function  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
              required:
              - CICO_REQUEST_NO
              - OBJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_OCCURED:
                    type: string
                    maxLength: 1
                    description: Error occured, error table has entries
                  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
                  PROCESSING_STATUS:
                    type: string
                    maxLength: 2
                    description: Stateus of processing
                  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
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        MODEL_ID:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                        LINE_ID:
                          type: string
                          maxLength: 10
                          description: Link ID
                        LINE_TYP:
                          type: integer
                          format: int64
                          description: 'Link type  enumValues: 101=Assigned 1:1,044=Function creates event,042=Assigned 1:n,116=Function leads to linking operator,050=Is output for function,297=OrgUnit communicates with OrgUnit,048=Event is evaluated by linking operator,117=Linking operator leads to event,049=Is input for function,051=Assigned m:n,054=Operator links operator,166=System OrgUnit is assigned to function,899=Edge (line) in value chain,043=Event/linking operator activates function,001=Transaction
                            Assignment'
                          enum:
                          - '101'
                          - '044'
                          - '042'
                          - '116'
                          - '050'
                          - '297'
                          - '048'
                          - '117'
                          - '049'
                          - '051'
                          - '054'
                          - '166'
                          - '899'
                          - '043'
                          - '001'
                        PRED_NODE:
                          type: string
                          maxLength: 10
                          description: Preceding node
                        SUCC_NODE:
                          type: string
                          maxLength: 10
                          description: Subsequent Node
                  NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        MODEL_ID:
                          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
                        XPOS:
                          type: integer
                          format: int64
                          description: Varchart X position
                        YPOS:
                          type: integer
                          format: int64
                          description: Varchart Y position
                        OPTN:
                          type: string
                          maxLength: 1
                          description: 'Functional use: optional function  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
