cancel
Showing results for 
Search instead for 
Did you mean: 

dataSourceId is not an Int

Former Member
0 Kudos

Hi guys,

I am using the Rest API to query documents datasource details. In one exceptional case I got this response:

"dataprovider": {

  "id": "DP0",

  "name": "Name of the data provider",

  "dataSourceId": "213123;SomeStringHere",

  "dataSourceType": "bex",

  "updated": "2015-04-16T10:14:06.000+02:00",

  "duration": 2,

  "isPartial": false,

  "rowCount": 763,

  "flowCount": 1,

  more...

}

Why is the dataSourceId not an Int? In every other case it's an int. The documentation does not specify if it should be an int or not, but all the examples use an int.

Where can I find a formal specification of the Restful API response/result objects?

It is a real pain to guess the possible types of specific properties.

Accepted Solutions (1)

Accepted Solutions (1)

former_member197386
Active Contributor
0 Kudos

Hello,

In this case, the datasource is probably a BEX query, or maybe an Analysis View.

We're improving continiously the documentation.

Best regards,

Anthony

Former Member
0 Kudos

Well, specifying property types would certainly be appreciated.

Thx for the fast answer though.

Regards,

Domonkos

Answers (0)