GET api/Report/Json/{Id}?BypassCache={BypassCache}
This command gets any report's data from Advocate by providing its ID. Credentials need to be provided in the request header as a "pwd" and "usr" headers.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The Advocate ID of the report, e.g. 857e4c823cd4c3e7687f88c3b03ae273 |
string |
Required |
| BypassCache |
If true, the memory cache is not used. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
A json object with the report's data
Collection of Dictionary of string [key] and string [value]Response Formats
application/json, text/json
Sample:
[
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<ArrayOfKeyValueOfstringstring>
<KeyValueOfstringstring>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</KeyValueOfstringstring>
<KeyValueOfstringstring>
<Key>sample string 3</Key>
<Value>sample string 4</Value>
</KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>
<ArrayOfKeyValueOfstringstring>
<KeyValueOfstringstring>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</KeyValueOfstringstring>
<KeyValueOfstringstring>
<Key>sample string 3</Key>
<Value>sample string 4</Value>
</KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>
</ArrayOfArrayOfKeyValueOfstringstring>