GET api/GreenDashboard?DataType={DataType}&ChType={ChType}&days={days}&MemberCode={MemberCode}
Dashboard data
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DataType | string |
Required |
|
ChType | integer |
Default value is 1 |
|
days | integer |
Default value is 90 |
|
MemberCode | integer |
Default value is 1005 |
Body Parameters
None.
Response Information
Resource Description
Dashoboad data based on Type
Collection of DashBoardDataName | Description | Type | Additional information |
---|---|---|---|
field1 | string |
None. |
|
field2 | string |
None. |
|
field3 | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "field1": "sample string 1", "field2": "sample string 2", "field3": "sample string 3" }, { "field1": "sample string 1", "field2": "sample string 2", "field3": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfDashBoardData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiShippers.Common.RESTfulGreenable"> <DashBoardData> <field1>sample string 1</field1> <field2>sample string 2</field2> <field3>sample string 3</field3> </DashBoardData> <DashBoardData> <field1>sample string 1</field1> <field2>sample string 2</field2> <field3>sample string 3</field3> </DashBoardData> </ArrayOfDashBoardData>