openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_ROLE_CHECK:
    post:
      tags:
      - CRMC_PRT_URL_CHECK
      summary: Single/Portal Role Existence Check and Check Service Entry
      operationId: /rfc/CRM_ROLE_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECKED_ROLES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: ID for Checked Single/Portal Roles Assignment
                      SINGLE_ROLE:
                        type: string
                        maxLength: 30
                        description: Role Name
                      PORTAL_ROLE:
                        type: string
                        maxLength: 255
                        description: Portal Role ID
                CHECKED_ROLES_SERVICES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: ID for Checked Single/Portal Roles Assignment
                      ID_PORTAL_SRV:
                        type: string
                        maxLength: 255
                        description: Portal Service ID (Page or External Service/BSP)
                      OK_FLAG:
                        type: string
                        maxLength: 1
                        description: Indicator for Checked Portal Service ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHECKED_ROLES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: ID for Checked Single/Portal Roles Assignment
                        SINGLE_ROLE:
                          type: string
                          maxLength: 30
                          description: Role Name
                        PORTAL_ROLE:
                          type: string
                          maxLength: 255
                          description: Portal Role ID
                  CHECKED_ROLES_SERVICES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: ID for Checked Single/Portal Roles Assignment
                        ID_PORTAL_SRV:
                          type: string
                          maxLength: 255
                          description: Portal Service ID (Page or External Service/BSP)
                        OK_FLAG:
                          type: string
                          maxLength: 1
                          description: Indicator for Checked Portal Service ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
