UCCE REST API PUT method always gives the exception changestamp

Hello

I UCCE 11 and using Firefox httprequester to test the API REST UCCE to update an attribute of agent (with the idea of writing a Finesse gadget later).

EEG works well (Basic authentication, application/xml, 10.100.206.5 being my HDS/AW/DDS

http://10.100.206.5/unifiedconfig/config/agent/5001

giving details of the agent (checked all values against real the awdb)

When you attempt a PUT option (to change the value of the attribute of 3 to 4) with


    40
   
       
           
                / unifiedconfig/config/attribute/5000
                English
                4
           

            4
       

   

the following is returned



   
        changeStamp
        Another user has modified this object.  Cool off, then try to save again.
        invalidInput.changeStamp
   

What I am doing wrong?

Concerning

I think you need to keep the same as the option change number put.

If the Put option doesn't change anything in the number does not increment.

Tags: Cisco Support

Similar Questions

  • My space Icloud is used because of the backup of the Ipad and I use three devices under ID so my iphone always gives the warning of small footprint. How can I save the back upward on my PC so that I can delete of I have cloud and free space

    My space Icloud is used because of the backup of the Ipad and I use three devices under ID so my iphone always gives the warning of small footprint. How can I save the back upward on my PC so that I can delete of I have cloud and free space

    Hello

    You want to know is explained here: https://www.apple.com/support/iphone/backup/

    If you want to delete the backups that are currently clogging up your iCloud-storage space, use this: iCloud: delete a backup device iOS to iCloud

  • C#, UCCX, Rest API, PUT (update a resource) and not taken media Type supported

    Hi, I'm developing an application to update the skills of resources with the REST API.

    I can get all the values I want to (GET), but when I try to update a resource using PUT, and then I get a "415 Unsupported Media Type" webException.

    I discovered that c# / UCCX works with demand. MediaType (instead of request. ContentType).

    I got this error when I tried to GET the data. He now works for the GET.

    But to PUT it, I got the error. Method is defined as SAID, MediaType = "application/xml".

    I tried to empty, ' text/xml '...

    Looked on the internet, Web sites, saying always specify ContentType/MediaType = "application/xml", I have already done.

    I also got the same error if I try an application COULD and without sending data.

    Thanks for your help!

    public string MakeRequest()
    {
    var request = (HttpWebRequest) WebRequest.Create (EndPoint);
    request. Credentials = new System.Net.NetworkCredential (login, password);
    request. Method = Method.ToString ();
    request. ContentLength = 0;
    request. Accept = ContentType;
    request. MediaType = ContentType;
                
    #region so PUT
    If (! string.) IsNullOrEmpty (PostData) & method == HttpVerb.PUT)
    {
    encoding of var = new UTF8Encoding();
    PostData = PostData.Replace ("\n", "");
    var bytes = Encoding.UTF8.GetBytes (PostData);
    request. ContentLength = bytes. Length;
                    
    using (var writeStream = request. GetRequestStream())
    {
    writeStream.Write (bytes, 0, bytes.) (Length);
    }
    }
    #endregion

    Try
    {
    assistance (response var = (HttpWebResponse) request. GetResponse())
    {
    var responseValue = string. Empty;

    If (answer. StatusCode! = HttpStatusCode.OK)
    {
    var message = String.Format ("request failed. Received HTTP {0}", response. StatusCode);
    throw new ApplicationException (message);
    }

    Enter the answer
    using (var responseStream = response. GetResponseStream())
    {
    If (responseStream! = null)
    using (var = new StreamReader (responseStream) Player)
    {
    responseValue = reader. ReadToEnd();
    }
    }

    Return responseValue;
    }
    }
    catch (WebException wex)
    {
    error string = wex. Message;
    Return ' ';
    }

    OK you got, in this case, post your request in the Sub forum as well which is sought after by developers and you can you expect a concrete answer/explanation on the same

    https://communities.Cisco.com/community/Developer/Express-configuration-API

    Concerning

    Deepak

  • JDeveloper 10 g & ADF BC: AM, the editor can't see methods that throw the exception

    I was curious to know why once I declare my throw on the method declaration clause, it does not appear on the window of the client interface of the editor of the AOS?

    To work around this problem, I have to do the following:

    1. in the MyAmImpl.java
    + ' public void methodA() {+
    + try {+
    + / / code that throws exceptions.
    +} catch (Exception ex) {+
    +}+
    +}+

    2 open the editor of AOS, expose the method on the client interface
    3. return to the MyAmImpl.java and change metodA() to:

    Public Sub methodA() throws Exception {}
    a code that throws the exception
    }
    4. open the MyAm.java interface
    change of the
    Public Sub methodA()
    TO
    Public Sub methodA() bird exception

    is this a bug?

    Thank you
    Wes

    Try a local. It will work :)

    Ideally local class sup for all your needs.

    Vincent

  • When re-record the files it always gives the error message

    In windows 7.  Whenever I try to re - save a file, it says that it is read-only and must be saved as a new file.  I checked and it is not read-only.  I have Acrobat X Pro.  Any ideas what to do?

    Hi bevb2040,

    Could you please let me know where your PDF file located on either your computer or your network?

    In addition, please ensure that this Windows preview pane is disabled because it assumes that the file is open and prevents it to re-register.

    Let me know how it goes.

    Kind regards

    Ana Maria

  • 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

  • Add vNIC PortGroup scope with the REST API security group

    I created a security group within the reach of a PortGroup via the REST API. Now, I'm trying to add a vNIC, also via the REST API.

    To help illustrate, I have a JMTest1 VM with 1 vNIC connected to the PortGroup which is the scope of the security group. When I change this group the first item in the list that could be added to the security group is the first (and only) JMTest1 vNIC.

    AddvNICToSecurityGroup.PNG

    To add it via the REST API, I need to provide the following:

    https://192.168.x.x/API/2.0/services/SecurityGroup/SecurityGroup-XX/members/ < member-moref >

    for example I need to understand what the < member-moref > for the vNIC to JMTest1 and this is what I have a problem with.

    If I add the vNIC through the user interface and then interrogate the security group it gives me below the answer:

    < securitygroup >

    < objectIdobjectId > securitygroup-xx < / objectId >

    < type >

    < typeName > SecurityGroup < / typeName >

    < / type >

    < name > JMTest7 < / name >

    < description / >

    < revision > 9 < / revision >

    < objectTypeName > SecurityGroup < / objectTypeName >

    < scope >

    < id > dvportgroup-xxxxx / < ID >

    < objectTypeName > DistributedVirtualPortgroup < / objectTypeName >

    < name > dv-xxxxx < / name >

    < / scope >

    < extendedAttributes / >

    < inheritanceAllowed > false < / inheritanceAllowed >

    < member >

    500758f6-b97b - 7A 79 - 0c < objectId > 04 - 996f53edf3f0.000 < / objectId >

    < type >

    Vnic < typeName > < / typeName >

    < / type >

    < name > JMTest1 - NIC 1 < / name >

    < revision > 6 < / revision >

    < objectTypeName > Vnic < / objectTypeName >

    < scope >

    < id > vm-xxxxx / < ID >

    < objectTypeName > VirtualMachine < / objectTypeName >

    < name > JMTest1 < / name >

    < / scope >

    < extendedAttributes / >

    < / member >

    < / securitygroup >

    It seems that the < member-moref > for the JMTest1 vNIC is < objectId > 500758f6-b97b - a 7, 79 - 0c 04 - 996f53edf3f0.000 < / objectId >

    If I run now:

    https://192.168.x.x/API/2.0/services/SecurityGroup/SecurityGroup-XX/members/500758f6-b97b-7a79-0c04-996f53edf3f0.000

    then the vNIC is successfully added to the security group. (yay!) So I am now left with the task of how to get

    500758f6-b97b - 7A 79 - 0c < objectId > 04 - 996f53edf3f0.000 < / objectId >

    of a vNIC?

    I have looked at the object in the Mob vCenter and via PowerCLI, but cannot see how to derive from it.

    Anyone know the answer to that?

    The uuid vnic is created by concatenating the vm instanceUuid + '. ' + the last three digits of the vnic device key.  (The vnic is located in the area of the config.hardware.device of the virtual machine and the key will be to shape 4xxx, where xxx represents the 3 numbers you need).

  • Is it possible to activate / De Activate campaign via the REST API?

    Hello

    Is it possible to activate / campaigns via the API REST Eloqua activates?

    I was checking out this site on the Eloqua Rest API, but did not see the option http://secure.eloqua.com/api/docs/Static/Rest/2.0/index.htm

    Kind regards

    Aditya

    Yes, for example, to Activate your campaign, use a POST/assets / campaign / active / {id}, where id is the ID of the campaign.

  • Searching for a contact through GUID on the REST API

    After talking to some of the developers at Vidyard, it was obvious that there is a way that eloqua could really help us!


    If taken Eloqua supported a way of searching for a contact based on the GUID of the cookie in the REST API, we could stop using the SOAP API in total. I wanted to just start a thread to see if anyone is looking for this feature? Any ideas would be appreciated!


    CC TJ fields-Oracle

    Hey Ian, is currently our roadmap.  No ETA at this time.

  • QUESTION: Can't create a firewall rule to (edge) with the REST API

    Dear Sir

    I am trying to create a firewall rule for simple and basic edge using the REST API.

    I use the REST API guide as a reference on page 158.


    edge-fw-rule.png

    I use the following code (single) in my client REST API (with good content Type (application/xml)):

    < rule >

    < ruleTag > < / ruleTag >

    < name > edge5-rest-rule < / name >

    all < source > < / source >

    < destination > all < / destination >

    < application > all < / application >

    < matchTranslated > true < / matchTranslated >

    < management > in < / direction >

    < action > deny < / action >

    < enabled > false < / enabled >

    < loggingEnabled > true < / loggingEnabled >

    rest-api-rule of the < description > < / description >

    < / rule >

    The error message that I receive is the following:

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

    < error >

    request details invalid <>. Found no match for item rule. < / details >

    < > 223 errorCode < / errorCode >

    < / error >

    The full screenshot of my action REST API is in the screenshot below:

    full-request.png

    Anyone know what I'm doing wrong here?

    Thank you!

    Try this as the body...

    rest-rule

    user

    true

    in

    deny

    fake

    true

    rest-api-rule

  • I have cs5 and it was working fine and now he keeps asking the serial number even after that I put it and gives it the green check mark then it goes straight to that now

    I have cs5 and it worked very well and now he keeps asking serial number, even though I put it and gives the green check mark then it goes straight to that now or it just goes to the license agreement and when I accept it is going t - he once again.  I have uninstalled completely and then reinstalled several times and still the same thing.

    Csingleton11,

    WIN8 is not listed as an operating system that can run CS5 (see technical specifications); However, some users were able to run it in compatibility mode with success. See this link if you want to give that a try: CS5 installation on Windows 8

    Guinot

  • Interaction with OpsCode Chef HTTP vCenter Orchestrator v5.1 Update 1 REST API

    Interaction with OpsCode Chef HTTP vCenter Orchestrator v5.1 Update 1 REST API

    I need to be able to use the HTTP REST APIs to run commands on the server of leader during the commissioning and decommissioning of virtual machines.

    Chef Server API Documents

    This requires the ability to use the SHA1 algorithm and also the Base64 algorithm in vCenter Orchestrator v5.1 update 1 to create the header of hashes.

    Method: HTTP_METHOD

    Axes of path: HASHED_PATH

    X Ops-content-Hash: HASHED_BODY

    X Ops - Timestamp:TIME

    X Ops - UserId:USERID

    where:

    • HTTP_METHOD is the method used in the API request (GET, POST, and so on)
    • HASHED_PATH is the path of the query (/name_of_endpoint for the server open source) and/organizations/organization_name/name_of_endpoint took the head or private Chef. The HASHED_PATH must be hashed with SHA1 and encoded using Base64 and should not have repeated oblique (/) or end with a bar slash (unless the path is /).
    • The private key must be an RSA key in the SSL .pem file format. This signature is then divided into strings (of not more than 60 characters per line) and placed in the header.

    The server of crypts that header and ensures its content corresponds to the content of unencrypted headers contained in the request. The timestamp of the message is checked to ensure that the request has been received within a reasonable time. An approach to generate the signed headers is to use the authentication mixlib, which is a header based on a class signature of authentication object similar to one used by the Chief customer.

    Any help with this would be greatly appreciated.

    Perfect timing!  I was just finalized this week the docs and test of a package for the Chef Server API:

    CHIEF Server Workflows

    Let me know how it works for you!  Of more if there are other points of termination or I missed scenarios, they should be easy to add.

  • Import a workflow with Orchestrator rest API

    Hello

    I am trying to import a workflow to Orchestrator through the REST API, but it always end upward with a 500 error:

    HTTP/1.1 100 continue
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/html; charset = utf-8
    Transfer-Encoding: segmented
    Date: Thu, February 28, 2013 16:54:57 GMT
    Connection: close
    Server: vCO Server
    I proceed in this way:
    I prepare the file that will be sent:

    -5bf10fbcf09

    Content-Disposition: form-data; name = "listVm"; filename = "listVm.Workflow"

    Content-Type: application/zip

    Binary

    -5bf10fbcf09-

    and then make a POST request to my server of vCO:
    curl - ik u "user: pass" h "Accept: application / xml ' h ' Content-type: multipart / form - data; "limit = - 5bf10fbcf09 ' h ' content-length: 19442 ' https://IP:PORT/api/stream / x POST @listVm.wf d
    Then it'll wait state:
    HTTP/1.1 100 continue
    and about 60 years later it returns me an error 500
    Thanks for your help!

    Here is a code that a workflow is important in a category:

    SessionFactory VcoSessionFactory = new DefaultVcoSessionFactory (new URI ("https://vcohost:8281 / api")) {}
    @Override
    protected SSLContext newSSLContext() throw KeyManagementException, {NoSuchAlgorithmException}
    Return newUnsecureSSLContext();
    }
    @Override
    protected HostnameVerifier {} newHostnameVerifier()
    Return newUnsecureHostnameVerifier();
    }
    };
    This is for basic authentication in the what the vCO is in LDAP mode
    Authentication Authentication = new UsernamePasswordAuthentication ("userName", "password");
    It is to the SSO authentication
    Authentication Authentication = null;
    try {}
    SsoAuthenticator authenticator =
    new SsoAuthenticator (new
    1800 l);
    Authentication =
    authenticator.createSsoAuthentication ("userName",
    "password");
    } catch (IOException e) {}
    throw new RuntimeException ("Cannot authenticate to the OSP", e);
    } catch (URISyntaxException e) {}
    / / There are unlikely to occur
    // }
    Session VcoSession = sessionFactory.newSession (authentication);
    WorkflowService wfService = new WorkflowService (session);
    wfService.importWorkflowInCategory ("categoryId", new file)
    'path_to_some_workflow.workflow'));

    I have this code I use only the customer is provided with vCO:

    https://vcohost:8281/API/docs/downloads.html

    Hope this helps

    Concerning

    Ivan

  • 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

  • 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

Maybe you are looking for

  • Fails to download even though it States there are messages on the server

    says something like "1 of 50 download messages", then declare immediately any messages on the server. Summer like this for a few days, perhaps for an update? I don't remember when was the last. Today is May 16, 2015.

  • How to make a loop performance during a given period of time?

    Hello! I'm new to labview and have found how to do a loop running for 2 seconds for example, and then to get out.

  • Silverlight install error code 1801

    Getting an error code: 1801 evrytime I try to install Silverlight. Pops up a window called 'Amyuni Document Converter', that says inside Installation of Windows 2000/XP/2003..................................................c:\...\uaclauncher.exeInsta

  • Windows is not start/no can not log

    Hello Today, when I played a video game from my computer froze. I couldn't do the ctrl alt del so I restarted the pc. After this restart, everything was normal, as the computer began. But as windows began = the screen with the loading bar was a littl

  • Screesaver

    I use the photo option for my screensaver, with the help of a folder with a number of subfolders. My question is when the photos are displayed is it possible to display the file name and location with the photo?