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
| Key | Datatype | Required | Description |
|---|---|---|---|
EmployeeId | string | Required. | |
| (int32) | |||
| The identifier of the employee. | |||
| For information about the Employee object, see Employee. | |||
From | string | Required. | |
| The date and time stamp from which the employee whereabout profile is active. | |||
To | string | Required. | |
| The date and time stamp until which the employee whereabout profile is active. | |||
AllDay | string | Optional. | |
| 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. | |||
Type | string | Required. | |
| (int32) | |||
| The identifier of the associated whereabout type. | |||
| For information about the WhereAbout* object, see WhereAbout*. | |||
Comment | string | Optional. | |
| The associated comment. | |||
TzOffset | string | Optional. | |
| (int32) | |||
| The timezone offset in minutes. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string | Required. | |
| The type of content accepted by the API endpoint. | |||
Content-Type | string | Required. | |
| 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}]