Get document activity report
AuthorizationBearer <token>
In: header
Query Parameters
dateFrom?string
Format
"date"dateTo?string
Format
"date"projectId?string
Format
"uuid"outputFormat?string
Default
"json"Value in
"json" | "csv"Response Body
curl -X GET "http://localhost:3000/api/reports/documents/activity?dateFrom=2019-08-24&dateTo=2019-08-24&projectId=497f6eca-6276-4993-bfeb-53cbbbba6f08&outputFormat=json"fetch("http://localhost:3000/api/reports/documents/activity?dateFrom=2019-08-24&dateTo=2019-08-24&projectId=497f6eca-6276-4993-bfeb-53cbbbba6f08&outputFormat=json")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "http://localhost:3000/api/reports/documents/activity?dateFrom=2019-08-24&dateTo=2019-08-24&projectId=497f6eca-6276-4993-bfeb-53cbbbba6f08&outputFormat=json"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "http://localhost:3000/api/reports/documents/activity?dateFrom=2019-08-24&dateTo=2019-08-24&projectId=497f6eca-6276-4993-bfeb-53cbbbba6f08&outputFormat=json"
response = requests.request("GET", url)
print(response.text){
"reportName": "string",
"generatedAt": "2019-08-24T14:15:22Z",
"summary": {
"totalDocuments": 0,
"uploadedToday": 0,
"pendingApproval": 0,
"approved": 0
},
"data": [
{}
]
}