VROps REST API documentation

Can someone tell me where in the rest API vROps 6.0 documentation I can get information about a function to create a custom group?

CreateUserGroup - search

POST/api/auth/usergroups

Tags: VMware

Similar Questions

  • Where to find the vCAC new REST API documentation

    Hello

    I read that a REST API has been added to vCAC 6.x. The literature points to a document "vCloud QAnywhere Automation Center", which I was unable to locate so far.

    Does anyone know where to find this document or have a URL that points to the reference on the embedded API (e.g. in vCO, it would be the hostname:8281 / vco/api/docs) if vCAC provides a reference also?

    Thank you

    Robert

    Watch that space, the documentation is reviewed internally at the present time.

    Grant

  • vROps REST API SSL Certificate Problem

    Hello

    For a while, trying to reach the REST API through Powershell but got the following error. I did most of the things that is said on blogs. All the world is facing this problem before? PowerShell is the right way to do it? Can VMware Support help me with the problem?

    restapi.png

    Thank you

    Ramazan

    did you run the secure connection & certificate?

    a few example- Powershell Invoke-RestMethod using self-signed certificates and authentication of base - Any Examples? - Stack Overflow

  • REST API Documentation

    Hello

    Can someone tell me please at the official Web API reference?

    Thank you

    Patryk

    The official documentation for our API can be found here http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html.

    The live docs have not been deprecated or discontinued, because they don't have never been supported or maintained.  They are a tool in-house and not intended for the customer access.

    We are looking at a bug that led them to be inaccessible, but please note that even if the bug is fixed, it are not yet supported or maintained, and if used, it is at your own risk.

  • Is consolidated there is room to learn rest api

    Hello

    Is there a place consolidated to obtain documents rest api

    Hi Jude,.

    The Resource Guide is a great place to learn this. It includes links to our Restful API documentation:

    Hope this helps and please let us know if you need more information.

    Thank you

    Fred

  • There the rest APIs to retrieve the metadata for entity for eloqua objects?

    There is a list of all the objects that are accessible by the REST for CRUD in this link: REST API - Documentation for kernel objects in the objects of the core section.

    For each of the objects listed in the objects of the core section are there is a metadata field in the Properties section.

    For example, for the purpose of the e-mail message, The REST API - to access Emails , under the Properties section, there entered corresponding to the fields of the object of the emails under the
    Name, Type, Description and validation topics.

    Is there a REST API to retrieve the same information, i.e. metadata field for an object programmatically eloqua?
    Otherwise, this is a serious obstacle to building systems that are the metadata engine and support for SOAP is removed...

    The closest to what you are looking for would be endpoints of assistance for a description of the fields. Example of /api/bulk/1.0/contact/fields

    {

    "items": [{}

    'name': "E-mail address",

    "internalName": "C_EmailAddress",

    'dataType': 'emailAddress;

    'hasReadOnlyConstraint': false,

    'hasNotNullConstraint': false,

    'hasUniquenessConstraint': true,

    'Déclaration': '{{Contact.Field (C_EmailAddress)}}.

    "uri": "/ contact/field/100001",

    "converted': ' / Date (-2208970800000) /"

    'updatedAt': ' / Date (-2208970800000) / ".

    },

    {

    'name': "First name",

    "internalName": "C_FirstName",

    'dataType': "string",.

    'hasReadOnlyConstraint': false,

    'hasNotNullConstraint': false,

    'hasUniquenessConstraint': false,

    'Déclaration': '{{Contact.Field (C_FirstName)}}.

    "uri": "/ contact/field/100002."

    "converted': ' / Date (-2208970800000) /"

    "updatedBy": "MgrzzzOracleCloudSupportP01E10",

    'updatedAt': ' / Date (1408993722380) / ".

    },.....

    If so, it will also include an element "defaultValue". How many characters you can store in a field (precision) is documented here: Type of data (data and Digital Formats). The same endpoint exist in bulk 2.0, and there are variants for the account fields and Objetpersonnalise. Another exists in the REST through Api/rest/2.0/assets/contact/fields?depth=complete... It does not include the declaration of ML, but there other useful information such as the type of default update and a flag 'isAccountLinkageField '.

    Similarly, if you describe a form via SOAP or REST, it also will give you the fields and their type.

    Kind regards

    Bojan

  • REST API assignRolePermissionToUserGroup

    Im trying to update the objects of our clients have right of in vROps, programmatically through the REST API. The idea is that when a customer starts rotating or destroyed a virtual computer through vRA, we would find all of their machines virtual provisioned and rebuild the list of objects for their group of vROps through vRO using the REST API of vROps. I have a vRO workflow that looks like this:

    var groupId = "8c380090-d5c3-42a7-a77c-5de4437ce85b"
    var resourceId = "8e62002f-0965-47e2-a82a-6d403b44b756"
    
    var body = {"traversal-spec-instances" : [{
      "traversal-spec-instance" : {
           "selectAllResources" : false,
           "name" : "vSphere Hosts and Clusters",
           "resourceKind" : "vSphere World",
           "adapterKind" : "VMWARE",
           "resourceSelection" : [{
                "resourceId" : [
                     resourceId,
                     "4abb32e5-1fd0-443b-85ed-4995da4a1a0d"
                ],
                "type" : "SPECIFIC"
           }]
      }
    }],
    "allowAllObjects" : false,
    "roleName" : "ReadOnly"
    }
    System.log(JSON.stringify(body));
    
    
    var request = restHost.createRequest("PUT", "/auth/usergroups/" + groupId + "/permissions", body);
    request.contentType = "application/json";
    
    
    var json = JSON.stringify(System.getModule("com.vmware.library.http-rest").xml2json(request.execute().contentAsString));
    System.log(json);
    
    
    

    Which produces the string JSON:

    {"traversal-spec-instances":[{"traversal-spec-instance":{"selectAllResources":false,"name":"vSphere Hosts and Clusters","resourceKind":"vSphere World","adapterKind":"VMWARE","resourceSelection":[{"resourceId":["8e62002f-0965-47e2-a82a-6d403b44b756","4abb32e5-1fd0-443b-85ed-4995da4a1a0d"],"type":"SPECIFIC"}]}}],"allowAllObjects":false,"roleName":"ReadOnly"}
    
    
    

    There are no examples of the request body then I'm just doing what I interpret requires that the documentation of the REST API.

    Run this generates the error:

    {"error":{"message":"Invalid input format.","xmlns:ops":"http://webservice.vmware.com/vRealizeOpsMgr/1.0/","moreInformation":{"info":{"content":"/suite-api/api/auth/usergroups/8c380090-d5c3-42a7-a77c-5de4437ce85b/permissions","name":"api-uri"}},"httpStatusCode":400,"xmlns:xs":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","apiErrorCode":400}}
    
    
    

    Which is not very useful.

    I checked with other API calls that the groupId is correct and returns a grump object valid through the REST API. So my assumption at this point is that the body of the request is malformed but I'm not sure how and errors are not giving me much to go.

    You're right about the resourceKind.  I did some tests and the JSON body below worked for me.  I changed two things:

    1. I converted the body to a string variable.  It seemed that it was sent as an object.
    2. I removed the "path-spec-instance", while the instance is just placed between braces inside the "crossing-spec-proceedings".  I did a get on a sample group and that's how it was formatted.
    var body = {"traversal-spec-instances" : [{  
    
           "selectAllResources" : false,
           "name" : "vSphere Hosts and Clusters",
           "resourceKind" : "vSphere World",
           "adapterKind" : "VMWARE",
           "resourceSelection" : [{
                "resourceId" : [
                     resourceId,
                     "414f5fdc-a651-4886-adb7-5d947c69ae63"
                ],
                "type" : "SPECIFIC"
           }]  
    
    }],
    "allowAllObjects" : false,
    "roleName" : "ReadOnly"
    }
    System.log(JSON.stringify(body));
    System.log(typeof body);
    var stringBody = JSON.stringify(body);  
    
    var request = restHost.createRequest("PUT", "/auth/usergroups/" + groupId + "/permissions", stringBody);
    request.contentType = "application/json";
    
  • More quick REST API / JSON approaches to the interviews of the OPA?

    I recognize there are services / libraries that can convert an OPA Web Service deployment on the hub to a JSON / REST API.  (Examples: Mashape I used for the other REMAINS in the SOAP proxy).

    But, is there a consensus on the more common approach / best to this operation?  Is there an approach that may be more in line with the future development of the OPA hub around REST API?  I think I saw something with Oracle Cloud Computing Mobile Service, but I cannot find enough documentation to the CEP with.

    It occurs to me, that instead of researching the topic for an hour or more, I could have benefits more ask on the forum.

    Thank you

    Paul, my quick view is that whatever you do will be OK, because even once we add REST API, existing SOAP API will remain for backward compatibility reasons.

    It would also be impossible to build compatibility for something we have not designed yet, so I can't really all guide on what to do / avoid in order to simplify any possible future transition official rest API.

    Davin.

  • Updated filter shared via the REST API

    Hello I'm trying to update a shared API filter. I'm using PHP and client fredsakr/eloqua-php-application · GitHub.

    So far, I was able to retrieve the filter with the following call:

    <?php
    require('./eloquaRequest.php');
    $eloquaRequest = new EloquaRequest('site', 'User.Name', 'password', 'https://secure.eloqua.com/API/REST/1.0');
    $response = $eloquaRequest->get('assets/contact/filters?search=TheFilterName&depth=complete');
    print_r($response);
    ?>
    

    I can see the filter in the answer below:

    (
        [type] => ContactFilter
        [currentStatus] => Active
        [id] => 100761
        [createdAt] => 1380137168
        [createdBy] => 48
        [depth] => complete
        [folderId] => 1036
        [name] => TheFilterName
        [updatedAt] => 1383589417
        [updatedBy] => 48
        [count] => 254382
        [criteria] => Array
            (
                [0] => stdClass Object
                    (
                        [type] => ContactFieldCriterion
                        [id] => 1912
                        [condition] => stdClass Object
                            (
                                [type] => TextSetCondition
                                [operator] => in
                                [optionListId] => 193
                            )
    
                        [fieldId] => 100012
                    )
    
            )
    
        [lastCalculatedAt] => 1380137190
        [scope] => global
      statement] => 1912
    

    What I want to do is update that corresponds to the values of 'Compare the Contact fields' in the GUI Eloqua under Contact = > Shared Library = > Contact filters.

    Looks like he has the "[type] = ContactFieldCriterion" under the [criteria] field in the response.

    I'd get how this value in a call to REST, and also how I would update it.

    Please let me know if you need more details on this issue. Please help and thank you.

    After some research I found what I wanted to do has been updated the list of options for this filter. See http://topliners.eloqua.com/docs/DOC-3588 for documentation on the base object. But I had difficulty in updating an OptionList with the Rest API using PUT. If you can help, please visit http://topliners.eloqua.com/message/36739#36739 . Thank you.

  • REST API - subscriptions Contact

    Hello

    I'm updating subscriptions contact using the REST API, but the documentation at http://topliners.eloqua.com/docs/DOC-3526 seems to be updated. The current lead for/data/contact / {contactId} / groups/email/subscription is different than the result of the documentation.

    Can someone explain to me how I should manage subscriptions? I use https://secure.eloqua.com/API/REST/2.0 as the API endpoint.

    Thank you

    Ronald

    Hi Ronald,.

    The current stable version of the REST API is 1.0. Please note that 2.0 is public, but it is subject to change, and so we do not recommend that the community uses this.

    About the management of subscriptions, we will add a post shortly to describe how to subscribe and unsubscribe Contacts using the Rest API.

    Hope this helps and please let us know if you need more information.

    Thank you

    Fred

  • Download Images in Eloqua via the REST API (via an API?)

    Hello community!

    We are interfacing content between a site CMS and Eloqua for custom content, so that we can deliver such content in emails and the landing pages effectively.

    We have an obligation to affix an image (such as an icon of great white game) overlay, a bit like this: http://u3.uicdn.net/372/cc7727211f2a7907850d2f844e707/diy-business-us/vi_video_content.jpg

    Unfortunately the CMS system he can not provide, we for some reason any.  And trying to superimpose the image in e-mails of Eloqua using CSS will result in inconsistent results between email clients, particularly mobile and so on...

    Our plan is so - to superimpose the image in our middleware software and then download the image to Eloqua, then use newly uploaded in the system.

    Is there a way we can download a picture of Eloqua via the REST API or any other API?

    Thank you

    Mark

    Hi Mark,

    Yes, you can use the Rest API to upload images to your installation of Eloqua. We will aim to provide documentation in the near future, but for now, we have an example of project available on Github to show how load images: Image of assistance

    Hope this helps and please let me know if you need more information.

    Thank you

    Fred

  • How to recover Contacts using ContactGroupID using SOAP or RESTFul API in c#?

    Hi guys,.

    I want to recover contact records from Eloqua 10 using ContactGroupID or by using the SOAP API or RESTFul API in c#. Well want to, help me for the same thing.

    Thanking you,

    Kind regards

    Dhaval Doshi.

    Hi Alain,

    You can use the bulk API to export contacts who are members of a segment or group. Documentation is available at the following address: Eloqua bulk API 1.0: importing and exporting data

    Hope this helps and please let me know if you need more information.

    Thank you

    Fred

  • Quesiton answer REST API

    I'm trying to understand what information is contained in the Eloqua activities for the activityTypes object. Activities has these attributes:

    -ID

    -type

    -activityDate

    -activityType

    -assetID

    -contactID

    -Details

    By the documentation, the different activityTypes include emalClickThrough emailSend emailOpen, webVisit, campaignMembership... etc.

    What I've not seen so far, this is what Details would be available for each of these categories. The link below provides an example of output that would be for a emailSend:

    http://topliners.Eloqua.com/docs/doc-3092

    Of course, "Subject line" not will be not rendered for webVisit and CampaignMembership... but what would? We are in the design phase of a project and rely on documentation to illustrate attributes are available for export in a data warehouse.  Please point me to the documentation where I can find this level of information.

    Thank you!

    Hi Joseph,.

    We have updated the original document (REST API - access Contact activities) to include the details for each type of activity.

    Included here for convenience:

    Types of activities (Details)

    • campaignMembership

      • Replied
      • CampaignName
      • LeadStage
    • emailClickThrough
      • EmailClickedThruLink
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • SubjectLine
    • emailOpen
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • IPAddress
      • SubjectLine
    • emailSend
      • EmailName
      • EmailWebLink
      • EmailRecipientId
      • SubjectLine
    • emailSubscribe
      • CampaignName
      • EmailCampaignId
    • emailUnsubscribe
      • CampaignName
      • EmailCampaignId
    • formSubmit
      • Collection
      • FormName
    • webVisit
      • Duration
      • QueryString
      • QueryStringDisplay
      • Thread

    Please let me know if you need more information.

    Thank you

    Fred

  • REST API - POST: / data/Objetpersonnalise / {id}

    Is there a specific documentation describes to the REST API - data object customPOST call?


    I tried a few different ways to call it without success, some of which are described below.


    This is the custom, object that I work with:

    Table

    (

    [type] = > Objetpersonnalise

    [id] = > 19

    [depth] = > full

    [description] = > custom Description of object

    [name] = > custom Elomentary Test object

    [fields] = > Array

    (

    [0] = > array

    (

    [type] = > CustomObjectField

    [id] = > 131

    [depth] = > full

    [name] = > testing a ground

    [type] = > text

    [displayType] = > text

    [internalName] = > Test_field_one1

    )

    [1] = > array

    (

    [type] = > CustomObjectField

    [id] = > 132

    [depth] = > full

    [name] = > two field Test

    [type] = > text

    [displayType] = > text

    [internalName] = > Test_field_two1

    )

    )

    )

    I tried a few different methods to make this request, but I'll try to refrain from posting a wall of the code, and I'll put everything that I think is most close to being correct based on some examples to

    Looking at the test customObjectData-helper to, eloqua-samples/customObjectData-helper/CustomObjectDataTests to fredsakr/eloqua-samples of master · GitHub

    Request URL: https://secure.p03.eloqua.com/api/rest/2.0/data/customObject/19

    The raw request:

    POST /api/rest/2.0/data/customObject/19 HTTP/1.1

    Host: secure.p03.eloqua.com

    User-Agent: Elomentary (http://github.com/tableau-mkt/elomentary)

    Content-Type: application/json

    Content-Length: 90

    {"fieldValues can only be": [{'id': 131, 'value': 'testing123'}, {'id': 132, "value": "alkfjsaldkjfasldjka"}]}

    And the response headers:

    HTTP/1.1 404 not found

    Cache-Control: private

    Content-Length: 1565

    Content-Type: text/html; Charset = UTF-8

    P3P: CP = "" IDC DSP COR DEVa TAIa OUR PHY ONL UNI COM NAV CNT STA BUS ","

    Date: Tuesday, July 29, 2014 14:32:22 GMT

    cannot get property

    The body of the response:

    <? XML version = "1.0" encoding = "utf-8"? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < title > < /title > Service

    < style > < / style >

    < / head >

    < body >

    < div id = "content" >

    < class p = "title 1" > Service < /p >

    < p > endpoint could not be found. < /p >

    < / div >

    < / body >

    < / html >

    Parris,

    Endpoint for the creation of object (custom p03) data seems to have been replaced by:

    POST Api/rest/1.0/data/customObject/{customObjectId}

    Endpoint you are trying to use has worked before. I don't know what happened... I found this useful documentation:

    https://secure.P03.Eloqua.com/API/docs/dynamic/rest/1.0/reference.aspx

    Jason Kay

  • Error in creating a category with the REST API

    vRO 7.0.1

    I am trying to create a category in the folder root of Workflow using the REST API.

    URL = https://vroserver.fqdn:8281 / vco/api/categories

    Method = POST

    The API documentation suggests that the body should be like this:

    {

    "categoryType": "WorkflowCategory",

    'name': "Test5",.

    'description': 'Testing '.

    }

    However, I always get a 400 response: the request sent by the client is syntactically incorrect.

    reflecting the docs by: category name must be specified

    Can anyone help?

    Body of the request should be:

    {
       "type":"WorkflowCategory",
       "name":"Test5",
       "description":"Testing"
    }
    

Maybe you are looking for