POSThttps://api.geodynamics.dev/intellitracer/v2/reporting/visitsperpoi?page={page}&search={search}Api: Visits per POI
Visits per POI
Returns a list of visits a resource has made to a specific point of interest (POI).
Pagination and searching is explained in Pagination.
Path parameters
| Name | Type | Required | Example |
|---|---|---|---|
page | number | required | 1 |
search | string | required | ABC |
Request body
object
| Field | Type | Required |
|---|---|---|
ResourceIds(default = []) | array | required |
PoiIds(default = []) | array | required |
FromDate(default = null) | string | required |
ToDate(default = null) | string | required |
FromTime(default = null) | string | optional |
ToTime(default = null) | string | optional |
MinDuration | number | required |
ShowDriver(default = false) | boolean | optional |
Responses
200OK
[
{
"Data": [
{
"Poi": {
"Id": "00000000-0000-0000-0000-000000000000",
"Name": "Work",
"Code": "012345"
},
"Vehicle": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
},
"User": {
"Id": "00000000-0000-0000-0000-000000000000",
"Code": "012345",
"Name": "John Doe",
"Type": 0
},
"FromDate": "2019-01-25T00:00:00",
"ToDate": "2019-01-25T00:00:00",
"Duration": "06:43:13",
"Address": "Dumolinlaan 9, 8500 Kortrijk, BE",
"Deviation": 0.08,
"ContactOn": "00:00:17",
"ContactOff": "06:42:56",
"AnalogInputs": [
{
"IoName": {
"Id": "00000000-0000-0000-0000-000000000000",
"Name": "Io Name"
},
"StartValue": "",
"StopValue": ""
}
],
"NonAnalogInputs": [
{
"Id": "00000000-0000-0000-0000-000000000000",
"Name": "Front door",
"DurationOn": "00:00:00",
"DurationOff": "06:43:13"
}
]
}
],
"PagingFilter": {
"Page": 1,
"Search": "ABC",
"PageCount": 4,
"TotalCount": 100,
"Links": {
"Base": "https://api.geodynamics.dev",
"First": "/intellitracer/v2/asset?page=1",
"Prev": "/intellitracer/v2/asset?page=2",
"Next": "/intellitracer/v2/asset?page=4",
"Last": "/intellitracer/v2/asset?page=4"
}
}
}
]400Bad Request
401Unauthorized
403Forbidden
417ExpectationFailed