Time series insight API returning Could not cast or convert from System.String to Microsoft.Rdx.Client.Events.Property RRS feed

  • Question

  • Hi we have just started using time series insight .While using the following API using post method

    with the response body

    { "getEvents":


              "timeSeriesId": ["UniqueId"],

              "searchSpan": { "from": "2019-02-17T00:00:00Z", "to": "2019-02-18T00:16:50Z" },

         "projectedProperties": ["DesiredProp"] 



    it returns the following error (400 Bad request )

        "error": {
            "code": "InvalidInput",
            "message": "Error converting value \"DesiredProp\" to type                    'Microsoft.Rdx.Client.Events.Property'. Path 'getEvents.projectedProperties[0]', line 9, position       45.\r\n---> Could not cast or convert from System.String to Microsoft.Rdx.Client.Events.Property.\r\n"

    on removing the projectedProperties property from response body API works fine,but it will return all the properties . We want to get the specified property or properties from the API

    any help will me much appreciated and thanks in advance .

    • Edited by VishnuLogiticks Tuesday, February 19, 2019 9:23 AM edit spelling mistake
    Tuesday, February 19, 2019 9:21 AM

All replies

  • Are you still seeing this issue? 
    Thursday, February 21, 2019 12:59 AM
  • yes we are still facing this issue 
    Thursday, February 21, 2019 5:41 AM
  • As long as the properties name match it should work. When you get the full list of properties can you confirm that what you are sending matches a property there? Have tried it using Postman? If not have you inspected what is going out with Fiddler or similar tool?

    Friday, February 22, 2019 2:57 PM
  • yes we are using Post man . We have created a console application for sending the API request but the result is returning the same 
    Monday, February 25, 2019 6:04 AM