Sharing a vApp, catalog by using the vCloud API

I need to share the vApp using the vCloud API but cannot find anything it either relating to the sharing of operation in the API documentation. If someone was able to perform using the API please give me the steps or the example code to do the same.

Hello

You can share vApps among members of your organization.

'Control of access to the catalogues and vApps' - vCloud API Guide 1.5, Pg No. 157.

GET https://vcloud/api/vApp/{VAPP id} / controlAccess - read access control settings on the vApp.

POST https://vcloud/api/vApp/{VAPP id} / action/controlAccess - update settings for access control on the paralytic.

Kind regards

Rajesh Kamal.

Tags: VMware

Similar Questions

  • How to remove a network of organization using the vCloud API?

    Hello

    I try to delete a network of internal organisation, using the java sdk:

    AdminOrgNetwork orgNetwork = getOrgNetwork("myNetwork"); // This will query vCloud and return a valid object
    orgNetwork.delete(); // This failes with: "com.vmware.vcloud.sdk.VCloudException: HTTP method not allowed"
    

    For some reason it isn't working and I get ""HTTP method not allowed ". "

    I also check the xml object returned by vCloud and I noticed that missing the link delete:

    <OrgNetwork xmlns="http://www.vmware.com/vcloud/v1.5" name="myNetwork" id="...">
        <Link rel="up" type="application/vnd.vmware.vcloud.org+xml" href="..."/>
        <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="..."/>
        <!-- Onetwork details -->
    </OrgNetwork>
    
    

    Removal of network does not enjoy using the API? Or maybe I'm doing something wrong?

    No matter what support in how to actually remove the network (which btw is also created using the API) would be much appreciated.

    Thank you

    I think you are trying to delete a view of the user of the org network.

    You should try to suppress the display of the admin of the org network.

    What do you do under the getOrgNetwork ("myNetwork"). How do you get the org network. I think you found the network org user here.

    Get it from the VcloudAdmin-> AdminOrganization-> networks.

    Kind regards

    Rajesh Kamal.

  • Access catalog getting and setting using the REST API

    I have a catalog I can see through the user interface which allows members to add in the tab share read-only, read/write or full control of the vCD. They do not appear anywhere that I can find when obtaining the catalog through the REST API.

    The REST API of 1.5 of vCloud Director documentation indicates that it supports the getting or setting user access to catalogs by using the link "conrolAccess". This link does not appear in the response to a GET the href of the catalog (admin or his substitute). Attempted to add "/ controlAccess" HREF catalogue translated by RESOURCE_NOT_FOUND.

    Hello

    Could be a bug in the documentation, try like this

    https://cloud/api/org/org-uuid/catalog/catalog-uuid/controlAccess - Fetch (GET)

    https://cloud/api/org/org-uuid/catalog/catalog-uuid/action/controlAccess - updated (AFTER)

    Kind regards
    Rajesh Kamal.

  • LAN address MAC using the windows API?

    I would like to read the MAC address of the LAN to my WIFI on my PC card.

    Apparently, this can be done using the Windows API

    Anyone tried something like this again?

    Thank you

    Hi morngoose,

    You can use the function "exec system" with "cmd/c" ipconfig/all "" "connected." Parse the string and you'll get your MAC address.

    Mike

  • How to use the 'sensors' api?

    Hi guys! I am a web-game developer but a beginner in developing blackberry applications.

    I intended to create a star atlas application and I've already finished most but failed to use the 'sensors' api.

    I referred to the example provided in the documentation of webworks 2.1 as below:

    function compassCallback(data) {
    document.write("Current azimuth:"+data.azimuth);
    }
    blackberry.sensors.setOptions("devicecompass", { delay: 1000 });
    document.addEventListener("devicecompass", compassCallback);
    

    and I added an element in the config.xml file:

    also, I added the plugin com.blackberry.sensors for the project.

    But I still can't azimuth compass...

    I really appreciate if someone could help me with this!

    I solved this problem by myself.

    The listener of the api should be placed in a "deviceready" event

  • problem using the FileConnection API (JSR 75) in an application for Blackberry "BOLD" MIDLET

    Hello

    I developed a MIDLET which is to read files and store the contents of files in arrays. I could make using the FileConnection API in J2ME (Java ME) and it works very well in mobile emulators provided by Sun, Sun Kit tool 2.5.1 wireless and Sprint Wireless tool 3.3.2 Kit. I have been using netbeans IDE 6.8 for this.

    Now, here's the deal. Playback of the files does not work when in one of the Blackberry mobile emulators. I tried to install all versions of Blackberry JDE 4.2.1 to 5.0 and test the same thing, but none of them worked.  After reading that the Blackberry plugin for Eclipse is good, I used it to find that I am always faced with the problem.

    I desperately need help. Can someone help me do the reading work file in a Blackberry emulator? I insert the code that makes the file reading. It reads a file containing a single column of 60 entries, and stores it in an array of double type.

    Vector time = new Vector();
    
    try{
    
     FileConnection filecon = (FileConnection) Connector.open("file:///" +"SDCard/BlackBerry/documents/"+"timescale.dat");
    
     if(!filecon.exists()) {    Dialog.show("Note ! ", "File doesn't exists !", "okay","cancel"); }
    
         StringBuffer sb = new StringBuffer();      try      {       InputStream in = filecon.openInputStream();       int chars;
    
           while ((chars = in.read()) != -1)// read until EOF is reached       {          if(chars == '\n') // read all characters until the end of line is reached          {              time.addElement(sb.toString().trim()); // stores all the characters as a vector element when the end of line is reached
    
                  sb.delete(0,sb.length());// clear the stringbuffer for storing the next line of the file
    
              }
    
              else          {              sb.append((char)chars); // appends each character read          }
    
          }// end of while
    
        }    catch(IOException e)    {               }
    
        filecon.close();
    
    }// end of outer try
    
       int i =0;   Enumeration etime = time.elements();
    
       while(etime.hasMoreElements() && i < 60) // timescale.dat has 60 entries in one column   {       time_1d[i]=Double.parseDouble(etime.nextElement().toString());// convert to double       i++;   }
    

    Can you elaborate on what does not work?  Is an error or exception thrown?  If Yes, what is it and what line of code triggers it?

    You have configured the BlackBerry smartphone Simulator to simulate a micro SD card?

    Use a computer filesystem in the form of microSD card

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/use-a-computer-file-system-as-a-microS...

  • Can I use the public APIs of BlackBerry for automation of the tests on the Simulator?

    Hello

    I'm developing a framework of automation with BlackBerry API public.

    Is it possible to test it against the custom application and 'Core BlackBerry Applications,' for example, mail, calendar...?

    With the help of API net.rim.device.api.ui.Keypad. * can manipulate the keyboard on a simulator, is that correct?

    Thank you!

    You can use the EventInjector API for input (keyboard, trackpad and touchscreen) events Simulator to interact with built-in applications.  It will work in the Simulator and the real device.

    If you are looking just to automate something in the Simulator, you can use the BlackBerry Simulator controller.  It is a command-line tool that enables script steps in the Simulator.  For more information look in the help on the BlackBerry smartphone Simulator menu.

  • How to send e-mails using the RIM api.

    Hi all

    My requriement, it's that I need to develop an application to send e-mail using only the RIM api. Please help me by sending an email using the RIM api. I use version 4.7.0.41 JDE

    Through this Developer's Guide, Section, 'Integrate Messages'.

    http://NA.BlackBerry.com/eng/deliverables/608/BlackBerry_Application_Developer_Guide_Volume_2.PDF

  • Get the 500 error trying to create a table using the REST API

    Hello

    I tried to create a table using the REST API for Business Intelligence Cloud, but I got 500 Internal Server Error for a while now.

    Here are the details that I use to create a table.

    Capture.JPG

    and the json to create the schema that I use is

    [{'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ["ROWID"]}]

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['RELATIONID']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['ID']}

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['RESPONDEDDATE']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [255], 'columnName': ['RESPONSE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_CREATEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_CREATEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_LASTMODIFIEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_LASTMODIFIEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_SYSTEMMODSTAMP']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [10], 'columnName': ['SYS_ISDELETED']},

    [{'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [50], 'columnName': ['TYPE']}]

    I tried this using postman and code, but I always get the following response error:

    Error 500 - Internal server error

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.5.1 500 internal Server Error

    The server encountered an unexpected condition which prevented him from meeting the demand.

    I am able to 'get' existing table schemas, delete the tables, but I'm not able to make put them and post operations. Can someone help me to identify the problem, if there is no fault in my approach.

    Thank you

    Romaric

    I managed to create a table successfully using the API - the only thing I see in your JSON which is different from mine is that you have square brackets around your values JSON where I have not. Here is my CURL request and extract my JSON file (named createtable.txt in the same directory as my CURL executable):

    curl u [email protected]: password UPDATED h x ' X-ID-TENANT-NAME: tenantname ' h ' Content-Type: application/json '-binary data @createtable.txt https://businessintell-tenantname.analytics.us2.oraclecloud.com/dataload/v1/tables/TABLE_TO_CREATE k

    [

    {

    'columnName': 'ID',

    'dataType': 'DECIMAL ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': false

    },

    {

    'columnName': 'NAME',

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'STATUS."

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'CREATED_DATE."

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    'columnName': 'UPDATED_DATE ',.

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    }

    ]

  • Can I get the total number of records that meet the conditions of a query using the Table API?

    Hello

    A < row > TableIterator is returned when I ask operations using the index of tables. If I want to get the total number of records, I count one by one using the returned TableIterator < row >.


    Can I get the total number of records directly meets the conditions of the query?

    I can get the total number of records directly the request of the meeting of the conditions of CLI using the command Global table - name tableName - count - index index-name-field fieldName - start startValue-end endValue.

    Can I get the same results using the Table API?

    I used MongoDB and NoSQL Oracle for about a year. According to the experience of the use of these dbs, I think mongoDB querying interface is powerful. In the contras, the query interface is relatively simple, which results is a lot of work that is usually a long time in the client side.

    Hello

    Counting records in a database is a tricky thing.  Any system that gives you an accurate count of the records will have a hotspot of concurrency on updates, namely the place where the counting is maintained.  Such a count is a problem of performance in addition to competitive access problem.   The problem is even more difficult in a system widely distributed such a NoSQL database.

    The CLI has overall command that counts, but does so by brutal force - iterate keys that correspond to the parameters of the operation.  This is how you must do this within the API.  There is not a lot of code, but you have to write.  You certainly want to use TableIterator TableAPI.tableKeysIterator (), because a key iteration is significantly faster than the iteration of lines.  Just one iteration and count.

    If you use TableAPI.multiGet () and a key with a touch of brightness full then, in fact, count the results as they are returned in a single piece (a list).

    Kind regards

    George

  • Is there a way to get the data for submission of form of eloqua using the REST API?

    I was wondering if there is a way to get the data for submission of form of eloqua using the REST API?

    Thank you

    On the page that egan related, there is a 'RawData' field for FormSubmit activities. In this area, the raw sending the form query string is returned.

    Whatever it is, you can get this info from the activities of the API block, or the endpoints data Rest API.

  • Create/modify users using the RequestService API

    Hello

    I would like to create or modify users of IOM, by using the API RequestService (RequestService (Oracle Fusion Middleware Java QAnywhere for Oracle Identity Manager)), but currently, I do not know how!

    Currently I use the UserManager API to create/modify users:

    UserManager userManager = Platform.getService(UserManager.class);
    HashMap<String, Object> userAttributeValueMap = new HashMap<String,Object>();
    User user = new User("MyNewOIMUser", userAttributeValueMap);
    userManager.create(user);
    

    It works very well, but it is not possible to 'Create the user approval Workflows' using this trigger mechanism.  (use this code snippet in a custom scheduled task)

    I've already found some examples of code, using the RequestService API, but nobody uses this api to create/modify users.  (https://java.net/projects/openptk/sources/svn/show/branches/Oracle/OIM11g/examples/java/OIMClient/src/oim/client/request)

    Ideas/tips/code samples to specify this use case?

    BR,

    Mint

    This API allows you to submit the application:

    Oracle Fusion Middleware Java QAnywhere for Oracle Identity Manager

    doOperation (RequestData requestData, OIMService.Intent intention)

    This will allow you to submit and do force a request, direct provision or use some permissions has the person making the presentation for administrative roles to determine whether it is direct or claim.

    -Kevin

  • Using the REST API to delete the contact from the contacts list

    Hello world

    I am looking for some info for the creation of a request to delete a contact from a list of Contact using the REST API.   Here's what I have in Java where the contact id is 1 'and my list is 72'.     I'm open to responses in Java, c# or other languages.

    serverAddress = new URL ("https://secure.p03.eloqua.com/API/REST/1.0/assets/contact/list/72");

    establish communication stuff

    connection = null;

    Set up the initial connection

    connection = (HttpURLConnection) serverAddress.openConnection ();

    connection.setRequestMethod ("PUT");

    connection.setRequestProperty ("content-type", "json; charset=utf-8 ");"

    connection.setRequestProperty ("authorization", 'Basic BLOCKED');

    String body = '{\"membershipDeletions\":[\"1\']}";

    connection.setDoOutput (true);

    connection.getOutputStream () .write (body.getBytes ("UTF8"));

    connection.setReadTimeout (10000);

    Connection.Connect ();

    When I test with it I get a '400' HTTP response

    Thank you!

    Hi Noel,

    The following document describes the operations available for lists of contacts in the Rest API. Please note that we also have a project open source c# example illustrates the use of these endpoints.

    Repositories are all available to the public on Github. Hope this helps and please let me know if you need more information.

    Thank you

    Fred

  • vRO package import/export using the REST API, but what to rebuild a package?

    Hello

    I can export and import a package using the REST API. The package consists of all the workflows in a certain folder of the project.

    That's fine, but when we do another workflow example in the folder of our project, it is not automatically part of the package. This reduces the value of planning an export of it, because it would still this manual interaction.

    Is there a way to do it (automate/CLI/REST /...) this?

    Thank you!

    Ed

    Hello

    REST API for package management (adding/removing items to package, rebuild a package, etc.) are planned for the next version of vRO - vRO 7.1 (or whatever the COMP version it gets).

  • Run the workflow using the SOAP API with PHP

    Hello

    I'm trying to integrate workflow from code PHP using the SOAP API to Orchestrator.

    <? PHP

    Try

    {

    $parameters = array (username = > "username", password = > "passwd");

    $client = new SoapClient ('https://vcoserver:8281 / vco/vmware-vmo-webcontrol/webservice?) WSDL "); "

    $result = $client-> getAllWorkflows ($parameters);

    foreach ($result as $item)

    {

    foreach ($item as $work)

    {

    echo $work-> name;

    echo "< br >".

    echo "id";

    echo $work-> id;

    echo "< br / > ';

    }

    }

    }

    catch (Exception $e)

    {

    echo $e;

    }

    ? >

    I do not see errors/exceptions, but don't see any output as well.

    Am I missing something?

    Could you use

    print curl_error($curl);
    

    After curl_exec to check if there are errors?

    If there is an error in SSL certificate, as ' SSL certificate problem: unable to get local issuer certificate ", you can either install certificates roots (Google it for more information how to do), or disable checking of certificates by peers in CURL with something like:"

    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
    

Maybe you are looking for

  • Work very well iMac 27 mid-2011 with 4MEM error code

    Hi, I have an iMac 27 inches, mid-2011 with 4 GB installed original (Elpida so-DIMM) so I improve it with 4 new 4 GB Kingston (ram value) KVR1333 PC3-10600 1333 Mhz DDR3 DIMMS for a total of 16 GB, after that my iMac works very well for three years w

  • Problems of Gmail on my HP Envy i7

    I had my HP Envy laptop for a few months and am generally happy.  HOWEVER by typing in my gmail account is slow and sometimes does not.  When you type, I have to go back and re - insert the letters that were seized but do not shop upward in my text. 

  • MP3 could not be imported.

    I tried to import 4 songs in Windows Movie Maker and only 1 can be imported. Windows Movie Maker Time of My Life C:\Users\ACER\Desktop\18 (I've had) the Time of My Life (Glee Cast Version) .mp3 could not be imported. Sway C:\Users\ACER\Desktop\Sway (

  • I can't disable the keyboard sleep wake

    I have a laptop ASUS N80vn. I want to be able to wake up my laptop ONLY by pressing the power button or the sleep button. I don't want another key on the keyboard to wake my computer from sleep. Currently, by pressing any key on the keyboard wake my

  • I have trouble running the Google Earth program on the computer.

    RECENTLY, I DID A SYSTEM RESTORE ON MY LAPTOP DUE TO AN AUDIO PROBLEM, EVEN IF IT CURES THE PROBLEM.  MY GOOGLE EARTH PROGRAM ALL WENT it's FUNNY, it WAS ALL DISTORTED AND na NOT FULL STREET VIEW LEVEL, I UNINSTALL THE PROGRAM COMPLETELY AND THEN TRI