Cisco Prime 2.2 API maxResults parameter

Dear Mr Cisco,
Concerning the maxResults parameter in an URL, is it possible to surpass 100, or is this the absolute maximum ?
Using the API, we would like to extract all clients (wired & wireless), there are 50000+ clients, so this results in a lot of queries !!
So, is it possible to surpass 100 or is it possible to change a certain parameter so it could be possible to do queries with more than 100 entries ?
Thanks in advance,
Lieven Stubbe
Belgian railways

You can thin provision. Trying to change the overall profile though will most likely result in issues sooner or later. When you run out of disk space it will fail in ungraceful ways.

Similar Messages

  • Cisco Prime Infrastructure 2.2 Rest API XML does not add LF

    I am using several scripts that dig the data from XML files created through Cisco Prime Infrastructure Rest API. It worked fine until 2.1. Now, with 2.2, seems Cisco stopped adding LF to each line and everything is 'one' line.
    Here is an example with 2.1, there is a LF to the end of each line:
    ?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <queryResponse type="AccessPointDetails" rootUrl="https://server/webacs/api/v1/data" requestUrl="https://server/webacs/api/v1/data/AccessPointDetails?type=contains(UnifiedAp)&amp;.full=true&amp;.maxResults=1000&amp;.firstResult=0" responseType="listEntityInstances" count="715" first="0" last="714">
        <entity url="https://server/webacs/api/v1/data/AccessPointDetails/1505569" type="AccessPointDetails" dtoType="accessPointDetailsDTO">
            <accessPointDetailsDTO id="1505569" displayName="1505569">
                <adminStatus>ENABLE</adminStatus>
                <apType>AP1240</apType>
                <cdpNeighbors>
                    <cdpNeighbor>
                        <capabilities>Switch IGMP </capabilities>
                        <duplex>Half Duplex</duplex>
                        <interfaceSpeed>100Mbps</interfaceSpeed>
                        <localPort>2</localPort>
                        <neighborIpAddress>10.1.1.1</neighborIpAddress>
                        <neighborName>switch</neighborName>
                        <neighborPort>FastEthernet0/1</neighborPort>
                        <platform>cisco WS-C3560-8PC</platform>
                    </cdpNeighbor>
    Now, with 2.2, there is not LF anywhere:
    ?xml version="1.0" encoding="UTF-8" standalone="yes"?><queryResponse type="AccessPointDetails" rootUrl="https://server/webacs/api/v1/data" requestUrl="https://server/webacs/api/v1/data/AccessPointDetails?type=contains(UnifiedAp&amp;.full=true&amp;.maxResults=1000&amp;.firstResult=0" responseType="listEntityInstances" count="715" first="0" last="714">
    <entity url="https://server/webacs/api/v1/data/AccessPointDetails/1505569" type="AccessPointDetails" dtoType="accessPointDetailsDTO">
    <accessPointDetailsDTO id="1505569" displayName="1505569"><adminStatus>ENABLE</adminStatus><apType>AP1240</apType><cdpNeighbors><cdpNeighbor>
    Does anyone know, is this intentional or a mistake? Or is there a way how I control this?
    I am reading on-line CPI Rest API docs, but seems cannot find anything.
    Thanks,
    Vlad

    PI 2.0 is in Beta mode for testing in closed group already. However it may still take some time to get released on CCO for FCS.
    I think it is expected to be released between aug-sep. BU has also started working on CPI 2.1, which you can see test uploads on CCO.
    For what does it have for customers?
    > As Cisco have a vision of one network Management software for both wired and wireless infrastructure, which started getting real partially with Cisco PI.
    As WCS got evolved to NCS and eventually to Cisco Prime Infrastructure, but it doesnt yet have full Management capability for wired infra., which is there with LMS.
    With CPI 2.x Cisco plans to blend entire LMS and WCS features together.
    -Thanks

  • Prime 2.2 API och curl

    Hi!
    I have a question regarding Cisco prime and The api.. How can I extract the information under “Inventory, Network devices, switches and hubs” with Curl..
    I have been successful in some curl questions, but need help with how to extract data under “switches and hubs”
    Example of curl cmd that works for me…
    curl -k -u user:password https://192.168.62.25/webacs/api/v1/data/
    Regards
    Lasse

    Hi Philipp,
    What is the get you are doing to have "all the clients we are seeing on our network" ?
    Thanks.

  • Cisco Prime 2.1 problem with API/Client

    Hi,
    im having a problem with the API output i get from Cisco Prime Infrastructure. The URL im trying to GET info from is:
    https://<URL>/webacs/api/v1/data/Clients
    The output shows that im missing data from a specific ID. Example:
    {"@url":"https:\/\/prime.lmv.lm.se\/webacs\/api\/v1\/data\/Clients\/1280389614","@type":"Clients","$":"1280389614"}
    Then i try to GET the info regarding this ID: https://<URL>/webacs/api/v1/data/Clients/1280389614
    {"errorDocument":{"httpResponseCode":500,"httpMethod":"GET","message":"No such entity as Clients \/ 1280389614.-PRS-101","id":"presentation.PRS-101","uriPath":"data\/Clients\/1280389614","queryParams":"{}"}}
    So something is wrong here, so when i add ".full=true" parameter i get the following error as it cannot show the client data:
    https://<URL>/webacs/api/v1/data/Clients.json?.full=true&.firstResult=1000&.maxResults=1000
    {"errorDocument":{"httpResponseCode":500,"httpMethod":"GET","message":"Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'; nested exception is org.hibernate.HibernateException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'","exception":"org.springframework.orm.hibernate3.HibernateSystemException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'; nested exception is org.hibernate.HibernateException: Exception while invoking valueOf method 'getEnum' of enumeration class 'class com.cisco.ncs.nbi.client.ClientProtocolEnum'","uriPath":"data\/Clients","queryParams":"{.full=[true], .firstResult=[1000], .maxResults=[1000]}"}}
    Any idea how to solve this issue, how can i find the client that is causing this problem? In my script im reading all the clients in the network to a third party application. But right now its hard to get this output in a smart way. It might be resolved in 2.2, but it feels like the data i corrupt in some way so i doubt that this error is related to the version?
    Best Regards // Mattias Andersson

    Hi,
    I have also run into this problem on two different Prime 2.1-systems when trying to get all Client-data available. I haven't figured out a way to fix it more than making small calls (.maxResults=100) then trying to pin-point and skip the ID giving the error. I've been using 2.2 for a while now but haven't tested the Client-API that much yet. I'll experiment some more on it and see if I can recreate the problem to see if it's related to the version.

  • Cisco Prime Infrastructure API

    Hello,
    does Cisco PI provide an API to access its data? We have a list of ip addresses with correct timestamps and i want to know which user had the ip address in the corresponding timeframe. Is there any way to accomplish this?
    thanks for any response
    regards
    -andreas

    yes,you can access API documentation https:///webacs/api/v1  for detailed information.

  • Cisco Prime Collaboration Deployment with BE7K and VMWare license

    Hello, I am looking for some help trying to figure out if Cisco Prime Collaboration Deployment can be used to upgrade our existing 7.1.5 cluster.  From what I have read there is a API problem with the VMWare license that comes with the BE7K.  But after reviewing the BOM/quote from my VAR it lists the foundation license which based of the release notes is supported.
    UCSS-U-VMW-FND-5-1
    UCSS Cisco UC Virt. Foundation  Five Year - 1 server
    Has anybody out there had expericne with PCD and BE7K'?
    This is from release notes of PCD
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/rel_notes/10_5_1/CUCM_BK_P139675A_00_pcd-rns-1051/CUCM_BK_P139675A_00_pcd-rns-1051_chapter_010.html
    Search for “Business Edition 7000” and it will state it is not supported with PCD.  It is because the licenses that the BE 6k and 7K are shipped with don’t enable certain VMware APIs that PCD needs.
    “Virtualization Software License Compatibility
    Cisco Prime Collaboration Deployment is not compatible with all license types of VMware vSphere ESXi, as some licenses do not enable required VMware APIs.
    The following are compatible with Cisco Prime Collaboration Deployment:
    Cisco UC Virtualization Foundation (appears as "Foundation Edition" in vSphere Client)
    VMware vSphere Standard Edition, Enterprise Edition, or Enterprise Plus Edition
    Evaluation mode license
    The following are not compatible with Cisco Prime Collaboration Deployment:
    Cisco UC Virtualization Hypervisor (appears as "Hypervisor Edition" in vSphere Client)-preloaded on Cisco Business Edition 6000 and Business Edition 7000
    VMware vSphere Hypervisor Edition
    Any help would be appreacted.
    JP

    Thanks Jamie for repsonding, we haven't made any purchase's yet but I wanted to ensure we are purchasing a solution that won't lead to a lot of frustration.  We only have 1000 phones so we are pretty small and the BE7K seems to be a good fit and value.
    Cheers,

  • Cisco prime 2.1 / 2.2 support for Cisco ise 1.3 ?

    Hi, I just tried to connect cisco PI 2.1 to cisco ISE 1.3, but fails.
    I read the release Notes, only ISE 1.2 ist supported.
    But I was wondering that the ssl handshake fails (I have done a packet capture). 
    So PI 2.1 has not tried to connect to ise 1.3 via api, because of the connection fails at the ssl handshake stage.
    Anyway, does anybody know if ISE 1.3 will be supported with PI 2.2 or a version of PI 2.1.x ?

    Why doesn't the REST API communication in Prime 2.1 (2.1.0.0.87) support TLS? The platform itself seem to be able to handle TLS-DHE-RSA with AES-128-CBC-SHA. Why is it trying to use SSLv2 ?
    These protocol is incompatible and very much outdated: http://en.wikipedia.org/wiki/Transport_Layer_Security#SSL_1.0.2C_2.0_and_3.0
    Can this behavour be reconfigured in CLI or at least be allowed in ISE 1.3 to make a workaround until a working patch or upgrade is done? Could or should adding the Cisco Prime server as managed node in ISE circumvent the incompability?

  • Cisco Prime Collaboration Usage

    Hi,
    Many Asia costumers complain it is very difficult to maintain the Cisco Collaboration system.
    So we are considering the Cisco Prime Collaboration system, see which can help or not.
    I have few questions about the Cisco Prime Collaboration Provisioning (CPCP) for SME customer / Cisco Prime Collaboration Assurance (CPCA) for Big customer.
    1. CPCP Standard version is free? one cluster? no adv. features? What is the adv. features on adv. versions?
    2. I see the CPCP will deploy the new configurations into the CM clusters, that is fine on the new CM, but the existing CM will access the CPCP push into new configurations? Any impacts will happen on delopying the new CPCP into the existing CM?
    3. CPCA lic. counted by every end devices, that is really expensive. Any cost effective methods to deploy the CPCA?
    4. If we want to monitor the TP endpoints or DX video phones, I have to plug the lan to the 37XX or above switches? 29XX cannot? 
    Medianet-Capable Devices
    Feature
    Routers
    Switches
    Cisco IOS®Software Release Supported
    Mediatrace 1.0
    Cisco 1800, 2800, 2900, 3800, 3900 Integrated Services Routers
    Cisco Catalyst® 3560E, Catalyst 3560X, 
    Catalyst 3750, 
    Catalyst 3750-Metro (only 12.2SE),
    Catalyst 3750E, and
    Catalyst 3750X
    12.2SE
    15.0SE
    15.1T
    15.1M
    IP service-level agreement (SLA) video operation
    Routers will be supported soon. Please check the feature navigator as mentioned below
    Cisco Catalyst 3560E, Catalyst 3560X, Catalyst 3750, Catalyst 3750E, and Catalyst 3750X
    12.2SE
    15.0SE

    Hi,
    Been out of the office but see that no one has yet responded to this. I can answer some of the questions.
    1. CPCP Standard version is free?
    CUCM 10+ users are entitled to use the Standard version.
     one cluster?
    Yes
     no adv. features?
    Not missing a lot, especially for smaller one cluster networks.
    What is the adv. features on adv. versions?
    The Standard and Advanced versions are pretty much the same except for the following:
    Advanced can handle multi-cluster networks
    Advanced allows administrator delegation. This means that different administrators can be assigned to different groups of end-users.
    Standard does not have advanced workflows (Approver, MAC assigner, Shipper and Receiver).
    Advanced provides a northbound API for integration to another network management application, HR system or custom UI.
    2. I see the CPCP will deploy the new configurations into the CM clusters, that is fine on the new CM, but the existing CM will access the CPCP push into new configurations?
    CPCP can push configurations to new or existing clusters. Changes made directly on a cluster will be pulled back to PCP so they stay in sync.
    Any impacts will happen on deploying the new CPCP into the existing CM?
    CPCP was designed to add to a UC network at any time. When added to an existing network, CPCP can use it's reverse sync process to import users and CM configurations.
    3. CPCA lic. counted by every end devices, that is really expensive.
    List price may appear really expensive but you need to work with a sales person to determine the actual price. There is also the option to have an enterprise license agreement which might be more cost effective if this is for a Big Customer.
    Any cost effective methods to deploy the CPCA?
    ELA as mentioned above, or use the free standard version.  It the standard version provides enough functionality, it might be an option.  Cost effective may be hard to define.  If the product significantly lowers the cost to operate the network (faster fault resolution, less administrators, usage reports, resource utilization savings, etc.) it would be cost effective.  I don't know how big the Big Customer is or what/how many endpoints/devices/apps are in the network so I cannot provide any better advice.
    I am not sure how to answer the last question so will leave it for a TME or other expert on CPCA.  It looks like a medianet question. CPCA is not completely dependent on medianet to monitor TP environments and can provide some call trace and performance without it.  This is best answered by someone on the Assurance PM/TME team.
    Regards

  • Cisco Prime Infrastructure 2.1 Not generating reports

    Dears,
    I am new to Cisco Prime. I installed Cisco Prime Infrastructure 2.1 for 60-days evaluation and i added routers, switches and APs. I configured SNMP community and telnet credentials. I can see clients on Dashboard, but when i go to reports and generate them for last hour, it displays "None Detected".
    Please advise.

    Programmatic access to PI's data is via the REST API.
    Check the help menu on your PI server to see documentation regarding the supported tables and fields that can be queried via that method.

  • Cisco Prime Infra 2.2 + Third Party Inventory and configuration backup

    Hi All,
     I am having a doubt related to Cisco prime solution capability to do a discovery and config backup for non-cisco devices. 
    Requirement is to use Cisco prime to do a discovery, inventory and take configuration backup for non-cisco devices. Is it something possible out of the box ?
    If not possible out of the box, is there any method to do that using any custom API ?
    Can we monitor 3rd party( Non-cisco) devices using Cisco Prime 2.2 ?
    Skr

    Hi,
    Below is supported-device list, check if your device is listed there.
    http://www.cisco.com/c/en/us/support/cloud-systems-management/prime-infrastructure/products-device-support-tables-list.html
    - Ashok
    Please rate the post or mark as correct answer as it will help others looking for similar information

  • Cisco PI 2.0 API - GET Device Interface Description

    Hi,
    we are using Cisco Prime Infrastructure 2.0 as our central device discovery and inventory for all network equipment. Then we export the database to multiple other systems, primary through the REST API. My question is if anyone have used the PI API to retrive a device interface descriptions?
    Looking at the documentation at https://[prime IP]/webacs/api/v1/data/InventoryDetails?_docs you'll see under the value PhysicalPort[] a description field, but it seems like it only get the port name i.e. FastEthernet1/1. Basically the same as the Name field.
    Do anyone know how to get the description on an interface through the Cisco PI 2.0 API?
    Cheers // Mattias

    Because you would think that GET InventoryDetails -> PhysicalPort -> Description would be it... but no, it shows exactly the same thing as "name"!?
    PhysicalPort[]
    physicalPort
    This nested field provides information about the physical ports associated with this device.
    Type
    Attribute Name
    Description
    String
    description
    The port description (i.e. Fast Ethernet Port, etc.).
    long
    deviceId
    An internal id to recognize the device, which is the id of the associated management network element associated with this device.
    long
    equipmentId
    The ID of the equipment object that this port is contained in.
    String
    name
    The name of the port.
    String
    residingModule
    The module that contains the port.
    String
    vendorEquipmentType
    The vendor equipment type.

  • Create a user on Cisco Prime Infrastructure 1.3 with a script ?

    Hello, we have a visiting software that does not support Cisco Prime configuration.
    I was thinking that maybe I can write a script or something like that to create a Wireless User Account when a visitor signs in at our reception.
    Grabbing the login information from the database and then creating the account on the Cisco Prime.
    The script will run on another computer so a VBScript or something like that would be best.
    Is this possible ?
    I have googled for hours now and have found the API site but cannot make sense of it.
    I know how to get the information but inserting it in the Cisco Prime is what I am having trouble with.
    Could anyone here help me with an example or steer me in the right direction to learn how to do this ?

    Hi Hansruedi,
    Thanks you for your help and your time.
    I followed your recomandation until the fourth step.
    But after this step,  I lost the web page connection.
    I check nsc status but all is running :
    NMS still stopped. NMS must be running to have an access by web page ?
    I restart Prime (by reload command) but nothing changed.
    Thanks

  • Cisco Prime Service Catalog Training Video: Tracking Orders in Order Management

    This video describes how to track, filter, sort, and copy service orders by using the Order Management module in Cisco Prime Service Catalog. 
    Click here to start the video, which opens in a separate tab or window. 
    Note: The video is Flash-based. 

    Let me add to this list a number of issues that seem to be widespread with respect to the sync engine:
    Sync engine does not recognize existing content on install of PSE7 if it's an upgrade from a previous version.  Changed photos get sync'd, but you have to make a change to everything to get it all picked up by the engine.
    Sync stalls regularly.  No indication is given to the user that sync is no longer progressing (double green arrows remain).  However, the sync process stops consuming CPU and stops communicating with API.PHOTOSHOP.COM (both verifyable using resource manager).
    Sync is extreemly slow.  The upload times are an order of magnitude longer than my available bandwidth would permit.  This appears to be due to the excessive handshaking necessary for each individual upload (no bulk transfer implemented).
    Not necessarily a bug, but the lack of status information about the sync progress is dismal.
    Let's hope the PSE7 team is as receptive to user help in troubleshooting as the PS.COM team turned out to be...

  • Cisco Prime Infrastructure 2.1 Custom Reports

    Hi, I need to generate a custom Guest User report from Cisco Prime Infrastructure 2.1. It needs to have a couple more fields added to the existing "Guest User Association" report.
    Is it possible to connect to the Cisco Prime Infrastructure Database and Generate custom reports? Is there any documentation on this?
    Thanks

    Programmatic access to PI's data is via the REST API.
    Check the help menu on your PI server to see documentation regarding the supported tables and fields that can be queried via that method.

  • Cisco Prime 2.1 Third Part Integration

    Does anybody already has integrated Cisco Prime with Third party system through Sockets or CORBA ?

    Those aren't supported methods. The REST API is the recommended method to integrate external tools. 

