Creates a new employee group for the business.
POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employeegroup
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
The request body takes a complete NzEmployeeGroupModel resource, containing the following writable properties:
{
"filterCombinationStrategy": "string",
"filters": [
{
"filterType": "string",
"operator": "string",
"value": "string"
}
],
"id": "int32",
"name": "string"
}
Name | Type | Description |
---|---|---|
filterCombinationStrategy | string |
FilterCombinationStrategyEnum
Possible values are:
|
filters[] | array | |
filters[].filterType | string |
NzFilterTypeEnum
Possible values are:
|
filters[].operator | string |
FilterOperatorEnum
Possible values are:
|
filters[].value | string | String |
id | int32 | Int32 |
name | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
NzEmployeeGroupModel |
Powered by DapperDox