Visual Studio Integrate REST Api - WIQL request returns status 400 (Bad Request)

Hi,
I'm attempting to submit a WIQL (Work Item Query Language) request to the Visual Studio Online REST api but receiving a status code 400 (Bad Request).
I'm using the sample request of the first example "Run a query" of the reference documentation listed here: http://www.visualstudio.com/en-us/integrate/reference/reference-vso-work-item-wiql-vsi
I've taken the sample request: https://fabrikam.visualstudio.com/DefaultCollection/Fabrikam-Fiber-Git/_apis/wit/wiql?api-version=1.0-preview.2 and substituted "fabrikam" with our account and "Fabrikam-Fiber-Git" with our team project
name.
I've used the exact same query listed for the sample request:
  "query": "Select [System.WorkItemType],[System.Title],[System.State],[Microsoft.VSTS.Scheduling.Effort],[System.IterationPath] FROM WorkItemLinks WHERE Source.[System.WorkItemType] IN GROUP 'Microsoft.RequirementCategory' AND Target.[System.WorkItemType]
IN GROUP 'Microsoft.RequirementCategory' AND Target.[System.State] IN ('New','Approved','Committed') AND [System.Links.LinkType] = 'System.LinkTypes.Hierarchy-Forward' ORDER BY [Microsoft.VSTS.Common.BacklogPriority] ASC,[System.Id] ASC MODE (Recursive, ReturnMatchingChildren)"
Couple of things that I've tried:
1. I've tried both "api-version=1.0-preview.2" and "api-version=1.0-preview.1"
2. I've left out the project name from the request url: Based on the query format listed in the example "https://{account}.visualstudio.com/defaultcollection/[{project}/]_apis/wit/wiql?api-version={version}" I'm assuming that the wrapping of the
project section in the url in square brackets ([{project}/]) indicates that this section is optional.
3. I've tried a simpler query:
 "query": "Select [System.WorkItemType],[System.Title],[System.State],[Microsoft.VSTS.Scheduling.Effort],[System.IterationPath], [Microsoft.VSTS.Common.BacklogPriority] From WorkItems"
Any help would be greatly appreciated.
Kind Regards,
Morné

