openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BM_OBJECT_ASSIGNMENTS_READ:
    post:
      tags:
      - SF02
      operationId: /rfc/BM_OBJECT_ASSIGNMENTS_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INCL_INPUT:
                  type: string
                  default: X
                  maxLength: 1
                  description: EU Object
                INCL_OUTPUT:
                  type: string
                  default: X
                  maxLength: 1
                  description: EU Object
                INCL_SYSORG:
                  type: string
                  default: X
                  maxLength: 1
                  description: EU Object
                INCL_TRANSACTIONS:
                  type: string
                  default: X
                  maxLength: 1
                  description: EU Object
                OBJECT_ID:
                  type: string
                  maxLength: 20
                  description: EU Object
                OBJECT_TYPE:
                  type: string
                  maxLength: 4
                _ACTIVE_ASSIGNMENTS:
                  type: string
                  default: X
                  maxLength: 1
                ASSIGNMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PRE_OTYP:
                        type: string
                        maxLength: 4
                        description: Object Type
                      PRE_OBJ:
                        type: string
                        maxLength: 30
                        description: EU Object
                      SUC_OTYP:
                        type: string
                        maxLength: 4
                        description: Object Type
                      SUC_OBJ:
                        type: string
                        maxLength: 30
                        description: EU Object
                      CXN_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'
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                        enum:
                        - S
                        - T
                        - N
                        - A
                        - L
                INACTIVE_ASSGNMNTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PRE_OTYP:
                        type: string
                        maxLength: 4
                        description: Object Type
                      PRE_OBJ:
                        type: string
                        maxLength: 30
                        description: EU Object
                      SUC_OTYP:
                        type: string
                        maxLength: 4
                        description: Object Type
                      SUC_OBJ:
                        type: string
                        maxLength: 30
                        description: EU Object
                      CXN_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'
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                        enum:
                        - S
                        - T
                        - N
                        - A
                        - L
              required:
              - OBJECT_ID
              - OBJECT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ASSIGNMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PRE_OTYP:
                          type: string
                          maxLength: 4
                          description: Object Type
                        PRE_OBJ:
                          type: string
                          maxLength: 30
                          description: EU Object
                        SUC_OTYP:
                          type: string
                          maxLength: 4
                          description: Object Type
                        SUC_OBJ:
                          type: string
                          maxLength: 30
                          description: EU Object
                        CXN_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'
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                          enum:
                          - S
                          - T
                          - N
                          - A
                          - L
                  INACTIVE_ASSGNMNTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PRE_OTYP:
                          type: string
                          maxLength: 4
                          description: Object Type
                        PRE_OBJ:
                          type: string
                          maxLength: 30
                          description: EU Object
                        SUC_OTYP:
                          type: string
                          maxLength: 4
                          description: Object Type
                        SUC_OBJ:
                          type: string
                          maxLength: 30
                          description: EU Object
                        CXN_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'
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                          enum:
                          - S
                          - T
                          - N
                          - A
                          - L
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
