openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_ROLE_COPIER:
    post:
      tags:
      - CRMC_PRT_URL_CHECK
      summary: Utility for Copying Complete Roles with Portal Service IDs
      operationId: /rfc/CRM_ROLE_COPIER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INSERT_MODE:
                  type: string
                  default: X
                  maxLength: 1
                  description: Indicator for Role Copier
                PRIORITY:
                  type: integer
                  format: int64
                  description: Priority of Role Regarding Object Method
                SOURCE_PORTAL_ROLE:
                  type: string
                  maxLength: 255
                  description: Portal Role ID
                SOURCE_SINGLE_ROLE:
                  type: string
                  maxLength: 30
                  description: Role Name
                TARGET_PORTAL_ROLE:
                  type: string
                  maxLength: 255
                  description: Portal Role ID
                TARGET_ROLE_ADDENDUM:
                  type: string
                  maxLength: 255
                  description: Addendum to Target Portal Role in Role Copier
                TARGET_SINGLE_ROLE:
                  type: string
                  maxLength: 30
                  description: Role Name
                TEST_MODE:
                  type: string
                  default: X
                  maxLength: 1
                  description: Indicator for Role Copier Test Mode
                DB_FAULTY_RECORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      ROLE_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      OBJECTTYPE:
                        type: string
                        maxLength: 20
                        description: Object Type for Navigation
                      METHOD:
                        type: string
                        maxLength: 20
                        description: Method for Navigation
                      ROLE_PRIO:
                        type: integer
                        format: int64
                        description: Priority of Role Regarding Object Method
                      IMPL_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Implementation Type  enumValues: C=BSP on Portal Page,P=Portal Page (Default),W=iView Without Portal Frame in Separate Window,T=Transaction (Not Included in Nav. Bar) (EP5 Only),S=BSP as External Service,E=External Service (Default),U=Transaction (Contained in Navigation Bar)'
                        enum:
                        - C
                        - P
                        - W
                        - T
                        - S
                        - E
                        - U
                      APPLICATION:
                        type: string
                        maxLength: 20
                        description: Application Scenario
                      BLVIEW:
                        type: string
                        maxLength: 10
                        description: View for UI Display
                      ID_PORTAL_SRV:
                        type: string
                        maxLength: 255
                        description: Portal Service ID (Page or External Service/BSP)
                      ID_PORTAL_CTX:
                        type: string
                        maxLength: 255
                        description: Portal Context PCD Locator
                FAULTY_RECORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      ROLE_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      OBJECTTYPE:
                        type: string
                        maxLength: 20
                        description: Object Type for Navigation
                      METHOD:
                        type: string
                        maxLength: 20
                        description: Method for Navigation
                      ROLE_PRIO:
                        type: integer
                        format: int64
                        description: Priority of Role Regarding Object Method
                      IMPL_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Implementation Type  enumValues: C=BSP on Portal Page,P=Portal Page (Default),W=iView Without Portal Frame in Separate Window,T=Transaction (Not Included in Nav. Bar) (EP5 Only),S=BSP as External Service,E=External Service (Default),U=Transaction (Contained in Navigation Bar)'
                        enum:
                        - C
                        - P
                        - W
                        - T
                        - S
                        - E
                        - U
                      APPLICATION:
                        type: string
                        maxLength: 20
                        description: Application Scenario
                      BLVIEW:
                        type: string
                        maxLength: 10
                        description: View for UI Display
                      ID_PORTAL_SRV:
                        type: string
                        maxLength: 255
                        description: Portal Service ID (Page or External Service/BSP)
                      ID_PORTAL_CTX:
                        type: string
                        maxLength: 255
                        description: Portal Context PCD Locator
                SUCCEEDED_RECORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      ROLE_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      OBJECTTYPE:
                        type: string
                        maxLength: 20
                        description: Object Type for Navigation
                      METHOD:
                        type: string
                        maxLength: 20
                        description: Method for Navigation
                      ROLE_PRIO:
                        type: integer
                        format: int64
                        description: Priority of Role Regarding Object Method
                      IMPL_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Implementation Type  enumValues: C=BSP on Portal Page,P=Portal Page (Default),W=iView Without Portal Frame in Separate Window,T=Transaction (Not Included in Nav. Bar) (EP5 Only),S=BSP as External Service,E=External Service (Default),U=Transaction (Contained in Navigation Bar)'
                        enum:
                        - C
                        - P
                        - W
                        - T
                        - S
                        - E
                        - U
                      APPLICATION:
                        type: string
                        maxLength: 20
                        description: Application Scenario
                      BLVIEW:
                        type: string
                        maxLength: 10
                        description: View for UI Display
                      ID_PORTAL_SRV:
                        type: string
                        maxLength: 255
                        description: Portal Service ID (Page or External Service/BSP)
                      ID_PORTAL_CTX:
                        type: string
                        maxLength: 255
                        description: Portal Context PCD Locator
              required:
              - SOURCE_SINGLE_ROLE
              - TARGET_SINGLE_ROLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DB_FAULTY_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        ROLE_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        OBJECTTYPE:
                          type: string
                          maxLength: 20
                          description: Object Type for Navigation
                        METHOD:
                          type: string
                          maxLength: 20
                          description: Method for Navigation
                        ROLE_PRIO:
                          type: integer
                          format: int64
                          description: Priority of Role Regarding Object Method
                        IMPL_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Implementation Type  enumValues: C=BSP on Portal Page,P=Portal Page (Default),W=iView Without Portal Frame in Separate Window,T=Transaction (Not Included in Nav. Bar) (EP5 Only),S=BSP as External Service,E=External Service (Default),U=Transaction (Contained in Navigation Bar)'
                          enum:
                          - C
                          - P
                          - W
                          - T
                          - S
                          - E
                          - U
                        APPLICATION:
                          type: string
                          maxLength: 20
                          description: Application Scenario
                        BLVIEW:
                          type: string
                          maxLength: 10
                          description: View for UI Display
                        ID_PORTAL_SRV:
                          type: string
                          maxLength: 255
                          description: Portal Service ID (Page or External Service/BSP)
                        ID_PORTAL_CTX:
                          type: string
                          maxLength: 255
                          description: Portal Context PCD Locator
                  FAULTY_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        ROLE_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        OBJECTTYPE:
                          type: string
                          maxLength: 20
                          description: Object Type for Navigation
                        METHOD:
                          type: string
                          maxLength: 20
                          description: Method for Navigation
                        ROLE_PRIO:
                          type: integer
                          format: int64
                          description: Priority of Role Regarding Object Method
                        IMPL_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Implementation Type  enumValues: C=BSP on Portal Page,P=Portal Page (Default),W=iView Without Portal Frame in Separate Window,T=Transaction (Not Included in Nav. Bar) (EP5 Only),S=BSP as External Service,E=External Service (Default),U=Transaction (Contained in Navigation Bar)'
                          enum:
                          - C
                          - P
                          - W
                          - T
                          - S
                          - E
                          - U
                        APPLICATION:
                          type: string
                          maxLength: 20
                          description: Application Scenario
                        BLVIEW:
                          type: string
                          maxLength: 10
                          description: View for UI Display
                        ID_PORTAL_SRV:
                          type: string
                          maxLength: 255
                          description: Portal Service ID (Page or External Service/BSP)
                        ID_PORTAL_CTX:
                          type: string
                          maxLength: 255
                          description: Portal Context PCD Locator
                  SUCCEEDED_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        ROLE_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        OBJECTTYPE:
                          type: string
                          maxLength: 20
                          description: Object Type for Navigation
                        METHOD:
                          type: string
                          maxLength: 20
                          description: Method for Navigation
                        ROLE_PRIO:
                          type: integer
                          format: int64
                          description: Priority of Role Regarding Object Method
                        IMPL_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Implementation Type  enumValues: C=BSP on Portal Page,P=Portal Page (Default),W=iView Without Portal Frame in Separate Window,T=Transaction (Not Included in Nav. Bar) (EP5 Only),S=BSP as External Service,E=External Service (Default),U=Transaction (Contained in Navigation Bar)'
                          enum:
                          - C
                          - P
                          - W
                          - T
                          - S
                          - E
                          - U
                        APPLICATION:
                          type: string
                          maxLength: 20
                          description: Application Scenario
                        BLVIEW:
                          type: string
                          maxLength: 10
                          description: View for UI Display
                        ID_PORTAL_SRV:
                          type: string
                          maxLength: 255
                          description: Portal Service ID (Page or External Service/BSP)
                        ID_PORTAL_CTX:
                          type: string
                          maxLength: 255
                          description: Portal Context PCD Locator
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
