GET api/Dashboard/GetStockAdjustmentChart?Days={Days}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Days | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
StockAdjustmentChartResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of StockAdjustmentChartDataModel |
None. |
|
| ReturnID | integer |
Required |
|
| Message | string |
Required |
|
| Successful | boolean |
Required |
|
| Code | integer |
None. |
|
| TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{
"data": [
{
"bucketLabel": "sample string 1",
"sortOrder": 2,
"adjCountPositive": 3,
"dollarsPositive": 4.0,
"adjCountNegative": 5,
"dollarsNegative": 6.0
},
{
"bucketLabel": "sample string 1",
"sortOrder": 2,
"adjCountPositive": 3,
"dollarsPositive": 4.0,
"adjCountNegative": 5,
"dollarsNegative": 6.0
}
],
"returnID": 1,
"message": "sample string 2",
"successful": true,
"code": 4,
"totalRecord": 5
}
application/xml, text/xml
Sample:
<StockAdjustmentChartResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Dashboard">
<Code xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">4</Code>
<Message xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">sample string 2</Message>
<ReturnID xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">1</ReturnID>
<Successful xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">true</Successful>
<TotalRecord xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">5</TotalRecord>
<Data>
<StockAdjustmentChartDataModel>
<AdjCountNegative>5</AdjCountNegative>
<AdjCountPositive>3</AdjCountPositive>
<BucketLabel>sample string 1</BucketLabel>
<DollarsNegative>6</DollarsNegative>
<DollarsPositive>4</DollarsPositive>
<SortOrder>2</SortOrder>
</StockAdjustmentChartDataModel>
<StockAdjustmentChartDataModel>
<AdjCountNegative>5</AdjCountNegative>
<AdjCountPositive>3</AdjCountPositive>
<BucketLabel>sample string 1</BucketLabel>
<DollarsNegative>6</DollarsNegative>
<DollarsPositive>4</DollarsPositive>
<SortOrder>2</SortOrder>
</StockAdjustmentChartDataModel>
</Data>
</StockAdjustmentChartResponseModel>
multipart/form-data
Sample:
<StockAdjustmentChartResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.DataModel.Dashboard"><Code xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">4</Code><Message xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">sample string 2</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">1</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">5</TotalRecord><Data><StockAdjustmentChartDataModel><AdjCountNegative>5</AdjCountNegative><AdjCountPositive>3</AdjCountPositive><BucketLabel>sample string 1</BucketLabel><DollarsNegative>6</DollarsNegative><DollarsPositive>4</DollarsPositive><SortOrder>2</SortOrder></StockAdjustmentChartDataModel><StockAdjustmentChartDataModel><AdjCountNegative>5</AdjCountNegative><AdjCountPositive>3</AdjCountPositive><BucketLabel>sample string 1</BucketLabel><DollarsNegative>6</DollarsNegative><DollarsPositive>4</DollarsPositive><SortOrder>2</SortOrder></StockAdjustmentChartDataModel></Data></StockAdjustmentChartResponseModel>