POST api/employee/create
Create Employee. Required fields: EmployeeCode, LocationId, Email, Password. EmployeeId is not using
Request Information
Allows access to child location using parent company token, in this case use location id parameter
URI Parameters
None.
Body Parameters
Employee info
EmployeeInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Password | string |
None. |
|
| EmployeeId | integer |
None. |
|
| EmployeeCode | string |
None. |
|
| string |
None. |
||
| CellPhone | string |
None. |
|
| WorkPhone | string |
None. |
|
| DateOfBirth | date |
None. |
|
| PositionId | integer |
None. |
|
| Address | string |
None. |
|
| Address2 | string |
None. |
|
| City | string |
None. |
|
| ZipCode | string |
None. |
|
| CountryId | integer |
None. |
|
| StateProvinceId | integer |
None. |
|
| Balance | decimal number |
None. |
|
| RewardAmount | decimal number |
None. |
|
| AccessPermissionId | integer |
None. |
|
| IsServiceProvider | boolean |
None. |
|
| CanClockIn | boolean |
None. |
|
| IsBillingContact | boolean |
None. |
|
| LocationId | integer |
None. |
|
| AssignedLocations | Collection of integer |
None. |
|
| BookingGroups | Collection of integer |
None. |
|
| ByEmail |
creator |
string |
None. |
| PayRate | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Password": "sample string 3",
"EmployeeId": 1,
"EmployeeCode": "sample string 4",
"Email": "sample string 5",
"CellPhone": "sample string 6",
"WorkPhone": "sample string 7",
"DateOfBirth": "2025-11-25T05:31:49.9051791-05:00",
"PositionId": 1,
"Address": "sample string 8",
"Address2": "sample string 9",
"City": "sample string 10",
"ZipCode": "sample string 11",
"CountryId": 1,
"StateProvinceId": 1,
"Balance": 1.0,
"RewardAmount": 1.0,
"AccessPermissionId": 1,
"IsServiceProvider": true,
"CanClockIn": true,
"IsBillingContact": true,
"LocationId": 12,
"AssignedLocations": [
1,
2
],
"BookingGroups": [
1,
2
],
"ByEmail": "sample string 13",
"PayRate": 1.0
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |