Create one or more employee for this location.
Body·
required
Cancellation token to cancel the operation.
- Properties: 9Type:employees
Responses
- application/json
Request Example for post/v1/employees
curl https://apiint.api.parpos.com/settings/v1/employees \
--request POST \
--header 'Content-Type: application/json' \
--header 'parpos-access-token: YOUR_SECRET_TOKEN' \
--header 'parpos-location-token: YOUR_SECRET_TOKEN' \
--data '{
"Employees": [
{
"Address1": "123 Main St",
"Address2": "Apt 4B",
"AlternateId": "ALT123",
"BirthDate": "1980-01-01T00:00:00",
"CanLoginWithCard": true,
"CanLoginWithFinger": false,
"CanLoginWithPin": true,
"CardNumber": "1234567890",
"CellPhone": "555-1234",
"City": "Anytown",
"ClockedInDiscountId": 1,
"ClockedOutDiscountId": 2,
"DisplayName": "John Doe",
"EmployeeUniqueId": "157846d3-2e7f-4ff8-94bc-ad0cc8b974be",
"EmailAddress": "john.doe@example.com",
"ExportToPayroll": true,
"FirstName": "John",
"HealthCardExpirationDate": "2025-01-01T00:00:00",
"HireDate": "2020-01-01T00:00:00",
"HomeLocationId": "9a33e9d3-2fb5-4862-8c97-49e71c103623",
"HomePhone": "555-5678",
"IdentificationVerified": true,
"IsExempt": false,
"IsSalaried": true,
"Jobs": [],
"LastName": "Doe",
"LimitLocations": false,
"MaritalStatus": 1,
"MaximumDailyDiscountAmount": 100,
"MaximumDailyDiscountCount": 5,
"Notes": "Sample note",
"PayrollId": "JD123",
"Permissions": [],
"Pin": "1234",
"SecondaryAuthPin": "5678",
"State": "NY",
"TaxWithholdingAllowance": 2,
"Terminated": false,
"ValidLocations": [
{
"LocationId": "eea992ce-7fb1-4599-a8cd-40f1b950b40c",
"Id": 1
}
],
"Zip": "12345",
"Id": -1
}
]
}'
Success
{
"Data": [
{
"Id": -1,
"OriginalId": 99
}
]
}