Collection of data through nsapi REST

Hi, I get to speed on the REST API documented in 'Cisco Service Portal Integration Guide '.  While working through some sample applications to get an idea of the things, I came across a problem go get a category by name.

The guide has this example for "class of service consumer Get by name:

http:// /RequestCenter/nsapi/definition/categories/name /.

Answer definition/categories? catalogType = offeringCatalog included this:

2

< B > services < /b > offers

The category name is "service offerings" and gives me fits.  I tried a few methods of encoding:

definition/categories/name/Service%20Offerings

Definition/categories/Name/%3Cb%3EService%20Offerings%3C%2Fb%3e

I find myself with HTTP/1.1 400 Bad request or HTTP/1.1 404 Not Found.

This exact demand will be may not be not required for us, but I need to master the API and do not understand how to connect a name such as documented.  Can I get help with this example?  Also, if I have met other issues or have any other questions, like I just keep using this discussion?  I am not sure of the policy.

---

Adding another example of similar problem.

---

The doc says that a service item may be retrieved by a name as follows:

http:// /RequestCenter/nsapi/serviceitem /.

I get HTTP/1.1 404 Not Found for this request:

http:// RequestCenter, nsapi, serviceitem, a6803a03-3c4d-db5b-8994-da383b9d8836

The name of the service element is an element of current service in the user interface:

My goal is to get the details of service point visible in the UI by using REST.

Thank you!

For the latter case, the Service point name is actually the name of the table as SiVirtualMachine.

Looking to Service item for the information, not individual points of service definition.

Tags: Cisco DataCenter

