AnsweredAssumed Answered

Questions about UDS API

Question asked by tro000001 on May 1, 2014
Latest reply on Jun 1, 2016 by phuongthanhvo

Hello,

 

I'm working as a consultant on a project where we use the UDS API.

I'm working with C# .NET and visual studio.

 

I have downloaded the xml schemas found here:

https://developer.cisco.com/site/collaboration/management/user-data-services/develop-and-test/schemas/

 

The problem is that the response we get from the server does not seem to match the schema.

 

Here is an example xml response when calling user get...

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<user version="9.1.1" uri="https://xxx:8443/cucm-uds/user/xxx">

  <userName>xxx</userName>

  <firstName>xxx</firstName>

  <lastName>xxx</lastName>

  <middleName/>

  <nickName/>

  <phoneNumber>xxx</phoneNumber>

  <homeNumber>xxx</homeNumber>

  <mobileNumber>xxx</mobileNumber>

  <mobileConnect>true</mobileConnect>

  <userLocale>xxx</userLocale>

  <email>xxx</email>

  <msUri>xxx</msUri>

  <department>xxx</department>

  <manager>xxx</manager>

  <title>xxx</title>

  <pager>xxx</pager>

  <useLdapAuth>true</useLdapAuth>

  <directoryUri exist="true">xxx</directoryUri>

  <callerFilters uri="https://xxx:8443/cucm-uds/user/xxx/callerFilters"/>

  <contactAssociations uri="https://10.159.1.40:8443/cucm-uds/user/xxx/contactAssociations"/>

  <contacts uri="https://xxx:8443/cucm-uds/user/xxx/contacts"/>

  <credentials uri="https://xxx:8443/cucm-uds/user/xxx/credentials"/>

  <devices uri="https://xxx:8443/cucm-uds/user/xxx/devices"/>

  <notifications uri="https://xxx:8443/cucm-uds/user/xxx/notifications"/>

  <numbers uri="https://xxx:8443/cucm-uds/user/xxx/numbers"/>

  <phoneLanguage uri="https://xxx:8443/cucm-uds/user/xxx/phoneLanguage"/>

  <profiles uri="https://xxx:8443/cucm-uds/user/xxx/profiles"/>

  <remoteDestinations uri="https://xxx:8443/cucm-uds/user/xxx/remoteDestinations"/>

</user>

 

It does not seem to match: "user.get.xsd"

 

Is it a version conflict ? is there a way to get the corresponding schema version to the current installation on the server ?

 

Best Regards.

 

Torben Rohde

Outcomes