Accessing Iteration Dates through REST API

How should I go about getting the start and end dates for an iteration through the API?
If I attempt to access the iteration directly (using the URL retrieved by /_apis/wit/classificationnodes/iterations/{parent}&$depth=2) I receive a 'Node ID is not recognized' error:
"$id": "1",
"innerException": null,
"message": "TF51541: The Node ID is not recognized.",
"typeName": "Microsoft.TeamFoundation.WorkItemTracking.Server.Metadata.WorkItemTrackingTreeNodeNotFoundException, Microsoft.TeamFoundation.WorkItemTracking.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
"typeKey": "WorkItemTrackingTreeNodeNotFoundException",
"errorCode": 0,
"eventId": 3200
Is there another mechanism for getting this data?

Hi Steve,
Thanks for your post.
We can get the Iteration using general TFS API, it also works with VSO, please refer to the replies in this post:https://social.msdn.microsoft.com/Forums/en-US/6e6a8c5a-bb2a-4b51-9a43-df3c06448f1b/get-sprint-details-from-tfs?forum=tfsgeneral
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • 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

  • How do I access session data through an EJB?

    Hi
    How do I access session data through an EJB?
    I am currantly developing a Web service (using ejb's, JBoss.net and Apache Axis). A client making a call to this Web service, is expecting a bussiness-object in return. My problem is that this bussiness-object i stored in a users session data. How do I retrieve this bussiness-object from the users session.
    I have read that this does not work with httpsessions, is this true? If this is true, is it possible to store the bussiness object in a JavaBean e.g:
    <jsp:useBean id="userContextWebImpl" scope="session" class="com.ac.march.client.UserContextWebImpl">
    <%
    String key = "test";
    String value = "This is the value";
    userContextWebImpl.setValue( key, value1 );
    %>
    </jsp:useBean>
    and then retrieve this information through the EJB? Or is it possible to do this by using Statfull JavaBeans? Or can this be done through a nother solution?
    Please help!

    I have created a JavaBean with scope="application" to store some data. The data is stored when a user prefomes a spesific task.
    A different person then makes a call to a Web-Service on the server. The Web-Service then asks an EJB to retrieve the data stored in the JavaBean (servlet cotext). In other words: How do I retrieve this data from the EJB?
    I have tried with this code, but with no luck.
    (ApplicationContextWebImpl is the JavaBean)
    public static String getBookingResult( String key )
         String myResult = null;
         String myKey = key;
         ApplicationContextWebImpl applicationContextWebImpl = null;
         try
              applicationContextWebImpl = new ApplicationContextWebImpl();
              myResult = (String)applicationContextWebImpl.getValue( key );
         catch ( java.rmi.RemoteException e )
         return myResult;
    }

  • 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.

  • 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]

  • Accessing OIM data through API

    Hie,
    can u say me the code for " getting the resource accounts he have for the Particular user when his login is given as input" through OIM11gR2 api.

    you may get the user's key based on the user's login and then use the following OIM API to fetch a list of all the objects that have been provisioned for a user:
    Thor.API.tcResultSet getObjects(long plUserKey)
    Complete details:
    http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/Thor/API/Operations/tcUserOperationsIntf.html#getObjects_long_

  • How to request multi-machine blueprint information through rest api.

    We are building a portal in front of vRealize (don't ask me why) and I need to dynamically create multi-machine json files to request catalog items.
    If I connect through the api I can request the Blueprint details but not the additional blueprints it makes use of.
    Does anyone know how to request these additional information out of the rest api catalog?
    Thx in advance.

    The following method, unlike those above, will work. It requires you to know the MIME type of the binary file you wish to upload. This example uploads a PDF document.
    uploader.cfm
    <cfset restInitApplication(expandPath("."))>
    <cfhttp url="http://localhost:8500/rest/myRestApp/myService" method="post">
        <cfhttpparam file="C:\temp\testDoc.pdf" mimetype="application/pdf" name="myFile" type="file">
    </cfhttp>
    service.cfc
    <cfcomponent rest="true" restpath="/myService">
    <cffunction name="getFile" access="remote" httpMethod="POST" returntype="string">
    <cffile action="upload" accept="application/pdf" filefield="myFile" nameconflict="overwrite" destination="C:\Users\BKBK\Desktop\testFile.pdf">
    <cfreturn "File uploaded!">
    </cffunction>
    </cfcomponent>

  • How to Send pdf from Salesforce to Echosign through REST API?

    I'm trying to send PDF generated from Visualforce page and through Apex REST I'm trying to invoke Echosign REST API. But while invoking "/transientDocument" URL, it says Unsupported content type. Any help on how to construct multipart/form-data in Salesforce?

    I'm afraid it's a bit beyond me, but why not use the ready-made Echosign for Salesforce application you can download from the app exchange?

  • 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...

  • Accessing DB2 data through DBLINK in Java program recieves ORA-02063 error

    Hello,
    Is it posible to access a mainframe DB2 table through a Java JDBC connection utilizing a DBLink / Synonym. Using Toad or SQLDeveloper, I can select the DB2 data just fine. Also, PL/SQL programs can access the data without issues. When I try to select data from the DB2 Table in a Java program, I get ORA-01002: fetch out of sequence -- ORA-02063 preceding line from DB2D errors.
    The code I am using to test is:
    (Note: TBL_LOC_ADR is the Synonym that points to the Mainfram DB2 table)
    public static void main(String[] args) {
              Connection con = null;
              Statement stmt = null;
              String query = "SELECT * FROM tbl_loc_adr";
              ResultSet rs;
              try {
                   System.out.println("Getting connection");
                   con = BatchDBConnection.getDBConnection();
                   TestConnection tc = new TestConnection();
                   System.out.println("Creating ps");
                   stmt = con.createStatement();
                   System.out.println("Calling qds");
                   rs = stmt.executeQuery(query);
                   System.out.println(" Returned data " );
              } catch (Exception e) {
                   System.out.println("Error " + e.getMessage());
                   e.printStackTrace();
    The error occurs on the rs = stmt.executeQuery(query); line.
    Thanks for any input into this error. It's been driving me nuts all day.
    Chris

    Chris,
    What's your oracle version? You might be hitting a bug as identified in this metalkink doc id, see if this helps out. Resolution posted in the metalink by applying patches or confirm that you have applied all the required patches.
    Doc ID: 456815.1 ORA-01002 ORA-2063 When Profiling DB2/400 Table Accessed by View via Transparent Gateway for DRDA
    Regards

  • How to access archived data through queries

    Hi,
    I would like to know if there is any way to access the archived data through SAP query. I don`t have any infostructure for this archived data.

    You mean mails once present and readable on the iPad, but no longer there (in the, by default, 50-long mail list)?

  • 401 Unauthorized Error when accessing a task from REST API which contains Role or Privilege in Access Control definition

    Hi Team,
    As of IDM 7.2 SP8 patch2, when we use Enterprise role or Privilege in the access control definition of a task, accessing this task from UI5 i.e REST API is giving unauthorized error even though user is already having the required role or privilege.
    But the task is working fine if we use fixed user ID or keeping blank value in allowed users field.
    Attached the current access control definition of the task we configured & the error message info for reference
    Regards,
    Venkata Bavirisetty

    Hi Ralitsa,
    Thanks for your response and sorry for late reply.
    The XXXX in role is not used as a wild card. the name itself is in that format. I have searched the role and then selected from search list.
    Let me know if you need any clarifications?
    Refards,
    Venkata Bavirisetty

  • Delete Yammer Group through REST API

    Hi All,
    Is there any REST API from yammer which enables us to delete Yammer groups. We would just have to pass groupid(s) to the rest api url and my yammer groups should get deleted.
    I tried googling but could not find any. except these: https://www.yammer.com/api/v1/group_memberships.json?group_id=:4309911 which just deletes user from a group. Is there any rest api to delete the group itself ?
    Thanks in advance.
    Regards,
    Subhash S.

    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]

  • What are required authorizations for accessing data through DI API?

    Hi All,
    I have one scenario
    After receipt from production add-on asks  user if he wants to close the related production order.
    in form Data Event et_FORM_DATA_ADD
    if user says yes then related production order will be closed using DI API.
    This works perfectly for Superuser account, but not for the user who has full access to Production Module only.
    Is there any specific authorization I am missing here.
    Thanks,
    Atul.

    Hi Gordon,
    It gives error at this point way before closing the document
    Private Sub SBO_Application_FormDataEvent( ByRef BusinessObjectInfo As SAPbouiCOM. BusinessObjectInfo , ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent
        If (BusinessObjectInfo .BeforeAction = False) Then
    It says that user is not authorized
    Thanks,
    Atul

  • Accessing Webrfc Data through SAPui5.

    Hi Experts.
    I am facing a problem in Accessing the Webrfc (Json) data from SAP, I have created a WebRFC which return the Data into Json format when calling from Browser.
    Json is :
    { "itab" : [{"name" :"Faraz","age" :"26"},{"name" :"Sateesh","age" :"26"},{"name" :"Sahil","age" :"20"}] }
    The problem is i am not able to bind it into SAPUi5 Table. The table is empty.
    The code is as follows.
    // define the Table columns
          var arr =   $.ajax({
         type: 'GET',
         url: 'http://socwes1er198.solutions.glbsnet.com:8000/sap/bc/webrfc?sap-client=950&_FUNCTION=ZTEST_WEBRFC&_NAME=_NAME',
         contentType : "application/json",
         success: function(data) {
           var oModel_Projects = new sap.ui.model.json.JSONModel();
             oModel_Projects.setData({modelData: data});
             alert("Success");              
          var oTable = new sap.ui.table.Table({ 
                    title : "Simple Table", 
                    visibleRowCount : 8, 
                    selectionMode : sap.ui.table.SelectionMode.Single, 
                    navigationMode : sap.ui.table.NavigationMode.Paginator, 
               oTable.addColumn(new sap.ui.table.Column({ 
                      label : new sap.ui.commons.Label({ 
                                text : "Name" 
                      template : new sap.ui.commons.TextView().bindProperty("text", "name"), 
                      width : "50px" 
               oTable.addColumn(new sap.ui.table.Column({ 
                      label : new sap.ui.commons.Label({ 
                                text : "AGE" 
                      template : new sap.ui.commons.TextView().bindProperty( 
                                          "text", "age"), 
                      width : "50px" 
            //Create a model and bind the table rows to this model   
                    var oModel1 = new sap.ui.model.json.JSONModel(); 
                    //Get the forecastday array table from txt_forecast object   
                    var aData = oModel_Projects.getProperty("/itab"); 
                    oModel1.setData({modelData : aData}); 
                    oTable.setModel(oModel1); 
                    oTable.bindRows("/"); 
                    oTable.placeAt('content'); 

    Chris,
    What's your oracle version? You might be hitting a bug as identified in this metalkink doc id, see if this helps out. Resolution posted in the metalink by applying patches or confirm that you have applied all the required patches.
    Doc ID: 456815.1 ORA-01002 ORA-2063 When Profiling DB2/400 Table Accessed by View via Transparent Gateway for DRDA
    Regards

Maybe you are looking for

  • Can't share photos using shared Photo Stream with iCloud Control Panel for Windows

    BACKSTORY: My friend took pictures of my family. I want to see the pictures he took. We live about 2.5 hours apart by car. Gas prices are too high for me to just drive down with an external hard drive to get the pictures and I might as well throw my

  • How to make Steam library available for all users

    Hello! Can someone tell me - how to make my Steam library available to ALL users of my iMac without sharing a password? Or any other program of my account?

  • Nokia 2320 classic display question

    Hi, I have a 2320 classic and is there anyway to keep the display on all the time??? After a few seconds it  goes to a black screen and you have to hit a key to bring it back on. Hopefully my question makes sense. Thanks! Micky

  • Dreaded License Agreement question

    I know this has probably been asked millions of times, all over the place but I just want to make 100% sure. I downloaded Eclipse v3.3.2 which has the Crystal Reports for Eclipse version 1.0.6.v1371 plug-in. I wish to find out about the license agree

  • JSP generates html but the browser displays the html source

    Hi, I have iWS 4.1.3 on my Win2K Pro OS, as well as iAS 6.0. The documentation says that JSP is enabled by default. I put a simple .jsp file in my document root, and when I enter the url for the .jsp file, the browser displays the html source as oppo