Maybe you are looking for

  • I cannot download the app - it says I need to download on a computer which i am doing

    I cannot download the app - it says I need to download on a computer which i am doing.  What else do I need to do?

  • Adding more than one custom binding to the same page

    Hi guys, JHeadstart 11.1.1.3.35 How can I add two custom bindings to the same page ? I have 2 graphs on the same page (in tabbed regions). My FORM_GRAPH template for the first one is #macro (CUSTOM_BINDING1)     <graph IterBinding="ActiveVisitsIterat

  • White Balance Failure, Pentax K10D

    I'm a very experienced computer user/photographer with a very simple, but crippling Aperture problem: White balance. . .doesn't. Using the eye-dropper, either on a spot I'd like to neutralize, or on a known gray target, produces a white balance that'

  • SOAOrderBooking demo - no data on dashboards

    Hi, I'm trying to make the SOAOrderBooking demo works with BAM. I followed all the instructions in the readme files. But when I order an item and place the order, I get a bunch of exceptions in the OPMN log file. 07/08/03 17:56:07 calling http://loca

  • What are the stages of Time machine backup

    I often leave my Time Machine to back up and am never really sure where it is in the process. For example, where does "Indexing backup" come in the process? Is it almost done when it's indexing? I've seen many others have problems with this stage las