POST api/Report/AdvReports/Employee
generates a report about the given employee or its group
Request Information
URI Parameters
None.
Body Parameters
AdvReportModelName | Description | Type | Additional information |
---|---|---|---|
advReportId | integer |
None. |
|
startDate | date |
None. |
|
endDate | date |
None. |
|
phaseID | PhaseID |
None. |
|
codeID | CodeID |
None. |
|
allGroups |
true use all groups |
boolean |
None. |
group |
Name of the group |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "advReportId": 1, "startDate": "2024-12-22T07:44:06.4445974+01:00", "endDate": "2024-12-22T07:44:06.4445974+01:00", "phaseID": { "Value": 1 }, "codeID": { "id": 0 }, "allGroups": true, "group": "sample string 5" }
application/xml, text/xml
Sample:
<AdvReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RostarCASWebAPI.Models"> <advReportId>1</advReportId> <allGroups>true</allGroups> <codeID xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paralax.Cas.Segments"> <d2p1:id>0</d2p1:id> </codeID> <endDate>2024-12-22T07:44:06.4445974+01:00</endDate> <group>sample string 5</group> <phaseID xmlns:d2p1="http://schemas.datacontract.org/2004/07/Paralax.Cas.Schedules"> <d2p1:Value>1</d2p1:Value> </phaseID> <startDate>2024-12-22T07:44:06.4445974+01:00</startDate> </AdvReportModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
returns the report as a stream about this employee or its group
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>