GET api/Data/{name}?user={user}
Generic method for returning data sets with paging using Range header
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name |
Data set name |
string |
Required |
user |
Optional user handle - if empty logged in user will be used |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Requested data set on success
Collection of errors on failure
Return codes
200 - ok
400 - bad request
401 - unauthorized
404 - not found
500 - internal server error
Response Formats
application/json, text/json
Sample:
[ [ { "sample string 1": {}, "sample string 3": {} }, { "sample string 1": {}, "sample string 3": {} } ], [ { "sample string 1": {}, "sample string 3": {} }, { "sample string 1": {}, "sample string 3": {} } ] ]
application/xml, text/xml
Sample:
<ArrayOfArrayOfArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <ArrayOfArrayOfKeyValueOfstringanyType> <ArrayOfKeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 1</Key> <Value /> </KeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 3</Key> <Value /> </KeyValueOfstringanyType> </ArrayOfKeyValueOfstringanyType> <ArrayOfKeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 1</Key> <Value /> </KeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 3</Key> <Value /> </KeyValueOfstringanyType> </ArrayOfKeyValueOfstringanyType> </ArrayOfArrayOfKeyValueOfstringanyType> <ArrayOfArrayOfKeyValueOfstringanyType> <ArrayOfKeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 1</Key> <Value /> </KeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 3</Key> <Value /> </KeyValueOfstringanyType> </ArrayOfKeyValueOfstringanyType> <ArrayOfKeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 1</Key> <Value /> </KeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 3</Key> <Value /> </KeyValueOfstringanyType> </ArrayOfKeyValueOfstringanyType> </ArrayOfArrayOfKeyValueOfstringanyType> </ArrayOfArrayOfArrayOfKeyValueOfstringanyType>