Hello Morne,
Visual Studio Integrate forum is for questions about Visual Studio extension development. Yours seems to be about Visual Studio Online REST API to query something. Maybe
Visual Studio Online forum is better, I'm not sure.
I move it to [where is this forum for ...] forum, where the moderator will direct you to the right forum.
Thanks for your understanding.
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

  • "The request failed with HTTP Status 400: Bad Request." when running reports

    Hi,
    I installed reporting services and the install went fine.  The Reporting Services are located on a different server.  I can see all the reports in SCCM but when I try to run them I get the "400" error with the following details:
    System.Net.WebException
    The request failed with HTTP status 400: Bad Request.
    Stack Trace:
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadReport2(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.<>c__DisplayClass2.<LoadReport>b__0()
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
       at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
       at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
       at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
       at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
    I can open the URL from the SCCM server but when I select a report I am unable to select any report options if available.  If no options are availble the report just doesn't run,  I don't get and error if I select "View Report" mutiple
    times.
    If I connect to the Reporting Services site on the computer where it is installed all the reports run fine.
    One thing I have noticed is that when I try to change or add a role assignment for Reporting Services the edited account always reverts back to the default settings and the added Domain user is dropped.
    Thanks

    I reviewed the topic and found a couple of steps I missed the first time around.  I had to "Configure Reports to Use Report Builder 3.0 and setting the "Log on Locally" permission. 
    I then uninstalled the role and reinstalled it.  I am still getting the 400 error.
    When I inspected the SmsAdminUI.log I noticed the Error on the last line 2151811598 (it repeats in the log).  I couldn't find anything specific related to it.  By reading a few "related" Internet posts I came accross a intial setup
    blog that noted some WMI firewall execptions (Async-in, DCOM-in and WMI-in) as require so I checked and they were not allowed on the SCCM server so I allowed them and tested with the same result.  I turned them off again. 
    Here is the tail end of the SmsAdminUI.log
    [19, PID:2684][01/24/2013 16:08:29] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [4, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [15, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
    [1, PID:2684][01/24/2013 19:06:02] :System.Management.ManagementException\r\nNot found \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       at System.Management.ManagementBaseObject.get_Item(String propertyName)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Error retrieving object FileType=2";
     ErrorCode = 2151811598;
     File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
     Line = 1208;
     Operation = "GetObject";
     ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
     ProviderName = "ExtnProv";
     StatusCode = 2147749890;
    \r\n
    [1, PID:2684][01/24/2013 23:39:14] :System.NullReferenceException\r\nObject reference not set to an instance of an object.\r\n   at Microsoft.ConfigurationManagement.AdminConsole.SmsCustomDialog.get_LocaleIndependentIdentifier()
       at Microsoft.ConfigurationManagement.AdminConsole.ShowDialogTaskHandler.DoTask(NavigationModelNodeBase node, SccmTaskConfiguration sccmTask, PropertyDataUpdated dataUpdatedDelegate, Boolean readOnly)\r\n
    [1, PID:5008][01/25/2013 20:48:00] :System.Management.ManagementException\r\nNot found \r\n   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.Initialize(Boolean getObject)
       at System.Management.ManagementBaseObject.get_wbemObject()
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       at System.Management.ManagementBaseObject.get_Item(String propertyName)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
    instance of SMS_ExtendedStatus
     Description = "Error retrieving object FileType=2";
     ErrorCode = 2151811598;
     File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
     Line = 1208;
     Operation = "GetObject";
     ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
     ProviderName = "ExtnProv";
     StatusCode = 2147749890;
    \r\n

  • BPC NW 7.5 - Request failed with HTTP status 400:  Bad Request

    Dear Experts,
    I am trying to upload a flat file to BPC server. I am getting the following error.
    " Request to transfer a file to the server failed (ERROR): The request failed with HTTP status 400: Bad Request"
    Could any of you please help?
    I am selecting BPC for excel >manage data > upload data file > selection for source file > selection of destination file > ok
    Thanks in advance
    Vipin Jain

    Hi Vipin,
    Glad to know that you have heard good about me.
    Can you try to upload the same file from some other system. If it doesnt work from any system, there might be some problem with the flat file. In that case, you can try to create a small and simple file and try to upload that.
    You might also get this error if there is a blank line at the end of the file.
    Hope this helps.

  • REST API Does not return JSON

    Hi,
    Currently I am Writing a Console Application Which should return JSON but It is not. instead it is returning me XML.
    System.Net.Http.HttpClient _Client = new System.Net.Http.HttpClient();
    _Client.BaseAddress = new Uri("http://test/sites/abc");
    _Client.DefaultRequestHeaders.Add("accept", "application/json; odata=verbose");
    any idea what is wrong ?
    Thanks, Parth

    Hi Parth,
    The following code for your reference:
    string jsonRequest = "http://sharepoint/sites/ts/_api/web/lists";
    CredentialCache credCache = new CredentialCache();
    credCache.Add(new Uri(jsonRequest), "NTLM",CredentialCache.DefaultNetworkCredentials);
    HttpWebRequest spRequest =(HttpWebRequest)HttpWebRequest.Create(jsonRequest);
    spRequest.Credentials = credCache;
    spRequest.UserAgent ="Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0";
    spRequest.Method = "GET";
    spRequest.Accept = "application/json; odata=verbose";
    HttpWebResponse endpointResponse =(HttpWebResponse)spRequest.GetResponse();
    More information:
    REST Calls to SharePoint 2013 In a Console Application
    http://www.c-sharpcorner.com/UploadFile/d2ee01/rest-calls-to-sharepoint-2013-through-console-application/
    Sharepoint 2013 REST API: The C# Connection: Part 1 Using System.Net.Http.HttpClient
    https://dlr2008.wordpress.com/2013/10/31/sharepoint-2013-rest-api-the-c-connection-part-1-using-system-net-http-httpclient/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Rest Api Time (Time return by _api/web/lists/byname("name")/items(id=1)

    HI All,
    I have a query regarding Rest API.
    I am getting time of item created and modified using _api/web/lists/byname("name")/items(id=1).
    It is returning always UTC time zone.
    Is there any relavent article saying that this is default for all sharepoint (Because I have observed the same in all of my virtual meachines sharepoint servers).
    Is there any java script to convert to Site regional settings(In day light savings also).
    Mainly I need any article related to waht API return time will be ?
    Thanks
    Koti

    Hi Koti,
    SharePoint stores all date field in UTC. That is, if you are saving a date time field in a list, SharePoint actually converts the time that you selected into UTC, and converts it back to whatever time zone the person is in when retrieving.
    When using any API SharePoint will always return the UTC time and leave it up to you to make the conversion in your interface or application.
    You could read the time from database and convert the time to your local time.
    You could refer to the JavaScript code example below to convert the time zone.
    self.toUtc = function (inputDate) {      
      var localTime = inputDate.getTime();       
     var localOffset=inputDate.getTimezoneOffset() * 60000;       
     var utc = localTime + localOffset;      
      var retval = new Date(utc);       
     debugger;       
     return retval;
    The article below is about time zone Issues when working with dates in SharePoint’s REST services.
    https://yetanothersharepointblog.wordpress.com/2013/07/14/timezone-issues-when-working-with-dates-in-sharepoints-rest-services/
    The article is about SharePoint Time Zone confusion in SharePoint 2010, it also can work in SharePoint 2013.
    http://www.techgrowingpains.com/2012/05/sharepoint-time-zone-confusion-2/
    The article below is about JavaScript Date Reference.
    http://www.w3schools.com/jsref/jsref_obj_date.asp
    Best regards,
    Sara Fan
    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]

  • Visual Studio and C++ API for IFS

    Are there C++ API's for IFS? What other API's are available for programmers to interface with IFS - only JAVA?

    There are no C++ or C APIs to iFS, only a Java API.

  • Visual studio online - Excel power query usage and samples needed

    Background
    Visual Studio Online does not offer much in the way of reporting, when compared to (onsite) TFS... unless you utilize the REST API functionality.
    The Visual Studio Online REST API is fairly extensive, but not very 'reporting' friendly to applications like Microsoft Excel.
    Question
    Are there any good examples of Microsoft Excel Power Query usage - to acquire and create reports via the Visual Studio Online REST API?  I've searched - but surprisingly haven't found anything of substance.  It is fairly simple to call a VSO REST
    query using Excel Power Query, but not so simple to iterate through the lists within lists, etc... unless you are familiar with 'M language'.

    Hi,
    Thank you for reaching out to us. I am currently researching to gather more information with regards to your request. I shall revert back to you with an update at the earliest. Sincerely appreciate your patience.
    Regards,
    Nithin Rathnakar

  • Does the REST API offer team member capacity?

    I would like to get the capacity for all team members in a project for a sprint. The documentation does not say this is available but it may just not be documented. If its possible, which endpoint would expose this information?

    Hi lgoolsby,
    According to Visual Studio Online REST API reference on this
    page, there is no capacity for team members of a team project. You can submit a user voice
    here to request or confirm the reference.
    However, you can view team members' capacity on team web access directly. Thanks for your understanding.
    Best regards,
    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.

  • Content-Type is net being set in HTTP header. Server returns 400 Bad Request error.

    Hi,
    I am trying to access an XML WebService. This service requires the content type of the request to be set to "text/xml". As you can see in the source code, I am setting the req.ContentType property to "text/xml".
    However, this content type seems not to be added to the HTTP headers. The server returns a 400 Bad Request error as can be seen in the log.
    I've attached a System.Net.trace log and it states:
    [Public Key]
    Algorithm: RSA
    Length: 2048
    Key Blob: 30 82 01 0a 02 82 01 01 00 bc 09 30 8a 1e 03 4d 7a ea 16 d3 a8 5e d8 5b 00 c4 8a c5 9f 26 bd 7d d6 cb 8b d0 db bd 93 2d 2b 3b 84 f6 20 79 83 34 67 51 37 21 ea 56 5e 18 d8 a3 db 72 43 0e 14 77 e2 64 cb 07 b6 2a 81 c7 f5 16 dd 19 c7 d9 68 0b 3a 81 5c f0 05 c9 ed 2b 37 00 31 41 37 8b 3a 73 4a 4d ab d7 d8 87 79 35 82 01 97 e3 3c be bb 84 e5 94 bb 87 52 e3 9f b5 fb 3e 33 38 c3 eb 73 42 ee ba 1e c5 4a 33 18 a1 0d 8a d2 10 a8 c5 3....
    System.Net Information: 0 : [26780] SecureChannel#31884011 - Remote certificate was verified as valid by the user.
    System.Net Information: 0 : [26780] ConnectStream#26966483 - Sending headers
    API-VERSION: 1
    Host: test.myhost.com
    Content-Length: 329
    Expect: 100-continue
    Connection: Keep-Alive
    System.Net Information: 0 : [26780] Connection#3888474 - Received status line: Version=1.1, StatusCode=100, StatusDescription=Continue.
    System.Net Information: 0 : [26780] Connection#3888474 - Received headers
    System.Net Information: 0 : [26780] Connection#3888474 - Received status line: Version=1.1, StatusCode=400, StatusDescription=Bad Request.
    System.Net Information: 0 : [26780] Connection#3888474 - Received headers
    0: Content-type
    1: text/xml
    X-Debug-Token: a810dc
    X-Debug-Token-Link: /service/_profiler/a810dc
    Connection: keep-alive
    Content-Length: 3440
    Cache-Control: no-cache
    Content-Type: text/html; charset=UTF-8
    Date: Tue, 14 Apr 2015 11:07:11 GMT
    Server: Apache
    ...and here's the implementation of the web request:
    private void ButtonSend_Click(object sender, EventArgs e)
    WebHeaderCollection whCol = new WebHeaderCollection();
    whCol.Add("API-VERSION", "1");
    //whCol.Add("Content-Type", "text/xml; charset=UTF-8"); <-- That doesn't work in .NET. Content-Type has to be set on the ContentType-Property
    string msg = _textBoxReq.Text;
    HttpWebRequest req = (HttpWebRequest)WebRequest.Create(_textBoxURL.Text);
    byte[] data = Encoding.UTF8.GetBytes(msg);
    req.Method = "POST";
    req.ContentType = "text/xml; charset=UTF-8";
    req.ContentLength = data.Length;
    req.Headers = whCol;
    req.GetRequestStream().Write(data, 0, data.Length);
    string xml = "";
    try
    using (HttpWebResponse resp = (HttpWebResponse)req.GetResponse())
    using (System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream()))
    xml = sr.ReadToEnd().Trim();
    catch (WebException we)
    using (System.IO.StreamReader sr = new System.IO.StreamReader(we.Response.GetResponseStream()))
    xml = sr.ReadToEnd().Trim();
    _textBoxRes.Text = xml;
    Can anyone help?
    Thanks,
    MiRi

    Hi _MiRichter,
    Well Done!
    Thank you very much for sharing the solution to us.
    Best Regards,
    Amy Peng
    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.

  • How to deal with .csproj.user being created/modified by Visual Studio before the project is run?

    So, what is the problem?
    The problem is that Visual Studio considers .csproj.user a dependency of the project being run.
    Let us assume the following:
     - We have a freshly built solution containing a web application project `X` as the Start Up project. 
     - There are Silverlight applications served by the X web application.
     - There is no `X.csproj.user` file initially.
    Now consider the following flow of events:
     1. Open the solution in the Visual Studio
     2. Build.
     3. Run.
     4. A dialog is open to ask whether Silverlight debugging is to be enabled. Enable it.
     5. Stop the debugging session.
     6. Run again.
     7. Stop the debugging session.
     8. Run again.
    Assuming nothing is built at step 2 (because the solution is totally up to date), will there anything be built at steps 3 and 6?
    The answer is affirmative and here is why:
     - The X.csproj.user file is actually created by Visual Studio when the project is requested to run. What happens next is that the
    X.csproj.user file is considered a dependency of the project
    X by the Visual Studio. Being created just now the file is newer than the project binaries and so Visual Studio builds the project
    X. This explains why the project is built at step 3.
     - When we agree to enable Silverlight debugging Visual Studio records this agreement in the
    X.csproj.user file. So the file is modified again, after the project has started running. Restarting the debugging session is going to build the project
    X yet again, after all X.csproj.user is again newer than the binaries built a second ago. This explains why the project is built at step 6.
    Fortunately, nothing is built at step 8.
    Call me petty, but I want to avoid the builds at steps 3 and 6. The problem is that I am not allowed to check in the X.csproj.user file, because that is likely to create a mess with people accidentally checking in their private changes.
    On the other hand, I am unable to move its default content (along with the agreement to enable Silverlight debugging) into the project file
    X.csproj. Well, I can, but it is just being ignored.
    So, here is my question - is it possible to separate the content stored in a
    .csproj.user into two groups:
     - Permanent. These are the things I would love to have in the .csproj file. It will be checked in.
     - Temporary/Private. These are the things private to individual developers. Never checked in.
    Visual Studio already allows this separation for certain properties - see the
    Apply server settings to all users (store in project file) checkbox in the Web properties tab of a Web application project - http://olalalittlen.wordpress.com/2011/07/20/vs-tips-managing-server-settings-in-web-projects-for-multi-developer-scenarios/.
    However, it is insufficient.
    Any other ideas on how to prevent the aforementioned redundant builds are welcome too.

    Hi Mark,
    I think your issue is more about project itself. the saved information in the .csproj.user settings is about the project's information.
    So I suggest you post your issue to the related project forum.
    web forms:http://forums.asp.net/18.aspx/1?Web+Forms
    mvc:http://forums.asp.net/1146.aspx/1?MVC
    Regards.
    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.

  • Sending attachments/binary data from flex to Restful APIs

    Hi,
    We have a requirement of sending the files (or binary data) from flex GUI to Restful services(backend APIs). We are using flex HTTPService component to invoke the rest apis. The Rest APIs are designed to accept the multipart/mixed data which can support the binary data as well.
    Can any one help us understand, how can we send the multipart/mixed OR multipart/form-data  from flex to backend using the HTTPService. Or is there a better way to send the mixed data from Flex GU to Restful APIs.
    Request you to please respond to this at the earliest as this is very urgent.
    Thanks and Regards,
    --Revanth

    Has anyone worked on this issue?? i wanted a quick response as we are in the middle of the development and this is a r
    equirement
    Thanks
    -Revanth

  • REST API event-source-status pagesize

    Hi,
    I'm having an issue with the REST API method event-source-status
    I want to get the method to return a list of all the attached event
    sources. I have about 1400 attached to Sentinel but on calling the
    method only 400 entries are returned.
    On my test env (I have 4 event sources) I have tried to modify my script
    to call event-source-status?pagesize=1 with the intention to read 1
    object, then effectively going to the next. However the results via
    postman appear to show that with a pagesize of 1 that 4 items are
    returned with 1 next link, and on pressing next the same 4 items are
    returned.
    All I want to do is iterate through all event sources but dont seem to
    be able to get them all in 1 list or get them in the pagesize I
    require.
    Any help welcome.
    srobshaw
    srobshaw's Profile: https://forums.netiq.com/member.php?userid=2823
    View this thread: https://forums.netiq.com/showthread.php?t=51745

    Hi,
    If you would like to iterate through all the event sources in a
    paginated manner, use this URL:
    1. To get all the event sources attached:
    /SentinelRESTServices/objects/eventsource
    2. To get N-number(Say 5) event sources / per page:
    /SentinelRESTServices/objects/eventsource?page=1&pagesize=5 (This comes
    with next url which would look like, <next
    xlink:href="https://164.99.175.172:8443/SentinelRESTServices/objects/eventsource?page=2&pagesize=5"/>).
    In above example, the 'page' attribute is for the page number you are
    querying for.
    and the 'pagesize' is the number of elements you would like to retrieve
    in the page you mentioned by 'page' attribute.
    You should be able to crawl through event sources with the next and prev
    url.
    I have tested it with Sentinel 7.2 and found working as expected.
    In your query above, you have mentioned about
    /SentinelRESTServices/objects/event-source-status url.
    To get all the event sources' status just call
    /SentinelRESTServices/objects/event-source-status (without any page
    attribute).
    Let us know if both the REST EP(/objects/eventsource and
    /objects/event-source-status) works for you as expected.
    In your query
    atapas
    atapas's Profile: https://forums.netiq.com/member.php?userid=8144
    View this thread: https://forums.netiq.com/showthread.php?t=51745

  • Setting Workflow status not working in imported workflow from SPD to Visual Studio

    Hi all,
    I have created SPD workflow and imported in visual studio. When I deploy imported Workflow using visual studio feature I found that Setting Workflow Status action is not working. Do I need to change Set Workflow status activity in Visual studio to make it
    work.
    Rohit Pasrija

    Hi,
    According to your post, my understanding is that Setting Workflow status did not work in imported workflow from SharePoint Designer to Visual Studio.
    I try to reproduce the issue and the result is the same as yours.
    After I import the workflow, choose the .xoml file, the view is as below:
    To troubleshooting the issue, I add a new item to the project and select “Sequential Workflow” in the template.
    After I click the Tool, I find that there don’t have the “SetCustomWorkflowStatus1” activity.
    To set the status of the state, we need to use the “Set State” Activity in the “SharePoint Workflow” toolbar.
    That is the reason why the “SetCustomWorkflowStatus1” activity does no work.
    More information:
    Apply Custom Values to Visual Studio Workflow Statuses
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Edit a local copy of Project in Visual Studio Without Setting "Edit" flag in TFS

    My local drive is mapped to TFS; every time I open up a project in Visual Studio and open up a file; the status of "Pending Changes" in TFS is updated to "Edit".  How do I avoid that to happen?

    Hi Shayaan,
    Since your local drive is mapped to TFS, seems it's as expected when edit a file of the project. Generally, when you edit the project on local machine, the project is check out automatically.
    If you still have concerns, you can also  check the workspace type you're using. Change it to a local workspace if you're using a server workspace. Or you can elaborate more details about your scenario, including TFS version and reproduce steps etc.
    Best regards,
    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. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Program work before, without change but now web service get 400 bad request

    i wrote a program to get data by java, using axis library, but recently, the program cannot access the data.
    And it return a 400 bad request.
    i tried to cap the header and context send out,result as below,
    Content-Type=text/xml; charset=UTF-8
    SOAPAction="document/urn:crmondemand/ws/user/10/2004:UserQueryPage"
    User-Agent=Axis2
    Host=(server address)
    Transfer-Encoding=chunked
    context
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <ns2:UserWS_UserQueryPage_Input xmlns:ns2="urn:crmondemand/ws/user/10/2004">
    <ns2:UseChildAnd>false</ns2:UseChildAnd>
    <ns2:PageSize>100</ns2:PageSize>
    <ListOfUser xmlns="urn:/crmondemand/xml/user">
    <User>
    <UserId />
    <Alias />
    <EMailAddr />
    <FirstName />
    <LastName />
    </User>
    </ListOfUser>
    <ns2:StartRowNum>0</ns2:StartRowNum>
    </ns2:UserWS_UserQueryPage_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    other http request information cap:
    getAuthType= null
    getCharacterEncoding= UTF-8
    getContentLength= -1
    getContentType= text/xml; charset=UTF-8
    getCookies= null
    getLocale= zh_HK
    getMethod= POST
    getPathInfo= null
    getProtocol= HTTP/1.1
    getQueryString= null
    getRemoteUser= null
    getRequestURI= /Integration
    getRequestURL= http://(server address and port)/Integration (https for real case, but to cap using http)
    getServletPath= /Integration
    getUserPrincipal= null
    i cannot find out the reason to make the program not work, as i have not change any code and library
    Edited by: user6642894 on 2009/3/23 上午 1:24
    Edited by: paddy_yeung on 2009/3/23 下午 8:33

    Check the security mode, it should be “TransportCredentialOnly” and the clientCredentialType “NTLM” as shown in the blog post
    http://blogs.msdn.com/b/kaevans/archive/2009/03/10/calling-sharepoint-lists-web-service-using-wcf.aspx
    The other option is to add the service as
    Web Reference and not as Service Reference.
    In your ‘Add Service Reference’ window, click on ‘Advanced’ and choose ‘Add Web Reference’ – I prefer this for ASMX web services which makes it much easier.

Maybe you are looking for

  • Print multiple pages on one page in Preview?

    I tried to print a PDF in OSX Lion and I was unable to find the option to print multiple pages on one Page. Instead there is an option to print multiple copies of pages on one page. Does anybody know where I can find the old option from (as in Snow L

  • Where to store originals

    I've just started to browse the forum looking for an answer to the question "Where do I keep all my hundreds and hundreds of photos stored in preparation for working on them in Photoshop Elements 7 .    So far, it looks like none of the programs (Lig

  • GR report in Foreign currency

    Hi guy As above qns, I used MB51 to get my GR receipt (Movt Type: 101) and managed to get Local Currency. But somehow there isn't any foreign currency  Is there any report to show the foreign currency and Local currency on GR? Any ideas?

  • Deferred tax is missing

    Hello when I want to post an invoice I have the following message "deferred tax is missing" What did I miss in the set-up? The invoice is also with a down payment made before

  • Network preferences: symbol and text swapped

    Hello, On our new MacBook Pro with Mavericks the Wi-Fi symbol and Ethernet symbol are swapped with the text. After the word Wi-Fi the icon Ethernet is displayed and after the word Ethernet the icon Wi-Fi is displayed. How can this be put in correct o