openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKMPR_GENERAL_KEYSERVICE:
    post:
      tags:
      - SKMPR
      operationId: /rfc/SKMPR_GENERAL_KEYSERVICE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                DEST:
                  type: string
                  description: RFC destination
                GROUP:
                  type: array
                  items:
                    type: object
                    properties:
                      BSYSTEM:
                        type: string
                        maxLength: 60
                        description: 'XI Value Mapping: System Name'
                      OBJTYPE_NSP:
                        type: string
                        maxLength: 60
                        description: 'XI Value Mapping: Namespace of an Object Type'
                      OBJTYPE_NAME:
                        type: string
                        maxLength: 60
                        description: 'XI Value Mapping: Name of an Object Type'
                      LOCAL_KEY:
                        type: string
                        maxLength: 100
                        description: 'XI Value Mapping: Local Key'
                      IS_DUPLICATE:
                        type: string
                        maxLength: 1
                        description: 'XI Value Mapping: Indicator for Duplicates'
                GROUPS_IN:
                  type: array
                  items:
                    type: object
                    properties:
                      ? ''
                      : type: array
                        items:
                          type: object
                          properties:
                            BSYSTEM:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: System Name'
                            OBJTYPE_NSP:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: Namespace of an Object Type'
                            OBJTYPE_NAME:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: Name of an Object Type'
                            LOCAL_KEY:
                              type: string
                              maxLength: 100
                              description: 'XI Value Mapping: Local Key'
                            IS_DUPLICATE:
                              type: string
                              maxLength: 1
                              description: 'XI Value Mapping: Indicator for Duplicates'
                PAIRS_IN:
                  type: array
                  items:
                    type: object
                    properties:
                      SOURCE:
                        type: object
                        properties:
                          BSYSTEM:
                            type: string
                            maxLength: 60
                            description: 'XI Value Mapping: System Name'
                          OBJTYPE_NSP:
                            type: string
                            maxLength: 60
                            description: 'XI Value Mapping: Namespace of an Object Type'
                          OBJTYPE_NAME:
                            type: string
                            maxLength: 60
                            description: 'XI Value Mapping: Name of an Object Type'
                          LOCAL_KEY:
                            type: string
                            maxLength: 100
                            description: 'XI Value Mapping: Local Key'
                          IS_DUPLICATE:
                            type: string
                            maxLength: 1
                            description: 'XI Value Mapping: Indicator for Duplicates'
                      TARGET:
                        type: object
                        properties:
                          BSYSTEM:
                            type: string
                            maxLength: 60
                            description: 'XI Value Mapping: System Name'
                          OBJTYPE_NSP:
                            type: string
                            maxLength: 60
                            description: 'XI Value Mapping: Namespace of an Object Type'
                          OBJTYPE_NAME:
                            type: string
                            maxLength: 60
                            description: 'XI Value Mapping: Name of an Object Type'
                          LOCAL_KEY:
                            type: string
                            maxLength: 100
                            description: 'XI Value Mapping: Local Key'
                          IS_DUPLICATE:
                            type: string
                            maxLength: 1
                            description: 'XI Value Mapping: Indicator for Duplicates'
                REPR:
                  type: object
                  properties:
                    BSYSTEM:
                      type: string
                      maxLength: 60
                      description: 'XI Value Mapping: System Name'
                    OBJTYPE_NSP:
                      type: string
                      maxLength: 60
                      description: 'XI Value Mapping: Namespace of an Object Type'
                    OBJTYPE_NAME:
                      type: string
                      maxLength: 60
                      description: 'XI Value Mapping: Name of an Object Type'
                    LOCAL_KEY:
                      type: string
                      maxLength: 100
                      description: 'XI Value Mapping: Local Key'
                    IS_DUPLICATE:
                      type: string
                      maxLength: 1
                      description: 'XI Value Mapping: Indicator for Duplicates'
              required:
              - ACTION
              - DEST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTAINER:
                    type: array
                    items:
                      type: object
                      properties:
                        ? ''
                        : type: array
                          items:
                            type: object
                            properties:
                              BSYSTEM:
                                type: string
                                maxLength: 60
                                description: 'XI Value Mapping: System Name'
                              OBJTYPE_NSP:
                                type: string
                                maxLength: 60
                                description: 'XI Value Mapping: Namespace of an Object Type'
                              OBJTYPE_NAME:
                                type: string
                                maxLength: 60
                                description: 'XI Value Mapping: Name of an Object Type'
                              LOCAL_KEY:
                                type: string
                                maxLength: 100
                                description: 'XI Value Mapping: Local Key'
                              IS_DUPLICATE:
                                type: string
                                maxLength: 1
                                description: 'XI Value Mapping: Indicator for Duplicates'
                  PAIRS_OUT:
                    type: array
                    items:
                      type: object
                      properties:
                        SOURCE:
                          type: object
                          properties:
                            BSYSTEM:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: System Name'
                            OBJTYPE_NSP:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: Namespace of an Object Type'
                            OBJTYPE_NAME:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: Name of an Object Type'
                            LOCAL_KEY:
                              type: string
                              maxLength: 100
                              description: 'XI Value Mapping: Local Key'
                            IS_DUPLICATE:
                              type: string
                              maxLength: 1
                              description: 'XI Value Mapping: Indicator for Duplicates'
                        TARGET:
                          type: object
                          properties:
                            BSYSTEM:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: System Name'
                            OBJTYPE_NSP:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: Namespace of an Object Type'
                            OBJTYPE_NAME:
                              type: string
                              maxLength: 60
                              description: 'XI Value Mapping: Name of an Object Type'
                            LOCAL_KEY:
                              type: string
                              maxLength: 100
                              description: 'XI Value Mapping: Local Key'
                            IS_DUPLICATE:
                              type: string
                              maxLength: 1
                              description: 'XI Value Mapping: Indicator for Duplicates'
                  RETURNCODE:
                    type: string
                    description: Return Code
                  TRACE:
                    type: string
                    description: Trace
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
