AddEmployeeWhereabout

PUT {{base_url}}/AddEmployeeWhereabouts?EmployeeId={{integer}}&From={{string}}&To={{string}}&Type={{integer}}

Creates a new employee whereabout profile.

* See Request Names under the Conventions section of the Using the API Reference topic.

API
Whereabout API

Requires Authentication
Yes

Returns
EmployeeWhereabout

Batch?
No

Request Params

KeyDatatypeRequiredDescription
EmployeeIdstringRequired.
(int32)
The identifier of the employee.
For information about the Employee object, see Employee.
FromstringRequired.
The date and time stamp from which the employee whereabout profile is active.
TostringRequired.
The date and time stamp until which the employee whereabout profile is active.
AllDaystringOptional.
The flag that indicates whether or not it is applicable to an entire day.
NOTE: By default, this is automatically set to false if not specified.
TypestringRequired.
(int32)
The identifier of the associated whereabout type.
For information about the WhereAbout* object, see WhereAbout*.
CommentstringOptional.
The associated comment.
TzOffsetstringOptional.
(int32)
The timezone offset in minutes.

HEADERS

KeyDatatypeRequiredDescription
AcceptstringRequired.
The type of content accepted by the API endpoint.
Content-TypestringRequired.
The type of content supported by the API endpoint.

RESPONSES

status: OK

[{"Id":1000,"EmployeeId":11230,"TzOffset":0,"WhereType":168,"Comment":"String","AllDay":false,"LastUpdateDate":"2022-04-01T18:10:00.000Z","LastUpdateResourceId":11230}]