Similar Questions

  • How to start collecting data through digital triggering entry user GOLD

    Hello

    I have a vi with which I would like to collect data. It is configured to start to perceive when the start trigger is detected, which works perfectly, but I would also create a user can start the process of data collection by pressing a button instead of apply the trigger. I am at a loss on how to do it. I thought that the structure of the event would work well; However, the relaxation has no Boolean value I can associate it with. If that were the case, I could then perform a logical comparison between the trigger and the button to determine if the collection of data should begin.

    So, how can I represent a trigger activated as a Boolean value? Or is there a better way to reach my goal?

    I think I can make things clearer by expressing in linear programming that it is, I'm trying to achieve:

    If (trigger == true: button == true) {}

    begin to collect data

    }

    I have attached my vi where someone feels useful.

    Hello

    You're right, 6229 USB is certainly not compatible with NO-Sync. However, you should be able to do with the DAQmx driver functions.

    If I understand correctly, you want to generate a graph of your analog input and have this file based on a triggered event entry. A line using PFI will not work for this particular function, but you can create a task digital input instead and pass the thread to a D e/s instead of a PFI line line. You can then use for/no-write the analog input file using a case structure depending on the State of the digital line.

    I hope this helps! Let me know if you have any other questions.

  • Problem of collecting usage data with advanced BES application on the workspace

    Hi I have a bb10 application that collect usage data. It work propaply when it is on the store and my personal space of peripheral company.

    I used to get the use of the data as the sum of

    msm0, msm1, msm2, msm3, msm4, msm5, msm6, msm7 interfaces. And it was good.

    Now I push through BES application on my workspace. The problem is that I do not have access to these interface more.

    The interface only 3 I have now are lo0, lo2 and pflog

    LO2 give me the use of the data that consumed by the application running in the workspace, but it only gives me something on the use of the data consumed in personal space.

    How I verefied is playing a video in the workspace youyube, he loged in the use of the data. then I played the same video in personal space he connect anything.

    Any help please.

    I don't think that you can solve with a single application, as work and private space are separated.

  • Collection of data in an Excel worksheet

    I have created a form that I want to host on an internal Web site. Now, I want to collect the data entered in this form, and save this data on a spreadheet Excel. Is there anywhere you can find instructions on how to do it? Thank you.

    -Very well,.

    First step is to make sure that your form is set up to export xml data correctly. Things to check:

    -All the fields that will be exported data are given a specific name. You can do so by renaming everything in the hierarchy pane, or by setting the name on the binding tab.

    -Subforms correspond to a group of items in the exported xml file. For example, presence of a text field called 'Name' with a value of "Scott" within a subform called "People" would result in the following XML:

    Scott

    -You can control which fields/subforms will not appear in the exported data by setting the property of data binding on the subform/field None.

    -Setting data to none on a field binding will prevent her from appearing on the exported data.

    -Setting of the binding of data to none on a subform will exclude the subform (but not the child elements) to appear on the xml.

    For example, imagine I have a subform called 'FormInfo', a subform inside so-called "FileNumbers" and two text fields inside which called "FileNumber1" (with a value of 123) and "FileNumber2" (with a value of 345). Now if the data binding on all this is the default 'name to use (...)' value, the XML would look like this:

    123

    345

    using the above example, if you set the data binding on the text field 'FileNumber1' to zero, you would end up with:

    345

    Using the same example, if we define the data binding in the subform "FileNumbers' votes to zero, you would end up with:

    123

    345

    As you can see, the subform itself is no longer provided, and all child elements (such as text fields) appear under the next linked subform, in this case "FormInfo.

    If you have a repeating subform, the exported xml file will have as many copies of the repeated item that must include all the information. Using the example above, if we were doing the repeatable subform "FileNumbers", open the form and adds two instances of it, then export data (again... asuming all is using the default binding of "Name to use (...)") We would see the following:

    123

    345

    567

    789

    Therefore, I would wrap my repeating subforms in a subsorm container to group the section to repeat. The example above only illustate the usefulness of this, so consider a form that includes a section that collects a list of locations and a second section which includes a list of people. Without the container subforms, the XML would look like this:

    Scott

    usuggestaname

    123 Any Street

    456 Other Ave

    When you have a lot of repeating subforms, I think it's easy to get lost. As I mentioned above, I would like to wra repeatable sections in a subform, of everything. In the exaple above, I would wrap the subform "Person" repeated in a subform called 'People'... and I would wrap the 'Place' subform within a subform called "Locations". Would result it in the following:

    Scott

    usuggestaname

    123 Any Street

    456 Other Ave

    It is not mandatory, but I find that it helps to make it more readable, the XML.

    -All right, so the tips above should help you produce a form that has a well structured xml document to export. Another method would be to define the external xml schema, link the pdf file to this specification, and then map the fields in Livecycle. Some people prefer this method, but I find that it is felt more than work, whereas I just format my form well and do dictate the exported XML schema.

    The next step is to export the xml file.

    -In your version of Acrobat, you go to forms > manage form data > export. It invites you to provide a location name/save file for the xml file.

    -If I'm wrong, you cannot export the form data in Adobe Reader, even if you drive to extend your form. I could be wrong, and I don't have Reader on your computer in order to test this. If it is blocked, you can create a send by email button, drive to extend your form and use this feature to get the xml file. Send by email button will open your e-mail client defult with XML as an attachemtn. In Outlook, you can click right/save slot to catch it this xml file, without never send it. There is a possible workaround solution, if, in fact, you cannot export via the player. You need to test yourself using the player.

    From there, you can link the xml file to an Excel workbook. I do not have 2003, but this article goes into details about it. The simple version is that you add to your xml file the Workbok Excel via the XML Source pane (accessible through data > XML > XML Source). This will open a heirarchial on your xml schema view. From there, it's as simple as drag and droping a group xml in a white sheet. For example, my hierarchy of person/location form would look like:

    Formula 1

    -People

    -Nobody

    * Name

    -Locations

    -Map

    * Address

    If I wanted to have a spreadsheet listed all persons, I click and drag 'People' of this XML hierarchy and drop it on a place of the Bank. This action maps the fields. The final step is to start the import. This is done by clicking data > XML > Import.

    That should cover all your bases. If you have any specific questions, or if I have not answered something clearly, do not hesitate to respond to this and I'll try to get back to you as soon as POSSIBLE.

    In addition, the instructions to link to your XML file in excellent 2003 have been described of memory, as I haven't used in years 2003. The linked tutorial runs through everything in a lot of depth, but I'm fairly certain I got the basics right here.

    Good luck!

    -Scott

  • I can get the data of a hygrometer using the RS232 port with the following T75.2F:H17.0% using a RS232 data logger format. I was wondering if I can collect this data for later analysis using Dasylab. Any help is appreciated.

    I can collect data from a hygrometer in a text file using the RS232 port with the following T75.2F:H17.0% format, these data are collected using a data logger software. I was wondering if I can collect this data for later analysis using Dasylab. Any help is appreciated.

    The setting below causes the error. Change for the second selection, output values of all channels.

  • I am new to the ethernet communication using labview. I don't have any material. I have two laptop, I need to send and receive data through these 2 portable by using labview. Kindly help me on this.

    I am new to the ethernet communication using labview. I don't have any material. I have two laptop, I need to send and receive data through these 2 portable by using labview. Kindly help me on this.

    Dennis has already said: for a direct PC - PC connection, you need a cross over cable. If you connect through a router or a switch, you use a standard cable.

  • How to select the path of data through labview

    Hello gurus...
    I'm new user in labview. I want to read and write to the database via labivew. I have
    read and write the program. Now, I want to choose the way of storage of data through labview.
    I tried different ways, but I couldn't.
    First of all read and write the program I did via the UDL file path. Now, I want to choose ".mdb" file path directly.

    I do not know how...
    So if you know please help me...
    Thanks

    Concerning
    Joel M
    India

    Rather than trying to create an Access database, I have simply included a blank database with the installation.  Open, build the tables as required (as your example shows), and then copy (using the copy of the palette of Advanced File i/o) whenever you need it.  Your program will need to know where it is, therefore, store the connection information in a configuration file (as already mentioned) is a possibility.

    Here's how to use a connection string to open a database:

  • PS_Scheduler agent does not collect not data in Foglight 5.6.4

    Hi all

    We are schedular areas of NT surveillance for Peoplesoft applications. For this, we Monitor PS_Sched agent and given necessary properties in it and created PS_Schedular and PS_SchedServer agents to monitor instructions SQL and use resources.

    We are facing some problems in PS_Schedular agent because it collects no data and throwing an error like "there is no way the home of Peoplesoft.

    Please suggest some troubleshooting steps to resolve this problem...

    Thank you best regards &,.

    Guenoun

    This error has to do with the database connection setting is the PS_Scheduler agent properties.  Check the settings and make sure that the settings are correct.  Don't know what DB platform this PS environment use, but make sure that the settings are correct by accessing the Agent status-> and change the properties of the agent for DB connection settings.

    The f

  • What is the procedure how to make my system image backup and data through Windows NAS Server?

    I work the iMac with bootcamp for Windows 7 - Home Premium.

    I want to return to the system image and data etc. of the 'Windows Back up and Restore' to my Synology NAS (network attached storage). When I do the setting changes, I could not find the option to connect to the NAS, but have only the offer to connect to the external hard drive.

    (1) the 'Windows Back up and Restore' allows to connect to the NAS for the back of my files, in particular for the iamge system? If not, any other method to make the back upward, especially for the system image?

    (2) what is the procedure how to make my system image backup and data through Windows NAS Server?

    Original title: save the Windows image

    Backup to a network location is not supported by Windows 7 Home Premium. Do you need Windows 7 Professional or ultimate edition.

    http://Windows.Microsoft.com/en-GB/Windows7/where-should-i-save-my-backup

  • Collection of data warehouses in the Script of commissioning

    Hi all

    First of all, I want to say thank you for all the help provided in these communities.  It has been very valuable in recent years.

    I had the opportunity to work on a configuration script treated for over a week now and have got almost ready for release but got stuck on the type of a basic element - collection of data warehouses.

    The idea is that we can use this to launch several environments identical demand - ripe for automation!

    We get the number of machines required is in $clcount, and $dslist can be equal to something like this...

    NameFreeSpaceGBCapacityGB
    SAN-ds-33,399.115,119.75
    SAN-ds-41,275.265,119.75
    SAN-ds-2661.8135,119.75
    SAN-ds-5292.3425,119.75
    SAN-ds-8273.2045,119.75

    My method works as long as the number of machines is less than the number of available data warehouses, but fails if the number of machines exceeds available data warehouses.

    $resources = Get-Cluster "Compute 1"
    $OSSpec = Get-OSCustomizationSpec "Base 2012 R2"
    $dslist = get-datastore | where {$_.Name -match "SAN" -and $_.FreeSpaceGB -gt 200} | Sort FreeSpaceGB -Descending
    $folder = Get-Folder "Lab 2"
    $clcount = "17"
    $envn = "Lab2-"
    $OSSpec = $OSSpec | New-OSCustomizationSpec -Name Temp-Spec -Type NonPersistent -Confirm:$false
    foreach ($num in 1..$clcount){
        $suffix = "{0:D2}" -f $num
        $datastore = $dslist[$num-1]
        $OSSpec = $OSSpec | Set-OSCustomizationSpec -NamingScheme fixed -NamingPrefix "APPCL$suffix"
        New-VM -Name $envn"APPCL"$suffix -Template $template -OSCustomizationSpec $OSSpec -Location $folder -ResourcePool $resources -Datastore $datastore
    }
    ##End build Client Machines
    $OSSpec | Remove-OSCustomizationSpec -Confirm:$false
    
    

    I know it would be easy to solve with the clusters and SDR data store, but I believe that would always choose the store of data with the most free space and you can see our environment could be a little unbalanced, so I am trying to build in a little more intelligence in the distribution of these machines in data warehouses.

    Any help or pointers in the right direction would be greatly appreciated!

    Use % (remainder of division) to transform $num into something that will be less than the size of option:

    $datastore = $dslist [$num % $dslist.count]

    Then change the ascending sort.

  • Access the views Where the access to the underlying data, through a role

    I have a user (say User1) who granted select access to motherlode via a role table

    User1 has a bunch of useful views created I want User2 to have access to the. User2 should have access only to these points of view, not to the underlying table.

    User1 can grant access to his point of view because it has no direct access granted to motherlode tables.

    I managed, based on a technique that I have for the most part, but do not entirely understand, give User2 access to data through a function. The solution is below.

    My general question is: y at - it an easier way (other than the grant direct access to the motherlode User1 tables)?

    My question is: the definition is possible shorter somehow. I know I can automate the production of the code for some of the statements using metadata, but, for example, is it possible to base the declaration of type (t_p5) on the existing view? (I have about 15 views I need to provide access)

    Solution is, where v_p5 is the original view:

    User 1:

    CREATE or replace type t_p5 as an object

    (< columns and data types of v_p5 >

    )  ;

    CREATE or REPLACE TYPE t_p5_tab AS TABLE OF THE t_p5;

    FUNCTION to CREATE or REPLACE f_provide_p5 RETURN t_p5_tab

    PIPELINED IS

    l_cur SYS_REFCURSOR;

    l_rec v_p5% rowtype;

    BEGIN

    L_cur OPEN FOR ' SELECT * FROM v_p5';

    LOOP

    EXTRACTION l_cur

    IN l_rec;

    EXIT WHEN l_cur % NOTFOUND;

    GUIDELINE (t_p5 (area = > l_rec.region))

    , district_name = > l_rec.district_name

    , current_month = > l_rec.current_month

    , p_current = > l_rec.p_current

    , previous_month = > l_rec.previous_month

    , p_prev = > l_rec.p_prev

    , diffp = > l_rec.diffp

    , diff_perc = > l_rec.diff_perc

    , previous_year = > l_rec.previous_year

    , p_year = > l_rec.p_year

    , diffy = > l_rec.diffy

    , perc_diffy = > l_rec.perc_diffy

    ));

    END LOOP;

    RETURN;

    EXCEPTION

    WHILE OTHERS THEN

    raise_application_error (-20000, SQLERRM |) Chr (10) | l_sql);

    END;

    And user2:

    VIEW to CREATE or REPLACE v_p5 AS

    SELECT * FROM TABLE (User1.f_provide_p5);

    I can then do a select * from v_p5 in User2 and return the view data.

    Thank you.

    Hello

    Don't bother with the pipeline and PL/SQL functions.  Everything will be easier, more effective and more reliable if you use only views.

    Privileges through roles do not create a view on a table in another schema.

    If user1 can create a view on motherlode.table_x, then user1 should have direct privileges already (or user1 must have a privilege of system as SELECT ANY TABLE).

    User1 needs the same privileges WITH GRANT OPTION in order to grant privileges on his point of view to User2.  To do this, have motherlode grant privileges to user1, like this:

    GRANT SELECT ON table_x to User1 WITH GRANT OPTION;

    GRANT SELECT ON table_y to User1 WITH GRANT OPTION;

    Repeat for each table that user1 uses in the views.

    Then user1 will be able to grant privileges on views to User2 like this:

    GRANT SELECT ON my_view_01 TO user2.

    This will NOT allow user2 directly see the motherlode.table_x.  User1 will have the power to give privileges to User2, but simply grant privileges on the view does not give User2 these privileges.

    If you don't want User1 to have this power, then create the views in the motherlode scheme, or create a new schema only for the putpose to own these views.

  • Loads of parallel data through SQL connect and replace existing data

    I'm doing a load of multiple data through SQL Connect using the following statement.  Just try to put in place a .bat file to automate the process but not sure that whenever it executes this statement adds data to existing or replaces the data? I tried to write an override for this but it works for instructions which contain the import section.

    Import of database data App.DB connect as username identified by password

    with the help of several rules_file, rul1, rul2, rul3

    load_buffer_block starting with buffer_id 10 on error write to 'C:\\dataload.err ';

    We can add spec commit buffer such as "replace all data ', 'create group', 'Add' to this import statement? The default declaration overrides the value whenever the data is loaded?

    Thanks in advance!

    you have an option in the rules file "Overwrite out of values."

    rulefile > setting dataload > loading values

  • I have a new macbook pro and want to install CS3 on it. I followed all the download links. Found my serial number for my Adobe account and get up to date through the whole &amp; get this message ' put in place has encountered an error and cannot continue,

    I have a new macbook pro and want to install CS3 on it. I followed all the download links. Found my serial number for my Adobe account and get up to date through the whole & get this message ' put in place has encountered an error and cannot continue, contact adobe customer support for assistance ' all I want is for CS3 to install on my new computer so I can continue to work and do not have to spend hours working it help Please. CC is not an option, because I work in a country with no reliable unlimited internet access

    New computer means new problems of system operating with the OLD software means

    Fix possible Mac 10.10.4 (at least for Premiere Pro) https://forums.adobe.com/thread/1891705

    10.10 mac. ? sometimes has problems, often related to the 'default' permissions that need to be changed

    -solution https://forums.adobe.com/thread/1689788 of a person

  • Create table with several Collections of data control

    Hello

    I have a requirement about to display data in a table. It shows simple, but certain columns in the table are within a collection, and the others are in another collection. I read this chapter Creation of ADF Databound Tables - 11 g Release 1 (11.1.1.7.0), and she explains to create the table with a collection.

    I have no knowledge on the model, I know just as control data, so what should I do? :

    -Ask for the template designer to redraw the control of data to include a collection with all the data?

    -Try to work with the actual data control? If so, how can I create the table several Collections of data control?

    Plese let me know if there is another solution. I work with JDeveloper 11.1.1.7.

    Thank you!

    AAPDL

    Hello

    You can have a managed bean that e... g exposes an ArrayList of objects. This can then binds to the value property of the table. If the object sets the information of table row combination that you get multiple iterators (collections), then the table will display the joined data.

    Frank

  • Collect data through HTML form using the Web content viewer?

    I have a folio that is perceived through the content viewer Adobe, built with Digital Publishing Suite. I have a registration form where I'll need to collect responses from people and their contact information. I have a HTML file that I placed in InDesign, and rail shape. But how can we content submitted through sending form through my email? I need a PHP file as well?

    If you create a form, for example, with action = "mailto:[email protected]" method = "POST" all elements inside the form entry will be enters the body of the message.

    However, the disadvantage is that the user will have its own program by default mail which will open (focus) web viewer and try to send the mail + which is more annoying, is that data are in the post office, so that you can not use automatically.

    a form to a php file action would be something more useful (and would also be an approach I would do).

Maybe you are looking for

  • Connection to Iphoto to mail

    How can I connect application iPhoto for my email accounts to send downloaded photos?

  • HP d 506: driver problem

    We are connecting remote on our server. We bought a printer hp 506 x and connect to our a portable computer terminal current. We install the driver. When we try printing a windows 10 document is not printed correctly. But same printer send us another

  • interpretation of TCP read the output string

    What is the right method to interpret the data from the TCP Read function? The output is a string of characters, which are obviously not hexadecimal values. How can I convert the string to a binary table or bytes?

  • Cooling fan dv6 - land of dark shadow 6b90ec

    Hello guys I have a little request than here where I can order cooling fan dv6 - 6b90ec shadow dark because my fan is verry noisy when I clean up problem is the same. Thank you and I will wait for a response

  • Windows Mail to automatically remove legitimate messages...

    My wife has Windows Mail on his computer.  All the emails I send are automatically sent to the deleted file. We have provided my email address isn't in its list of blocked senders, which is IS in the safe senders list and its 'Also trust emails from