POST api/v1/UserVisualReport/PostDataWithFilter
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
ReportFilterModelName | Description | Type | Additional information |
---|---|---|---|
UserOrClassIds | Collection of integer |
None. |
|
TraingingTypeIds | Collection of integer |
None. |
|
Date | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserOrClassIds": [ 1, 2 ], "TraingingTypeIds": [ 1, 2 ], "Date": "sample string 1" }
text/html
Sample:
{"UserOrClassIds":[1,2],"TraingingTypeIds":[1,2],"Date":"sample string 1"}
text/xml
Sample:
<ReportFilterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <Date>sample string 1</Date> <TraingingTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </TraingingTypeIds> <UserOrClassIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </UserOrClassIds> </ReportFilterModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VRInfoWithFiltersModelName | Description | Type | Additional information |
---|---|---|---|
Completed | integer |
None. |
|
InProgress | integer |
None. |
|
NotStartedYet | integer |
None. |
|
CompletedLineData | Collection of PLRModel |
None. |
|
InProgressLineData | Collection of PLRModel |
None. |
|
NotYetCompletedLineData | Collection of PLRModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Completed": 1, "InProgress": 2, "NotStartedYet": 3, "CompletedLineData": [ { "Id": 1, "LoginId": "sample string 2", "FirstName": "sample string 3", "Value": 4, "Date": "sample string 5" }, { "Id": 1, "LoginId": "sample string 2", "FirstName": "sample string 3", "Value": 4, "Date": "sample string 5" } ], "InProgressLineData": [ { "Id": 1, "LoginId": "sample string 2", "FirstName": "sample string 3", "Value": 4, "Date": "sample string 5" }, { "Id": 1, "LoginId": "sample string 2", "FirstName": "sample string 3", "Value": 4, "Date": "sample string 5" } ], "NotYetCompletedLineData": [ { "Id": 1, "LoginId": "sample string 2", "FirstName": "sample string 3", "Value": 4, "Date": "sample string 5" }, { "Id": 1, "LoginId": "sample string 2", "FirstName": "sample string 3", "Value": 4, "Date": "sample string 5" } ] }
text/html
Sample:
{"Completed":1,"InProgress":2,"NotStartedYet":3,"CompletedLineData":[{"Id":1,"LoginId":"sample string 2","FirstName":"sample string 3","Value":4,"Date":"sample string 5"},{"Id":1,"LoginId":"sample string 2","FirstName":"sample string 3","Value":4,"Date":"sample string 5"}],"InProgressLineData":[{"Id":1,"LoginId":"sample string 2","FirstName":"sample string 3","Value":4,"Date":"sample string 5"},{"Id":1,"LoginId":"sample string 2","FirstName":"sample string 3","Value":4,"Date":"sample string 5"}],"NotYetCompletedLineData":[{"Id":1,"LoginId":"sample string 2","FirstName":"sample string 3","Value":4,"Date":"sample string 5"},{"Id":1,"LoginId":"sample string 2","FirstName":"sample string 3","Value":4,"Date":"sample string 5"}]}
text/xml
Sample:
<VRInfoWithFiltersModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <Completed>1</Completed> <CompletedLineData> <PLRModel> <Date>sample string 5</Date> <FirstName>sample string 3</FirstName> <Id>1</Id> <LoginId>sample string 2</LoginId> <Value>4</Value> </PLRModel> <PLRModel> <Date>sample string 5</Date> <FirstName>sample string 3</FirstName> <Id>1</Id> <LoginId>sample string 2</LoginId> <Value>4</Value> </PLRModel> </CompletedLineData> <InProgress>2</InProgress> <InProgressLineData> <PLRModel> <Date>sample string 5</Date> <FirstName>sample string 3</FirstName> <Id>1</Id> <LoginId>sample string 2</LoginId> <Value>4</Value> </PLRModel> <PLRModel> <Date>sample string 5</Date> <FirstName>sample string 3</FirstName> <Id>1</Id> <LoginId>sample string 2</LoginId> <Value>4</Value> </PLRModel> </InProgressLineData> <NotStartedYet>3</NotStartedYet> <NotYetCompletedLineData> <PLRModel> <Date>sample string 5</Date> <FirstName>sample string 3</FirstName> <Id>1</Id> <LoginId>sample string 2</LoginId> <Value>4</Value> </PLRModel> <PLRModel> <Date>sample string 5</Date> <FirstName>sample string 3</FirstName> <Id>1</Id> <LoginId>sample string 2</LoginId> <Value>4</Value> </PLRModel> </NotYetCompletedLineData> </VRInfoWithFiltersModel>