openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_ORG_SAP_ORG_MULTIPLE_RELATE:
    post:
      tags:
      - RHWO
      operationId: /rfc/RH_ORG_SAP_ORG_MULTIPLE_RELATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                ACT_ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                ACT_ISTAT:
                  type: string
                  default: '1'
                  maxLength: 1
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                ORG_SAP_ORG_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      ORG_OT:
                        type: string
                        maxLength: 2
                        description: Object Type
                      ORG_ID:
                        type: integer
                        format: int64
                        description: Object ID
                      SAP_OBJTYP:
                        type: string
                        maxLength: 10
                        description: Object Type
                      SAP_OBJKEY:
                        type: string
                        maxLength: 70
                        description: Object key
                      OPERA:
                        type: string
                        maxLength: 1
                        description: Operation Indicator
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ORG_SAP_ORG_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        ORG_OT:
                          type: string
                          maxLength: 2
                          description: Object Type
                        ORG_ID:
                          type: integer
                          format: int64
                          description: Object ID
                        SAP_OBJTYP:
                          type: string
                          maxLength: 10
                          description: Object Type
                        SAP_OBJKEY:
                          type: string
                          maxLength: 70
                          description: Object key
                        OPERA:
                          type: string
                          maxLength: 1
                          description: Operation Indicator
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
