EmployeeWhereAboutsRequest*
GET {{base_url}}/EmployeeWhereAboutsRequest?EmployeeId={{integer}}
Retrieves a list of all whereabout profiles for a given identifier of an employee.
** See* Request Names under the Conventions section of the Using the API Reference topic.
API
Whereabout API
Requires Authentication
Yes
Returns
List [EmployeeWhereaboutVisualization]
Batch?
No
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
EmployeeId | string | Required. | |
(int32) | |||
The identifier of the employee. | |||
For information about the Employee object, see Employee. | |||
Id | string | Optional. | |
(int32) | |||
The identifier of the employee whereabout profile. | |||
From | string | Optional. | |
(date-time) | |||
The date and time stamp from which the employee whereabout profile is active. | |||
To | string | Optional. | |
(date-time) | |||
The date and time stamp until which the employee whereabout profile is active. |
RESPONSES
status: OK
[{"IsTrackedAgainstTime":true,"HoursLogged":146.75,"Id":532,"EmployeeId":35879,"From":"2018-10-25T01:15:00.000Z","To":"2018-10-31T04:00:00.000Z","WhereType":2,"AllDay":false},{"IsTrackedAgainstTime":true,"HoursLogged":1,"Id":534,"EmployeeId":35879,"From":"2018-10-25T05:15:00.000Z","To":"2018-10-25T06:15:00.000Z","WhereType":1,"AllDay":false},{"IsTrackedAgainstTime":true,"HoursLogged":24.5,"Id":536,"EmployeeId":35879,"From":"2018-10-25T17:00:00.000Z","To":"2018-10-26T17:30:00.000Z","WhereType":1,"Comment":"\u003cimg src=x onerror=alert(1)\u003e","AllDay":false},{"IsTrackedAgainstTime":true,"HoursLogged":0.516666666666667,"Id":694,"EmployeeId":35879,"From":"2020-10-20T07:29:00.000Z","To":"2020-10-20T08:00:00.000Z","WhereType":4,"Comment":"test","AllDay":false},{"IsTrackedAgainstTime":true,"HoursLogged":0.1,"Id":695,"EmployeeId":35879,"From":"2020-10-22T07:39:00.000Z","To":"2020-10-22T07:45:00.000Z","WhereType":1,"AllDay":false},{"IsTrackedAgainstTime":true,"HoursLogged":0.85,"Id":696,"EmployeeId":35879,"From":"2020-10-22T09:24:00.000Z","To":"2020-10-22T10:15:00.000Z","WhereType":1,"AllDay":false},{"IsTrackedAgainstTime":false,"HoursLogged":48,"Id":1278,"EmployeeId":35879,"From":"2022-03-01T00:00:00.000Z","To":"2022-03-02T00:00:00.000Z","WhereType":622,"AllDay":true,"LastUpdateDate":"2022-04-01T13:00:28.787Z","LastUpdateResourceId":35879},{"IsTrackedAgainstTime":false,"HoursLogged":0.0666666666666667,"Id":1280,"EmployeeId":35879,"From":"2022-03-04T13:00:00.000Z","To":"2022-03-04T13:04:00.000Z","WhereType":622,"AllDay":false,"LastUpdateDate":"2022-04-01T13:02:28.747Z","LastUpdateResourceId":35879},{"IsTrackedAgainstTime":false,"HoursLogged":72,"Id":1283,"EmployeeId":35879,"From":"2022-03-10T00:00:00.000Z","To":"2022-03-12T00:00:00.000Z","WhereType":622,"AllDay":true,"LastUpdateDate":"2022-04-01T13:16:16.680Z","LastUpdateResourceId":35879},{"IsTrackedAgainstTime":false,"HoursLogged":0.0666666666666667,"Id":1281,"EmployeeId":35879,"From":"2022-03-10T13:00:00.000Z","To":"2022-03-10T13:04:00.000Z","WhereType":622,"AllDay":false,"LastUpdateDate":"2022-04-01T13:03:19.790Z","LastUpdateResourceId":35879},{"IsTrackedAgainstTime":false,"HoursLogged":24,"Id":1284,"EmployeeId":35879,"From":"2022-03-14T16:00:00.000Z","To":"2022-03-15T15:59:00.000Z","WhereType":622,"AllDay":true,"LastUpdateDate":"2022-04-01T13:16:56.013Z","LastUpdateResourceId":35879},{"IsTrackedAgainstTime":false,"HoursLogged":0.0666666666666667,"Id":1279,"EmployeeId":35879,"From":"2022-03-29T13:00:00.000Z","To":"2022-03-29T13:04:00.000Z","WhereType":622,"AllDay":false,"LastUpdateDate":"2022-04-01T13:01:50.260Z","LastUpdateResourceId":35879},{"IsTrackedAgainstTime":false,"HoursLogged":72,"Id":1277,"EmployeeId":35879,"From":"2022-03-30T00:00:00.000Z","To":"2022-04-01T00:00:00.000Z","WhereType":622,"AllDay":true,"LastUpdateDate":"2022-04-01T12:58:55.470Z","LastUpdateResourceId":35879},{"IsTrackedAgainstTime":true,"HoursLogged":24,"Id":1300,"EmployeeId":35879,"From":"2022-04-02T00:00:00.000Z","To":"2022-04-02T00:00:00.000Z","WhereType":651,"AllDay":true,"LastUpdateDate":"2022-04-05T05:56:11.667Z","LastUpdateResourceId":35879},{"IsTrackedAgainstTime":false,"HoursLogged":24,"Id":1282,"EmployeeId":35879,"From":"2022-04-11T16:00:00.000Z","To":"2022-04-12T15:59:00.000Z","WhereType":622,"AllDay":true,"LastUpdateDate":"2022-04-01T13:15:38.447Z","LastUpdateResourceId":35879}]