Get Report with Filtering
Describes the API specifications for retrieving report data using one or more filters.
-
Separate multiple filter values by the pipe (|) symbol. For example: filter1_name=filter1_value1|filter1_value2
-
For a date/time filter, the first value is the start date/time and the second value is the end date/time. If no second date/time filter is provided, the value defaults to the current date/time.
-
Separate multiple filters using an additional forward slash (/) followed by the filter name and value. For example: filter1_name=filter1_value1/filter2_name=filter2_value1
Request
URL: /api/vc/report/{report_id}/{filter1_name}=[filter1_value1]|[filter1_value2]/{filter2_name}={filter2_value1}|{filter2_value2}..
HTTP Method: GET
Request Parameters
|
Parameter |
Required |
Data Type |
Description |
Parameter Type |
|---|---|---|---|---|
|
report_id |
Yes |
String |
Unique ID of the report. |
Path |
|
filter_name |
Yes, at least one filter name must be included. |
String |
The name of the filter. |
Query string |
|
filter_value |
Yes, at least one filter value must be included. |
String |
The value of the filter. |
Query string |
Request Example
GET https://company.com/api/vc/report/z14011711012989849412906/Edited On=2020-05-01 00:00:00.0|2020-05-30 00:00:00.0 authorization: Bearer WDXlKj3TTOn3rpg9GHnZpbKmvj1=
Response
Response Status and Error Codes
See Common Status and Error Codes for more information.
Response Body
The output is dependent upon the report and filter requested.
Response Example
"Time Sheet ID","Job Posting ID","Time Sheet Submit Date","Time Sheet Approved Date","Time Sheet Status","Invoice ID","Main Document ID","Site","Non-taxable","General Ledger Account Code","Invoice Type","Worker","Business Unit","Task Name","Task Code","Supplier","Can Invoice?","Cost Center","Currency","Holiday?","Main Document Type","General Ledger Account","Main Document Owner","Main Document ID","Site","Non-taxable","General Ledger Account Code","Invoice Type","Worker","Business Unit","Time Sheet Status","Task Name","Task Code","Supplier","Can Invoice?","Cost Center","Currency","Invoice ID","Holiday?","Main Document Type","General Ledger Account","Main Document Owner" "ANTETS00022612","ANTEJP00003075","05/23/2020 10:15 PM",,"Pending Approval (Level 1)",,"ANTEJP00003075","Add",,"GLA1","Not yet Invoiced","SRD_PostDeploy [a-zA-Z][a-zA-Z][0-9][0-9][0-9], SRD_PostDeploy","Anthem","Outsourced Services","S001","Ayah","Yes","Prue.Creator","USD","No","Job Posting","GLA1","Anthem1","ANTEJP00003075","Add",,"GLA1","Not yet Invoiced","SRD_PostDeploy [a-zA-Z][a-zA-Z][0-9][0-9][0-9], SRD_PostDeploy","Anthem","Pending Approval (Level 1)","Outsourced Services","S001","Ayah","Yes","Prue.Creator","USD",,"No","Job Posting","GLA1","Anthem1" "ANTETS00022597","ANTEJP00000782","05/16/2020 08:19 AM",,"Pending Approval (Level 1)",,"ANTEJP00000782","Prue.Creator BU",,"GL Account - Dan","Not yet Invoiced","A, Ayah-3.15.10","Prue.Creator BU 1 (default)","TskCode 1","TskCode 1","Ayah","Yes","Prue.Creator","USD","No","Job Posting","General Ledger Account - Dan","A, Prue.Admin","ANTEJP00000782","Prue.Creator BU",,"GL Account - Dan","Not yet Invoiced","A, Ayah-3.15.10","Prue.Creator BU 1 (default)","Pending Approval (Level 1)","TskCode 1","TskCode 1","Ayah","Yes","Prue.Creator","USD",,"No","Job Posting","General Ledger Account - Dan","A, Prue.Admin" "ANTETS00022595","ANTEJP00003075","05/21/2020 12:12 AM",,"Rejected",,"ANTEJP00003075","Add",,"GLA1","Not yet Invoiced","SRD_PostDeploy [a-zA-Z][a-zA-Z][0-9][0-9][0-9], SRD_PostDeploy","Anthem","Outsourced Services","S001","Ayah","Yes","Prue.Creator","USD","No","Job Posting","GLA1","Anthem1","ANTEJP00003075","Add",,"GLA1","Not yet Invoiced","SRD_PostDeploy [a-zA-Z][a-zA-Z][0-9][0-9][0-9], SRD_PostDeploy","Anthem","Rejected","Outsourced Services","S001","Ayah","Yes","Prue.Creator","USD",,"No","Job Posting","GLA1","Anthem1"