cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1389
Views
0
Helpful
3
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Florian Tiefenbrunner on 24-07-2013 08:16:00 AM
Hello,

i try to get the users  which can be imported with the following request url:
https://ccmip/vmrest/import/users/cucmbe

I allways get a message that there are no ImportUsers available:
<?xml version="1.0" encoding="UTF-8"
standalone="yes" ?> <ImportUserstotal="0" />

When i go into the CUC web administration an go to Import Users i have to select a connection:
Find End Users In... i can select the CCM which i configured as Phone System with an AXL Connection. When i select the CCM the system finds all users in CCM.

is the CUPI request incomplete? why does it return no users like the webui? maybe i need to add a request parameter to specify the CCM???

When I try to import a user i get a "NO CONTENT" result vom the json call.

Has anybody an idea?

Subject: RE: CUPI User Import
Replied by: Florian Tiefenbrunner on 26-07-2013 08:43:42 AM
Hello,

i found out that the query:
https://ccmip/vmrest/import/users/cucmbe

works with CUC 9.x but not with 8.x.

Now I want to import some users with the following queries (the body of the message contains the json paramters for pkid and dtmfaccessid and the alias):
1) https://ccmip/vmrest/import/users/ldap?templateAlias=voicemailusertemplate -> works fine
2) https://ccmip/vmrest/import/users/cucmbe?templateAlias=voicemailusertemplate -> i allways get an error "no importable user found with the specified objectid".

i get the objectid (pkid) from the enduser table in ccm database. which pkid is the right one?

Thanks for help.
Comments

Hi, 

 

while i tried to import LDAP users via API, it shows data exception error like "Enter Vaild Relay Email Address". please find below in detail,

 

NOTE: able to import user via GUI

 

API:

https://<ip>/vmrest/import/users/ldap?templateAlias=voicemailusertemplate

 

Payload:

<ImportUser>

<dtmfAccessId>12345</dtmfAccessId>

<pkid>624b7577-3844-8c3e-c664-7f79c150ef72</pkid>

</ImportUser>

 

OutputError:

<ErrorDetails>

   <errors>

      <code>DATA_EXCEPTION</code>

      <message>Enter Vaild Relay Email Address</message>

   </errors>

</ErrorDetails>

 

could you please help on that. thanks in advance.

 

Michael Stark
Level 7
Level 7

We are also experiencing this issue and have no opened a ticket for it with devnet.

Alex Stevenson
Cisco Employee
Cisco Employee

All,

 

I found a few known bugs regarding CUPI User Import. I think at least one may be relevant: 

 

Cisco Bug Search Tool: 'CUPI User Import' Results

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links