Creates a new employee group for the business.

Request

POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/employeegroup

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

The request body takes a complete AuEmployeeGroupModel resource, containing the following writable properties:

{
    "filterCombinationStrategy": "string",
    "filters": [
        {
            "filterType": "string",
            "operator": "string",
            "value": "string"
        }
    ],
    "id": "int32",
    "name": "string"
}

Properties

Name Type Description
filterCombinationStrategy string FilterCombinationStrategyEnum

Possible values are:

  • Or
  • And
filters[] array
filters[].filterType string AuFilterTypeEnum

Possible values are:

  • Location
  • LocationOrParents
  • Employee
  • PaySchedule
  • EmploymentType
  • EmployingEntity
  • Tag
filters[].operator string FilterOperatorEnum

Possible values are:

  • In
  • NotIn
filters[].value string String
id int32 Int32
name string String

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK

AuEmployeeGroupModel