openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKMPJ_GENERAL_KEYSERVICE:
    post:
      tags:
      - SKMPJ
      operationId: /rfc/SKMPJ_GENERAL_KEYSERVICE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                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'
                GROUPLIST_IN:
                  type: array
                  items:
                    type: object
                    properties:
                      GROUP_NUMBER:
                        type: integer
                        format: int32
                        description: Natural number
                      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
      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'
                  GROUPLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        GROUP_NUMBER:
                          type: integer
                          format: int32
                          description: Natural number
                        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'
                  RC:
                    type: string
                    description: Return Code
                  RETURNCODE:
                    type: integer
                    format: int32
                    description: Natural Number
                  TRACE:
                    type: string
                    description: Trace
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
