openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_BMEO_MULTI_READ_30:
    post:
      tags:
      - SIBM
      summary: Read enterprise organizational units
      operationId: /rfc/RPY_BMEO_MULTI_READ_30
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language of objects to read
                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
                OBJECTS_TO_READ:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_NO:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                ORG_UNITS:
                  type: array
                  items:
                    type: object
                    properties:
                      ORG_ID:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                      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
                      IDENT:
                        type: string
                        maxLength: 32
                        description: GUID (Global Unique Identifier)
                      PARENT_ORG:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                      PARENT_NAM:
                        type: string
                        maxLength: 80
                        description: Full description
                      COLOR:
                        type: string
                        maxLength: 1
                        description: 'Type for identifying objects  enumValues: z=Type z,v=Type v,w=Type w,x=Type x,y=Type y,ß=Extra type,j=Type j,k=Type k,l=Type l,m=Type m,f=Type f,g=Type g,h=Type h,i=Type i,r=Type r,s=Type s,t=Type t,u=Type u,n=Type n,o=Type o,p=Type p,q=Type q,Z=Type Z,V=Type V,W=Type W,X=Type X,Y=Type Y,b=Type b,c=Type c,d=Type d,e=Type e,a=Type a,J=Type J,K=Type K,L=Type L,M=Type M,F=Type F,G=Type G,H=Type H,I=Type I,R=Type R,S=Type S,T=Type T,U=Type U,N=Type N,O=Type O,P=Type
                          P,Q=Type Q,6=Type 6,7=Type 7,8=Type 8,9=Type 9,B=Type B,C=Type C,D=Type D,E=Type E,A=Type A,2=Type 2,3=Type 3,4=Type 4,5=Type 5,1=Type 1,0=Type 0 = default type'
                        enum:
                        - z
                        - v
                        - w
                        - x
                        - y
                        - ß
                        - j
                        - k
                        - l
                        - m
                        - f
                        - g
                        - h
                        - i
                        - r
                        - s
                        - t
                        - u
                        - n
                        - o
                        - p
                        - q
                        - Z
                        - V
                        - W
                        - X
                        - Y
                        - b
                        - c
                        - d
                        - e
                        - a
                        - J
                        - K
                        - L
                        - M
                        - F
                        - G
                        - H
                        - I
                        - R
                        - S
                        - T
                        - U
                        - N
                        - O
                        - P
                        - Q
                        - '6'
                        - '7'
                        - '8'
                        - '9'
                        - B
                        - C
                        - D
                        - E
                        - A
                        - '2'
                        - '3'
                        - '4'
                        - '5'
                        - '1'
                        - '0'
                      ORIGINAL:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                      DEVCLASS:
                        type: string
                        maxLength: 4
                        description: Not More Closely Defined Area, Possibly Used for Patchlevels
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_OCCURED:
                    type: string
                    maxLength: 1
                    description: Number of Check-In-Check-Out-Request
                  PROCESSING_STATUS:
                    type: string
                    maxLength: 2
                    description: Error occured, error table has entries
                  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
                  OBJECTS_TO_READ:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_NO:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                  ORG_UNITS:
                    type: array
                    items:
                      type: object
                      properties:
                        ORG_ID:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                        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
                        IDENT:
                          type: string
                          maxLength: 32
                          description: GUID (Global Unique Identifier)
                        PARENT_ORG:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                        PARENT_NAM:
                          type: string
                          maxLength: 80
                          description: Full description
                        COLOR:
                          type: string
                          maxLength: 1
                          description: 'Type for identifying objects  enumValues: z=Type z,v=Type v,w=Type w,x=Type x,y=Type y,ß=Extra type,j=Type j,k=Type k,l=Type l,m=Type m,f=Type f,g=Type g,h=Type h,i=Type i,r=Type r,s=Type s,t=Type t,u=Type u,n=Type n,o=Type o,p=Type p,q=Type q,Z=Type Z,V=Type V,W=Type W,X=Type X,Y=Type Y,b=Type b,c=Type c,d=Type d,e=Type e,a=Type a,J=Type J,K=Type K,L=Type L,M=Type M,F=Type F,G=Type G,H=Type H,I=Type I,R=Type R,S=Type S,T=Type T,U=Type U,N=Type N,O=Type O,P=Type
                            P,Q=Type Q,6=Type 6,7=Type 7,8=Type 8,9=Type 9,B=Type B,C=Type C,D=Type D,E=Type E,A=Type A,2=Type 2,3=Type 3,4=Type 4,5=Type 5,1=Type 1,0=Type 0 = default type'
                          enum:
                          - z
                          - v
                          - w
                          - x
                          - y
                          - ß
                          - j
                          - k
                          - l
                          - m
                          - f
                          - g
                          - h
                          - i
                          - r
                          - s
                          - t
                          - u
                          - n
                          - o
                          - p
                          - q
                          - Z
                          - V
                          - W
                          - X
                          - Y
                          - b
                          - c
                          - d
                          - e
                          - a
                          - J
                          - K
                          - L
                          - M
                          - F
                          - G
                          - H
                          - I
                          - R
                          - S
                          - T
                          - U
                          - N
                          - O
                          - P
                          - Q
                          - '6'
                          - '7'
                          - '8'
                          - '9'
                          - B
                          - C
                          - D
                          - E
                          - A
                          - '2'
                          - '3'
                          - '4'
                          - '5'
                          - '1'
                          - '0'
                        ORIGINAL:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                        DEVCLASS:
                          type: string
                          maxLength: 4
                          description: Not More Closely Defined Area, Possibly Used for Patchlevels
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
