VCloud REST API - Change computername on VApp Instantiation

I am using the VCloud REST API to instantiate a VApp from a Vapp template
When I POST the following XML
<?xml version="1.0" encoding="UTF-8"?>
  <InstantiateVAppTemplateParams xmlns="http://www.vmware.com/vcloud/v1.5"  xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
    deploy="false"
    name="Aruba005"
    powerOn="false">
    <Description>VApp Small Description</Description>
    <Source
      href="https://xxxx-vcd.vchs.vmware.com:443/api/vAppTemplate/vappTemplate-ca1d5d90-6c48-xxx-92cd-xxxxxxx"
      name="my_base_image"
      type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
</InstantiateVAppTemplateParams>
The VApp is created successfully.
However the VM has the default ComputerName baked into the VApp template
How do I change the above payload to change the ComputerName?

In the end had to create a Vapp and then change the VM name as a separate call
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vcloud:Vm xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
    name="ayubtest">
    <vcloud:Description>A waffer thin VM</vcloud:Description>
</vcloud:Vm>
Using PUT as specified here: VMware vCloud Director Documentation Center

Similar Messages

  • How to filter the Rest Api data based on Taxanomy columns

    Hi Everyone,
    We are using SharePoint2010 Standard Edition.
    I wanted get the library details through REST Api. I am using as below:
    https://SiteUrl/_vti_bin/listdata.svc/Documents?$filter=Title eq 'SharePointDoc'
    Here I am able to get the info regarding "SharePointDoc". But when I am trying to get the details from Taxonomy filter, it didn't.
    Can anyone please tell me how can we filter based on Taxanomy fields.
    Thanks in Advance
    Krishnasandeep

    Hi,
    I understand that you wanted to filter the Rest Api data based on Taxanomy columns.
    Per my knowledge, in SharePoint 2010 , not all types of column are available via REST, most annoyingly managed metadata columns are amongst this group of unsupported column types.
    However, in SharePoint 2013, we can filter list items based on taxonomy (managed metadata) columns.
    Taxonomy fields can be now called via REST API using CAML query in REST calls.
    Here is a great blog for your reference:
    http://www.cleverworkarounds.com/2013/09/23/how-to-filter-on-a-managed-metadata-column-via-rest-in-sharepoint-2013/comment-page-1/
    You’d better to change the REST calls and the CAML query to check whether it works in SharePoint 2010.
    More information:
    http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to configure some of VMX file configurations / VM Configuration Parameters via vCloudDirector REST API

    Hi
    We need to configure some settings for VM using vCloudDirector REST API other wise which can be down in 2 following ways.
    1. On VCenter -> select VM  ( in Power Off Mode ) -> Edit Settings -> Options -> Advanced -> General -> Configuration Parameters
         Add row with values like below
               ethernet0.ctxPerDev = 1
    2. -OR- directly login to Esxi Shell .. Open VMX file ( of the VM  - which can be located in /etc/vmware/hostd/vmInventory.xml ) and  add entries manually.
          Follow this KB http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1714
          for editing VMX file.
    We would like to know how this can be achieved using vCloud Director REST. We are using 5.5 versions for both VCD and VCenter.
    Thanks for help.
    Regards,
    Murali G D

    This level of modification is not available via vCloud Director's API afaik.  A similar question came up recently about modifying the amount of Video Memory on a VM, which you have to create some sort of custom workflow directly to vCenter/ESXi about.

  • Use REST API to upload a file to office365 OneDrive

    Hi All,
    I failed to use RESTClient upload a file from local pc to my office365 OneDrive follow the Microsoft article.
    the following is Microsoft link
    http://msdn.microsoft.com/en-us/library/office/dn605900%28v=office.15%29.aspx
    Create file with content
    Creates a new file and provisions the file with content. Provide the content as a bit stream in the POST body. The body is required.
    Request
    POST ../_api/files/Add(string name, boolean overwrite)
    Body
    Bit stream of file content.
    Response
    Returns file properties and response code.
    if someone have some code in native c or c++, please help.
    Many Thanks
    Will

    Hi Atul Barve,
    If you mean the document unique id with Document ID Service Feature, through Site Sittings->Site Collection Features->Document ID Features.
    Then, the field is included in REST API, you can get it through “OData__dlc_DocId”.
    For example, first get the items using
    http://siteurl/_api/web/lists/getByTitle(‘libraryname’)/items
    This will get all items in the list, then view the page in XML format or JSON format, we can see the item fields, include:
    <d:OData__dlc_DocId>AWMJNX7ZDCK7-1-4</d:OData__dlc_DocId><d:OData__dlc_DocIdUrl m:type="SP.FieldUrlValue">
    “OData__dlc_DocId” is represent the document id field.
    Document ID is unique in the site collection, the value will not change when you move the document from one library into another library.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Pass Parameter Through REST API into PivotChart in Excel Services 2013

    Is it possible to pass a parameter through the REST API into the filter of a PivotChart and return a filtered view of the chart?  I've figured it out mechanically, and can pass the parameter in - but the chart doesn't refresh with the new filter.
    For the record, I've looked at all of the online documentation on passing parameters and you'll note those all depict passing parameters into a table - not a PivotTable.
    Curious if Excel Services 2013 has made any progress in that regard.
    Thanks in advance...
    Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky

    Obviously it's not working for pivot tables/charts. Just found this in the SharePoint logs:
    04/06/2014 22:21:36.01 w3wp.exe (0x0920)                      
    0x1428
    Excel Services Application     Excel Calculation Services    
    d64g Medium  
    UserOperation.Dispose: Disposing Microsoft.Office.Excel.Server.CalculationServer.Operations.RestChartPngOperation, WebMethod: ProcessRestRequest.
    09ae849c-bf78-50fd-d9b9-915fd27bf5e1
    04/06/2014 22:21:36.01 w3wp.exe (0x0920)                      
    0x1428
    Excel Services Application     Excel Calculation Services    
    ecc4 Medium  
    ExcelServiceBase.EndProcessOperation: Found an exception on the AsyncResult of an operation which has not been departed from. Exception is Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceBase+EcsFaultException:
    Cannot change cells in a PivotTable report. (Fault Detail is equal to Microsoft.Office.Excel.Server.ExcelServerMessage).
    09ae849c-bf78-50fd-d9b9-915fd27bf5e1
    Disappointing...

  • REST API ACS vs ISE

    Hi all
    We are currently using ACS for wireless authentication. Guests register over an external Sharepoint webpage. The REST API is used to create and later delete these temporary users in ACS.
    Now we want to migrate to ISE. In contrast to ACS, the ISE REST API seems to have no CRUD (Create, Read, Update and Delete) capabilities for Users. The ISE internal guest portal at the other hand we don't want to use.
    Is there any other possibility to create Users in ISE from an external Application ?
    Thanks Thomas

    Hi Thomas,
    Cisco  ISE allows you to view, create, modify, duplicate, delete, change the  status, import, export, or search for attributes of Cisco ISE users.
    ISE also allows you to import user data in the form of a csv file into its  internal database. Instead of entering user accounts manually into Cisco  ISE, you can import them.
    Following are the steps,
    Step 1 Choose Administration > Identity Management > Identities > Users.
    Step 2 Click Import to import users from a comma-delimited text file.
    Tip (Optional) If you do not have a comma-delimited text file, click Generate a Template to create this type of file.
    Step 3 In the File text box, enter the filename containing the users to import, or click Browse and navigate to the location where the file resides.
    Step 4 Check the Create new user(s) and update existing user(s) with new data check boxes if you want to both create new users and update existing users.
    Step 5 Click Save to save your changes to the Cisco ISE internal database.
    http://www.cisco.com/en/US/docs/security/ise/1.2/user_guide/ise_man_id_stores.html#wp1407470

  • REST API, multiple places for one text in Emails JSON

    Hi,
    I am using REST API to operate on Emails object. Now I am having a question which confuses me. As you can see, from the returned JSON there are three places stored the email content text "this is test h...." which locate at "htmlContent", "root" and "plainText". So a problem is which is the real text which affects the update back to Eloqua by put/post method.  Or what did I miss?
    Another major problem besides the aboe problem, I found there are also other diferences like format.
    "htmlBody":
    this is test h<\/span><\/td><\/tr><\/table><\/div><\/div><\/td><td align=\"left\" valign=\"top\" width=\"251\" height=\"37\" id=\"empty7\"><\/td><\/tr><tr><td align=\"left\" valign=\"top\" width=\"51\" height=\"19\" id=\"empty8\"><\/td>\r\n<td align=\"left\" valign=\"top\" width=\"6\" height=\"19\" id=\"empty9\"><\/td><td align=\"left\" valign=\"top\" width=\"292\" height=\"19\" id=\"empty10\"><\/td><td align=\"left\" valign=\"top\" width=\"251\" height=\"19\" id=\"empty11\"><\/td><\/tr><tr><td align=\"left\" valign=\"top\" width=\"51\" height=\"51\" id=\"empty12\"><\/td><td align=\"left\" valign=\"top\" width=\"6\" height=\"51\" id=\"empty13\"><\/td><td valign=\"top\" align=\"left\" rowspan=\"1\" colspan=\"1\" width=\"292\" height=\"51\" id=\"view14\" style=\"color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px\"><div id=\"sc3432\" class=\"sc-view hidden-border inline-styled-view editor-outline\" style=\"left: 57px; width: 292px; top: 76px; height: 51px; color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px; overflow: hidden\"><div class=\"co-border-style\" style=\"\">\r\n<table width=\"292\" height=\"51\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" bordercollapse=\"collapse\" class=\"co-style-table\" style=\"color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px\"><tr><td valign=\"top\" class=\"valign-able\"><span class=\"remove-absolute\">IE11 seems<a href=\"http://s1134754694.t.en25.com/e/er?s=1134754694&lid=5&elq=<span class="eloquaemail">recipientid<\/span>\" title=\"link test\"> does not suppor<\/a>t text mo<a href=\"http://www.example.com/?elq=~~eloqua..type--emailfield..syntax--recipientid~~&elqCampaignId=~~eloqua..type--campaign..campaignid--0..fieldname--id~~\">de. T<\/a>his is <b><font style=\"font-size:22px;\">create<\/font><\/b>d from Chrome.
    "root:
    "IE11 seems<a href=\\\"http://www.example.com/?elqTrack=true\\\" title=\\\"link test\\\"> does not suppor<\/a>t text mo<a href=\\\"http://www.example.com/\\\">de. T<\/a>his is <b><font style=\\\"font-size:22px;\\\">create<\/font><\/b>d from Chrome.\"
    "plainText":
    this is test h    \r\n\r\nIE11 seems does not suppor <http://<elqdomain type=1/>/e/er?s=1134754694&lid=5&elq=<span class=eloquaemail>recipientid<\/span>>t text mode. T <http://www.example.com/?elq=~~eloqua..type--emailfield..syntax--recipientid~~&elqCampaignId=~~eloqua..type--campaign..campaignid--0..fieldname--id~~>his is created from Chrome.
    So the problem is how do I differentiate them?
    "bounceBackEmail": "[email protected]",
    "contentSections": [],
    "createdAt": "1409394422",
    "createdBy": "12",
    "currentStatus": "Draft",
    "depth": "complete",
    "dynamicContents": [],
    "emailFooterId": "1",
    "emailGroupId": "1",
    "emailHeaderId": "1",
    "encodingId": "3",
    "fieldMerges": [],
    "folderId": "42",
    "forms": [],
    "htmlContent": {
      "docType": "<!DOCTYPE html>",
      "htmlBody": "<body style=\"\"> <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td align=\"center\" height=\"0\"><\/td><\/tr><tr><td><table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" bordercollapse=\"collapse\" align=\"center\" width=\"600\" id=\"sc3170\" style=\"table-layout: auto\"><tr><td align=\"left\" valign=\"top\" width=\"51\" height=\"20\" id=\"empty0\"><\/td><td align=\"left\" valign=\"top\" width=\"6\" height=\"20\" id=\"empty1\"><\/td><td align=\"left\" valign=\"top\" width=\"292\" height=\"20\" id=\"empty2\"><\/td><td align=\"left\" valign=\"top\" width=\"251\" height=\"20\" id=\"empty3\"><\/td><\/tr><tr><td align=\"left\" valign=\"top\" width=\"51\" height=\"37\" id=\"empty4\"><\/td><td valign=\"top\" align=\"left\" rowspan=\"1\" colspan=\"2\" width=\"298\" height=\"37\" id=\"view5\" style=\"color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px\">\r\n<div id=\"sc3447\" class=\"sc-view hidden-border inline-styled-view editor-outline\" style=\"left: 51px; width: 298px; top: 20px; height: 37px; color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px; overflow: hidden\"><div class=\"co-border-style\" style=\"\"><table width=\"298\" height=\"37\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" bordercollapse=\"collapse\" class=\"co-style-table\" style=\"color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px\"><tr><td valign=\"top\" class=\"valign-able\"><span class=\"remove-absolute\">this is test h<\/span><\/td><\/tr><\/table><\/div><\/div><\/td><td align=\"left\" valign=\"top\" width=\"251\" height=\"37\" id=\"empty7\"><\/td><\/tr><tr><td align=\"left\" valign=\"top\" width=\"51\" height=\"19\" id=\"empty8\"><\/td>\r\n<td align=\"left\" valign=\"top\" width=\"6\" height=\"19\" id=\"empty9\"><\/td><td align=\"left\" valign=\"top\" width=\"292\" height=\"19\" id=\"empty10\"><\/td><td align=\"left\" valign=\"top\" width=\"251\" height=\"19\" id=\"empty11\"><\/td><\/tr><tr><td align=\"left\" valign=\"top\" width=\"51\" height=\"51\" id=\"empty12\"><\/td><td align=\"left\" valign=\"top\" width=\"6\" height=\"51\" id=\"empty13\"><\/td><td valign=\"top\" align=\"left\" rowspan=\"1\" colspan=\"1\" width=\"292\" height=\"51\" id=\"view14\" style=\"color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px\"><div id=\"sc3432\" class=\"sc-view hidden-border inline-styled-view editor-outline\" style=\"left: 57px; width: 292px; top: 76px; height: 51px; color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px; overflow: hidden\"><div class=\"co-border-style\" style=\"\">\r\n<table width=\"292\" height=\"51\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" bordercollapse=\"collapse\" class=\"co-style-table\" style=\"color: #000000; font-family: Arial; font-size: 12px; line-height: 18px; letter-spacing: 0px; margin-top: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 0px\"><tr><td valign=\"top\" class=\"valign-able\"><span class=\"remove-absolute\">IE11 seems<a href=\"http://s1134754694.t.en25.com/e/er?s=1134754694&lid=5&elq=<span class="eloquaemail">recipientid<\/span>\" title=\"link test\"> does not suppor<\/a>t text mo<a href=\"http://www.example.com/?elq=~~eloqua..type--emailfield..syntax--recipientid~~&elqCampaignId=~~eloqua..type--campaign..campaignid--0..fieldname--id~~\">de. T<\/a>his is <b><font style=\"font-size:22px;\">create<\/font><\/b>d from Chrome.<\/span><\/td><\/tr><\/table><\/div><\/div><\/td><td align=\"left\" valign=\"top\" width=\"251\" height=\"51\" id=\"empty15\"><\/td><\/tr><tr><td align=\"left\" valign=\"top\" width=\"51\" height=\"473\" id=\"empty16\"><\/td><td align=\"left\" valign=\"top\" width=\"6\" height=\"473\" id=\"empty17\"><\/td>\r\n<td align=\"left\" valign=\"top\" width=\"292\" height=\"473\" id=\"empty18\"><\/td><td align=\"left\" valign=\"top\" width=\"251\" height=\"473\" id=\"empty19\"><\/td><\/tr><\/table><\/td><\/tr><tr><td align=\"center\" height=\"0\"><\/td><\/tr><\/table> <\/body>",
      "metaTags": [],
      "root": "SC.Page.design({mainView: CoreOrion.DropView.design({inlineStyles: {\"borderWidth\": \"2\",\"borderStyle\": \"none\"},childViews: [CoreOrion.TextBoxView.design({layout: {\"left\": 57,\"top\": 76,\"height\": 51,\"width\": 292},value: \"IE11 seems<a href=\\\"http://www.example.com/?elqTrack=true\\\" title=\\\"link test\\\"> does not suppor<\/a>t text mo<a href=\\\"http://www.example.com/\\\">de. T<\/a>his is <b><font style=\\\"font-size:22px;\\\">create<\/font><\/b>d from Chrome.\",inlineStyles: {\"borderWidth\": \"2\",\"borderStyle\": \"none\",\"color\": \"#000000\",\"fontFamily\": \"Arial\",\"fontSize\": \"12px\",\"lineHeight\": \"18px\",\"borderColor\": \"#000\",\"letterSpacing\": \"0px\"}}),CoreOrion.TextBoxView.design({layout: {\"left\": 51,\"top\": 20,\"height\": 37,\"width\": 298},value: \"this is test h\",inlineStyles: {\"borderWidth\": \"2\",\"borderStyle\": \"none\",\"color\": \"#000000\",\"fontFamily\": \"Arial\",\"fontSize\": \"12px\",\"lineHeight\": \"18px\",\"borderColor\": \"#000\",\"letterSpacing\": \"0px\"}})]})})",
      "systemHeader": "<style>body{   } a img{border: none;}.ReadMsgBody { width: 100%;}.ExternalClass {width: 100%;}div.sc-view.hidden-border.inline-styled-view.editor-outline {height: 100% !important;}<\/style>",
      "type": "StructuredHtmlContent"
    "hyperlinks": [
       "href": "http://s1134754694.t.en25.com/e/er?s=1134754694&lid=5&elq=<span class="eloquaemail">recipientid<\/span>",
       "id": "-1",
       "name": " does not suppor",
       "type": "Hyperlink"
       "href": "http://www.example.com/",
       "id": "-2",
       "name": "de. T",
       "type": "Hyperlink"
    "id": "71",
    "images": [],
    "isPlainTextEditable": "false",
    "isTracked": "false",
    "landingPages": [],
    "layout": "{\"body\":{\"width\":600,\"height\":600}}",
    "name": "Erica Email 2",
    "permissions": "fullControl",
    "plainText": "\r\n\r\nthis is test h    \r\n\r\nIE11 seems does not suppor <http://<elqdomain type=1/>/e/er?s=1134754694&lid=5&elq=<span class="eloquaemail">recipientid<\/span>>t text mode. T <http://www.example.com/?elq=~~eloqua..type--emailfield..syntax--recipientid~~&elqCampaignId=~~eloqua..type--campaign..campaignid--0..fieldname--id~~>his is created from Chrome.    \r\n\r\n",
    "replyToEmail": "[email protected]",
    "replyToName": "Technology Partner – Welocalize",
    "sendPlainTextOnly": "false",
    "senderEmail": "[email protected]",
    "senderName": "Technology Partner – Welocalize",
    "style": "{}",
    "subject": "Erica",
    "type": "Email",
    "updatedAt": "1409547402",
    "updatedBy": "12"

    hi leo,
    if you're looking to update the contents of the email then:
    * change htmlBody to update the html version of the email
    * change plainText to update the plain text version of the email
    you can safely ignore the root property.
    ~ alex

  • How to use WebCenter REST API to like or comment a activity

    Hi all
    I want to know how to realize like or comment function with REST APIs.
    I execute a REST call with following url, but the 'like' counter is not be increased.
    http://cdcjp77vm3.cn.oracle.com:8888/rest/api/activities/services/oracle.webcenter.community/objectTypes/groupSpace/objects/(s2518c69b_1989_4a63_8886_c32075c76b9c)/likes?&utoken=FDNA-Z7ekZuPnVSNoPWOqTJ2IzAE_w**
    Is there anything i missed?
    Can anyone give me an example about how to use this API to like or comment a activity?
    Thanks
    Qian

    So Qian;
    looking through the code this is how you can
    Post a comment (POST)
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/comments?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
    {key:val}
    {text:'this is my comment)
    Edit a comment (PUT)
    So I haven't tried it but it should do the trick.. although I don't see update under capabilities so you may get blocked.
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/comments?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
        id: {commentId},
        text: 'changed my comment.. magic'
    Delete a comment (DELETE)
    /rest/api/activities/services/{serviceId}/objectTypes/groupSpace/objects/({objectId})/comments/{commentId}?utoken=blah
    Like POST
    /rest/api/activities/services/{serviceId}/objectTypes/{objectType}/objects/({objectId})/likes?startIndex={startIndex}&itemsPerPage={itemsPerPage}&utoken=blah
    I passed it an empty object {} seemed to work for me.
    Unlike (DELETE)
    /rest/api/activities/services/oracle.webcenter.community/objectTypes/groupSpace/objects/({objectId})/likes/({likeId})?utoken=blah
    Let me know if this works for you

  • InfoPath 2013 Read SharePoint 2013 File data using Rest API Access Denied Exception

    I am designing a set of Forms and they need to query Data from among themselves.
    The whole set up described below works in the Form Filler/Preview
    I'll call them Form A and Form B
    Form A has a repeating table that needs to be displayed in Form B
    The user selects from a DropDown in Form B an Instance of Form A, using the selected I REST connection is executed so the Form A xml is available inside Form B. The connection is set up as follows:
    _api/web/lists/ListName/Items(SelectedId)/File/$value
    I publish the form as site content type, add it to a library, after triggering the REST connection I get an error. ULS gives me a 401 Access denied for NT Authority\IUSR (as it should since I don't have anonymous access enabled [nor has that solved the issue])
    That's my issue. All requests on the REST api are being executed as anonymous and not as a user that should have permission.
    Things I've tried:
    1. The connection uses a UDCX file, the conenction is set to use the form server proxy. The proxy has been enabled for the Form Services, web application and user connection. I've tried it with a configured App ID or an Explicit account
    2. I've tried enabling Anonymous access, but have had no success
    3. I've gotten the Query to work on Post Backs by adding the following to the web.config:
    <location path="_layouts/15/Postback.FormServer.aspx">
        <system.web>
          <identity impersonate="false" userName="bhs\sp_admin_dev" password="M1crosoft" />
        </system.web>
      </location>
    And while it solves the issue for Postback requests and I could add FormServer.aspx to the list I can't use this solution for a production environment, nor can I predict other issues that could be caused by the change.
    I haven't been able to find any references to this error so I wonder if I'm doing something wrong or if there's another way to do this.
    If I've been unclear on anything, let me know and I'll try to clear it up.

    Hi Choggo,
    thank you for your information,
    regarding this issue, it seems we may need to debug and trace your network, to check if should the parameter that is used for the REST connection is correct.
    i checked with infopath team members regarding this issue, they suggest that you try with impersonation, so that the user that login is not anonymous, but the user that you already been assign with.
    the last suggestions from our sharepoint team members that we are able to do, as we have limited tools on this forum support, that you need to check the file udcx itself, do the permission to access that file is correct, so for example, if the file is not
    having the permission to be read/access then the system may result with anonymous account, so that we may have the result that the data that should be passed are able to accessed.
    if should this suggestion not applicable to your environment, our sharepoint team members suggest that you to open an incident ticket, so that we can check and re-confirm more deep for you if should this is an undocumented feature or not.  the action
    plans is to have a remote session, then we can trace the data passing process, that is already correct, so that the IUSR is not appear when it authenticate.
    http://support.microsoft.com/contactus/?wa=wsignin1.0
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • External Rest API call from SharePoint 2013 On Premises

    Hi All,
    May my questions is silly but I am totally tired by trying different things.
    I need to call a third party rest api from my SharePoint Designer page using &Ajax call.First time when i tried it gave me access denied then added this line
    jQuery.support.cors =true;
    Again error changed to "No Transport" last time i had the same situation i saw some sites where people mentioned some power shell script to enable something at web app level but didn't remember if possible can some help me please i already wasted
    my half long weekend :(
    Note :- This is SharePoint On Premises
    Thanks in Advance :)

    Hi All,
    May my questions is silly but I am totally tired by trying different things.
    I need to call a third party rest api from my SharePoint Designer page using &Ajax call.First time when i tried it gave me access denied then added this line
    jQuery.support.cors =true;
    Again error changed to "No Transport" last time i had the same situation i saw some sites where people mentioned some power shell script to enable something at web app level but didn't remember if possible can some help me please i already wasted
    my half long weekend :(
    Note :- This is SharePoint On Premises
    Thanks in Advance :)

  • Use REST API to query contacts with a field updated since certain time?

    Hello,
    Using the REST API and trying to figure out how I can query for contacts that have had a field updated since a specified time. I've tried using the "lastUpdatedAt" arg, but to me it seems like I'm getting back contacts that maybe haven't had any data change, but were probably sent an email or something of that sort (so the updated at value was changed)
    Is there a way to query for contacts that have had fields change (Like subscriptions, address, title, etc) but exclude those contacts that only have their updated values changes because they were sent an email?
    Thanks!

    Hi Chris,
    lastUpdatedAt or "Date Modified" fields don't change when the contact is sent an email, but rather, when ANY field is modified on the contact record. You can certainly query for and export contacts that had their data touched in some way since a specified time, but it won't be on a per-field basis. There is effectively no field level change history or tracking. You can work around this with extra logic. First, you can get a snapshot of what the values were in the specific fields you want to track across your entire database.
    The next time you run an export using Date Modified, it will contain more records than you might care about, but you can filter offline for the ones you do care about by comparing their before and after values for the specific 'tracked' fields.
    Regards,
    Bojan

  • Data Centers URL through Rest API

    Hi All,
    Below is the set of question:
    Is hitting the API https://login.eloqua.com/id is the only way to get the endpoint specific to User?
    Does the endpoint remains same every time or it changes?
    Suppose I have purchased the license. The license is valid for 10 user. Do the endpoints will differ for the 10 users?
    Awaiting your response.
    Thanks in advance.
    Regards
    Brajmohan

    Hi,
    According to your description, you want to delete a group in Yammer using the REST API endpoint of Yammer.
    As it is more relate to Yammer development, it would be more appropriate to ask for help in the corresponding forum, you will get more help and confirmed answers there:
    http://community.office365.com/en-us/w/yammer/default.aspx
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Office 365 REST API - Mail, Calendar, Contacts Update

    UPDATE: We have announced General Availability of our REST APIs. The refreshed documentation which covers all the changes and much more is now available
    here.
    I wanted to share an update on our Mail, Calendar, Contacts REST API. Over the last few months we have been heads down updating the APIs. Most of the changes are a direct result of all the great feedback that we have received from
    customers like you and we are very excited about sharing these changes. 
    These changes are starting to light up in the service and we have already received questions/comments about them from some of you.
    Some of these changes are not backward compatible.  
    Due to versioning not yet implemented (but coming soon!), and these API’s being in preview, they might require simple updates to your code.
      Once versioning is in place, introducing non-backward compatible changes won’t impact your existing code. 
    Stay tuned for a full list of these changes along with the refreshed documentation and client libraries. 
    We have received a number of questions on some specific changes which I wanted to share a workaround for:
    1. Folder names after ../ews/odata/Me, such as Inbox, SentItems, DeletedItems, Drafts will additionally require a “Folders” in front of them in the URL.
    REST URL:
    Before  :
    https://outlook.office365.com/ews/odata/Me/Inbox
    Now      :
    https://outlook.office365.com/ews/odata/Me/Folders/Inbox
    .Net code sample:
    var messageResultsBefore = await (from i in client.Me.Inbox.Messages select i).ExecuteAsync();
    var messageResultsNow = await (from i in client.Me.Folders.GetById("Inbox").Messages select i).ExecuteAsync();
    2. The Namespace has been updated from "#Microsoft.Exchange.Services.OData.Model" to “Microsoft.OutlookServices” and hence the fully qualified type names have to be updated to reflect that. In most cases though, you do not need to provide the odata.type
    property as we can infer it based on where you make the post. For example, if you POST to ../Me/Contacts, we know you are trying to create a contact.
    3. Contacts changes: To make the API easier to use, we have replaced EmailAddress1, EmailAddress2, EmailAddress3 with a collection of a new type called EmailAddress. We have similarly also changed BusinessPhones, HomePhones to collections.
    Sample payload showing how to create a contact with EmailAddresses and BusinessPhones:
    "GivenName": "John", 
    "EmailAddresses": [    
    "Address": "[email protected]",
    "Name": "John"
    "BusinessPhones": [
    "123-456-7890" 
    4. Event Changes: The property Attendees now includes the type “EmailAddress”.
    Sample Event payload showing how to create an Event.
    "Subject": "Discuss the Calendar REST API", 
    "Body": {   
    "ContentType": "HTML",   
    "Content": "I think it will meet our requirements!" 
    "Start": "2014-07-02T18:00:00Z", 
    "End": "2014-07-02T19:00:00Z", 
    "Location": {     
    "DisplayName": "Conference Room 1"   
    "ShowAs": "Busy", 
    "Attendees": [   
    "EmailAddress": {
    "Name":"Alex Darrow",
    "Address": "[email protected]"
    "Type": "Required"   
    "EmailAddress": {
    "Name": "Anne Wallace",
    "Address": "[email protected]"
    "Type": "Optional"   
    "EmailAddress": {
    "Name": "Conference Room 1",
    "Address": "[email protected]"
    "Type": "Resource"   
    5. We have introduced a simple API for sending email called SendMail, and have removed the custom parameter MessageDisposition which was difficult to understand and discover.
    The sendmail action, takes two parameters, a required parameter which is the Message itself and an optional parameter, "SaveToSentItems" which by default is set to true.
    Sample Request to create and send email with one call:
    POST:
    https://outlook.office365.com/ews/odata/me/sendmail
    "Message":{   
    "Subject": "Have you seen this new Mail REST API?",   
    "Importance": "High",   
    "Body": {     
    "ContentType": "HTML",     
    "Content": "It looks awesome!"   
    "ToRecipients": [{         
    "EmailAddress": {           
    "Name": "John Doe",           
    "Address": "[email protected]"         
    If you are running into any issues please post on stackoverflow here:
    http://stackoverflow.com/questions/tagged/office365
    We apologize for any inconvenience and thank you for your continued feedback!

    Hi, 
    I was trying to create and update the calendar event using [POST] https://outlook.office365.com/api/v1.0/me/events and [PATCH] https://outlook.office365.com/api/v1.0/me/events/<eventId> respectively.
    When i try with poster or postman, I get this error
    {error: {code: "ErrorInvalidRequest" message: "Cannot read the request body."} }
    its not working . Any help will be appreciated.
    Note: GET events and DELETE Events are working. I think the API with payload is not working.

  • Any reason for more push from MS for Client OM and REST API during the SP 2013 portal solution dev

    hi,
     Would like to know, why Microsoft has put more emphasis on Client OM and REST API in SP 2013 portal solutions dev.
    Is there any prticular reason for this.If we develop our solutions in Server Object  Model any performance/scalability related issues would be appearing in the near future , once i "Go Live" of my portal ?
    Any indications given by MS saying, "we  wont allow ISV/vendors/ to build  server object model based solutions in the near future".

    The real question might be "how long will there be an on premise version of SharePoint?" or "will we move our SharePoint to the cloud in the future?" There is an obvious push to the cloud for SharePoint. While all indications point to at least one more on
    premise version of SharePoint, as a best practice any code you develop should run in both environments, and that will limit you to the new app model.
    As far as performance, traditional server side code runs on the web front end servers. Any poorly performing code would have a negative impact on the servers and users. Therefore, performance/scalability is up to the skills of the developer. The primary
    change around the app model is to move all custom code off of the web front ends and onto the client or other servers (via web services). Using the app model you can scale the app servers as needed separately from the "SharePoint" servers. (and of course,
    your code would might still work if your SharePoint environment later moves to the cloud.)
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Query listitems by view through REST api

    I've created a custom view, and I want to access the list items based on this view through REST api.
    I've tried .../_api/web/lists(listguid)/view(viewguid)/items, but it seems not working.
    Is it possible, any ideas?
    Thanks,
    Laszlo

    Hi,
    Unfortunately, it is not possible to grab a list view via REST.  You can get the syntax for what you can grab for a list with REST by typing something like this into your browser and viewing the page source:
    https://domain/sites/sitename/_api/web/lists(guid'4065067c-e4b8-46d5-a433-76b27f508d1d')
    Simply view the source of this page once you have logged into your SharePoint site.  You will see all the possible href values you can use based on your list guid (obviously you'll have to change the values above to match your data). 
    What you can do with REST is to use certain parameters to filter your list (similar to how OOTB list views do).  Check out these pages with some examples of what I mean:
    http://msdn.microsoft.com/en-us/magazine/dn198245.aspx  (Scroll down to Advanced Operations where they talk about $select, $filter, etc.).
    http://msdn.microsoft.com/en-us/library/jj164022.aspx
    Hope this helps,
    ~ Katie

Maybe you are looking for

  • Term ...edge of the network

    Hi, I usually read this term 'The switch should be at the edge of the network' but not too sure what it means ... My understanding is that the switch should be the distribution switch or something of this sort. Is this correct, if no, please help to

  • Image type problem

    Dear all, I've modified the threshold example for a single U16 image of cells, which, while running and changing the threshold values, shows the original example, the thresholded example, as well as to histographs for both images. However, somewhere,

  • Drag drop from bridge to InDesign.

    I am having problems with getting drag drop to work from bridge to InDesign. I have made an extension that reads information from ouer dam and shows it in bridge. I wont to bee able to drag a node from that data from bridge(It shows fine in bridge wi

  • How do I keep iCloud mail from being my outgoing message default address?

    When I send outgoing messages on Mail, it defaults to iCloud rather than my Mail POP account.  I have the POP account selected in preferences.

  • Externe Verbindung friert ein (ex2)

    Guten Tag, seit nunmehr einer Woche besitze ich eine WD My Cloud EX2 4TB und fand diese zunächst recht leicht zu handhaben (Regestriert, Benutzer angelegt, Ordner erstellt, Freigaben verteilt, etc).Das einzige was nicht so recht funktionieren will, i