BellaDati Technical Documentation : GET Reports

/api/reports

Lists all reports available to the user.

Resource Information

Resource URL

https://service.belladati.com/api/reports

HTTP Method

GET

Parameters

Parameters

Detail

filter
(optional)

If set, the result only contains reports that contain the filter text in name, description or owner name.
Example: Sales

offset
(optional)

Specifies the page offset if pagination is necessary.
Example: 2

size
(optional)

Specifies the number of entries on each page if pagination is necessary.
Example: 15

Sample Request / Response

Using curl:

curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/reports?filter=john

The JSON format response:

{
  "reports" : [
    {
      "id" : 7497,
      "description" : "This is a sample report.",
      "name" : "My Report",
      "owner" : "John Smith",
      "lastChange" : "Mon, 16 Apr 2012 10:17:26 GMT"
    }
  ],
  "offset" : 0,
  "size" : 100
}